visualize_image_classbreak
- visualize_image_classbreak(
table_names: string[],
world_table_names: string[],
x_column_name: string,
y_column_name: string,
symbol_column_name: string,
geometry_column_name: string,
track_ids: string[][],
cb_attr: string,
cb_vals: string[],
cb_pointcolor_attr: string,
cb_pointcolor_vals: string[],
cb_pointalpha_attr: string,
cb_pointalpha_vals: string[],
cb_pointsize_attr: string,
cb_pointsize_vals: string[],
cb_pointshape_attr: string,
cb_pointshape_vals: string[],
min_x: number,
max_x: number,
min_y: number,
max_y: number,
width: number,
height: number,
projection: string | undefined,
bg_color: number,
style_options: Record<string, string[]>,
options: Record<string, string> | undefined,
cb_transparency_vec: number[],
callback?: GPUdbCallback,
): Promise<VisualizeImageClassbreakResponse>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_namescontains 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_namesto 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: GPUdbCallbackOptional callback function
Returns Promise<VisualizeImageClassbreakResponse>
Promise<Types.VisualizeImageClassbreakResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:15319
- table_names: string[]
visualize_image_classbreak_request
- visualize_image_classbreak_request(
request: VisualizeImageClassbreakRequest,
callback?: GPUdbCallback,
): Promise<VisualizeImageClassbreakResponse>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_datafield.Parameters
- request: VisualizeImageClassbreakRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<VisualizeImageClassbreakResponse>
Promise<Types.VisualizeImageClassbreakResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:15230
- request: VisualizeImageClassbreakRequest
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_datafield.