visualize_image
- visualize_image(
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[][],
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>,
callback?: GPUdbCallback,
): Promise<VisualizeImageResponse>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. - 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: GPUdbCallbackOptional callback function
Returns Promise<VisualizeImageResponse>
Promise<Types.VisualizeImageResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:15067
- table_names: string[]
visualize_image_request
- visualize_image_request(
request: VisualizeImageRequest,
callback?: GPUdbCallback,
): Promise<VisualizeImageResponse>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
- request: VisualizeImageRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<VisualizeImageResponse>
Promise<Types.VisualizeImageResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:15010
- request: VisualizeImageRequest
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).