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

    A class break rendering is where data from one or more tables is rasterized with styling applied on a per-class basis. Class breaks based on one or more data columns are supported. Distinct values (for strings) or ranges (for numeric attributes) must be provided in the cb_column_name1/cb_vals1 and cb_column_name2/cb_vals2 parameters. The styling parameters must be specified for each class.

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

    The image is contained in the image_data field.

    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.

    • cb_attr: string

      Name of the column for the generic class break.

    • cb_vals: string[]

      A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).

    • cb_pointcolor_attr: string

      Name of the column for the point color class break.

    • cb_pointcolor_vals: string[]

      A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).

    • cb_pointalpha_attr: string

      Name of the column for the point alpha class break.

    • cb_pointalpha_vals: string[]

      A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).

    • cb_pointsize_attr: string

      Name of the column for the point size class break.

    • cb_pointsize_vals: string[]

      A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).

    • cb_pointshape_attr: string

      Name of the column for the point shape class break.

    • cb_pointshape_vals: string[]

      A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).

    • 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.

    • options: Record<string, string> | undefined

      Optional parameters.

    • cb_transparency_vec: number[]

      Used for internal purpose. Indicating the color of each class is semi-transparent or not (0: opaque or completely transparent, 1: semi-transparent).

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<VisualizeImageClassbreakResponse>

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

  • For internal use only. Generates ‘class break’ rasterized image tiles for an area of interest using the given tables and the provided parameters.

    A class break rendering is where data from one or more tables is rasterized with styling applied on a per-class basis. Class breaks based on one or more data columns are supported. Distinct values (for strings) or ranges (for numeric attributes) must be provided in the cb_column_name1/cb_vals1 and cb_column_name2/cb_vals2 parameters. The styling parameters must be specified for each class.

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

    The image is contained in the image_data field.

    Parameters

    Returns Promise<VisualizeImageClassbreakResponse>

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