pub async fn visualize_image_classbreak( &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>>, cb_attr: String, cb_vals: Vec<String>, cb_pointcolor_attr: String, cb_pointcolor_vals: Vec<String>, cb_pointalpha_attr: String, cb_pointalpha_vals: Vec<String>, cb_pointsize_attr: String, cb_pointsize_vals: Vec<String>, cb_pointshape_attr: String, cb_pointshape_vals: 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>>, cb_transparency_vec: Vec<i32>, ) -> Result<VisualizeImageClassbreakResponse, KineticaError>
Generate ‘class break’ rasterized image tiles
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).
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 thetable_namescontains 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 thetable_namesto be rendered.cb_attr- Name of the column for the generic class break.cb_vals- A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).cb_pointcolor_attr- Name of the column for the point color class break.cb_pointcolor_vals- A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).cb_pointalpha_attr- Name of the column for the point alpha class break.cb_pointalpha_vals- A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).cb_pointsize_attr- Name of the column for the point size class break.cb_pointsize_vals- A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).cb_pointshape_attr- Name of the column for the point shape class break.cb_pointshape_vals- A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).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.cb_transparency_vec- Used for internal purpose. Indicating the color of each class is semi-transparent or not (0: opaque or completely transparent, 1: semi-transparent).
pub async fn visualize_image_classbreak_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>>, cb_attr: String, cb_vals: Vec<String>, cb_pointcolor_attr: String, cb_pointcolor_vals: Vec<String>, cb_pointalpha_attr: String, cb_pointalpha_vals: Vec<String>, cb_pointsize_attr: String, cb_pointsize_vals: Vec<String>, cb_pointshape_attr: String, cb_pointshape_vals: 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>>, cb_transparency_vec: Vec<i32>, options: VisualizeImageClassbreakRequestOptions, ) -> Result<VisualizeImageClassbreakResponse, KineticaError>
Generate ‘class break’ rasterized image tiles
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).
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 thetable_namescontains 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 thetable_namesto be rendered.cb_attr- Name of the column for the generic class break.cb_vals- A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).cb_pointcolor_attr- Name of the column for the point color class break.cb_pointcolor_vals- A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).cb_pointalpha_attr- Name of the column for the point alpha class break.cb_pointalpha_vals- A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).cb_pointsize_attr- Name of the column for the point size class break.cb_pointsize_vals- A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).cb_pointshape_attr- Name of the column for the point shape class break.cb_pointshape_vals- A list of class break values or ranges (e.g. ‘0:5,5:10,15:30’).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.cb_transparency_vec- Used for internal purpose. Indicating the color of each class is semi-transparent or not (0: opaque or completely transparent, 1: semi-transparent).options- The optional parameters; any left unset take the server’s defaults.
pub async fn visualize_image_classbreak_raw( &self, request: &VisualizeImageClassbreakRequest, ) -> Result<VisualizeImageClassbreakResponse, KineticaError>
Sends a pre-built VisualizeImageClassbreakRequest to the /visualize/image/classbreak endpoint.
pub async fn visualize_image_classbreak_from_url( &self, url: &str, request: &VisualizeImageClassbreakRequest, ) -> Result<VisualizeImageClassbreakResponse, KineticaError>
Sends a pre-built VisualizeImageClassbreakRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.