Skip to main content
  • For internal use only. Generates rasterized image tiles for an area of interest using the given tables and the provided parameters.

    All color values must be in the format RRGGBB or AARRGGBB (to specify the alpha value).

    Parameters

    • table_names: string[]

      Name of the table containing the data for the various layers to be rendered.

    • world_table_names: string[]

      Optional name of the tables containing the data for the entire track when the table_names contains only part of the track data, but the entire track has to be rendered.

    • x_column_name: string

      Name of the column containing the x coordinates.

    • y_column_name: string

      Name of the column containing the y coordinates.

    • symbol_column_name: string

      Name of the column containing the symbol code coordinates.

    • geometry_column_name: string

      Name of the column containing geometry data.

    • track_ids: string[][]

      Tracks from the table_names to be rendered.

    • min_x: number

      Lower bound for the x values.

    • max_x: number

      Upper bound for the x values.

    • min_y: number

      Lower bound for the y values.

    • max_y: number

      Upper bound for the y values.

    • width: number

      Width of the generated image.

    • height: number

      Height of the generated image.

    • projection: string | undefined

      Spatial Reference System (i.e. EPSG Code).

    • bg_color: number

      Background color of the generated image.

    • style_options: Record<string, string[]>

      Styling options for the image.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<VisualizeImageResponse>

    Promise<Types.VisualizeImageResponse> - Promise resolving to the response