Skip to main content
Source

pub async fn visualize_image( &self, table_names: Vec<String>, world_table_names: Vec<String>, x_column_name: String, y_column_name: String, symbol_column_name: String, geometry_column_name: String, track_ids: Vec<Vec<String>>, min_x: f64, max_x: f64, min_y: f64, max_y: f64, width: i32, height: i32, projection: String, bg_color: i64, style_options: HashMap<String, Vec<String>>, ) -> Result<VisualizeImageResponse, KineticaError>

Generate rasterized image tiles from specified tables

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

  • table_names - Name of the table containing the data for the various layers to be rendered.
  • world_table_names - 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 - Name of the column containing the x coordinates.
  • y_column_name - Name of the column containing the y coordinates.
  • symbol_column_name - Name of the column containing the symbol code coordinates.
  • geometry_column_name - Name of the column containing geometry data.
  • track_ids - Tracks from the table_names to be rendered.
  • min_x - Lower bound for the x values.
  • max_x - Upper bound for the x values.
  • min_y - Lower bound for the y values.
  • max_y - Upper bound for the y values.
  • width - Width of the generated image.
  • height - Height of the generated image.
  • projection - Spatial Reference System (i.e. EPSG Code).
  • bg_color - Background color of the generated image.
  • style_options - Styling options for the image.
Source

pub async fn visualize_image_with_opts( &self, table_names: Vec<String>, world_table_names: Vec<String>, x_column_name: String, y_column_name: String, symbol_column_name: String, geometry_column_name: String, track_ids: Vec<Vec<String>>, min_x: f64, max_x: f64, min_y: f64, max_y: f64, width: i32, height: i32, projection: String, bg_color: i64, style_options: HashMap<String, Vec<String>>, options: VisualizeImageRequestOptions, ) -> Result<VisualizeImageResponse, KineticaError>

Generate rasterized image tiles from specified tables

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

  • table_names - Name of the table containing the data for the various layers to be rendered.
  • world_table_names - 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 - Name of the column containing the x coordinates.
  • y_column_name - Name of the column containing the y coordinates.
  • symbol_column_name - Name of the column containing the symbol code coordinates.
  • geometry_column_name - Name of the column containing geometry data.
  • track_ids - Tracks from the table_names to be rendered.
  • min_x - Lower bound for the x values.
  • max_x - Upper bound for the x values.
  • min_y - Lower bound for the y values.
  • max_y - Upper bound for the y values.
  • width - Width of the generated image.
  • height - Height of the generated image.
  • projection - Spatial Reference System (i.e. EPSG Code).
  • bg_color - Background color of the generated image.
  • style_options - Styling options for the image.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built VisualizeImageRequest to the /visualize/image endpoint.

Sends a pre-built VisualizeImageRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.