Skip to main content
Source

pub async fn get_vectortile( &self, table_names: Vec<String>, column_names: Vec<String>, layers: HashMap<String, Vec<String>>, tile_x: i32, tile_y: i32, zoom: i32, ) -> Result<GetVectortileResponse, KineticaError>

Generate vector tiles from specified tables

For internal use only. Generates the vector tiles requested using the given tables and parameters.

  • table_names - Names of the tables containing the data for generating vector tiles.
  • column_names - Names of the columns containing geometric feature data.
  • layers - A map of tables to colums from which vector tile layers are being generated.
  • tile_x - Horizontal tile index.
  • tile_y - Vertical tile index.
  • zoom - Zoom level of the tile requested.
Source

pub async fn get_vectortile_with_opts( &self, table_names: Vec<String>, column_names: Vec<String>, layers: HashMap<String, Vec<String>>, tile_x: i32, tile_y: i32, zoom: i32, options: GetVectortileRequestOptions, ) -> Result<GetVectortileResponse, KineticaError>

Generate vector tiles from specified tables

For internal use only. Generates the vector tiles requested using the given tables and parameters.

  • table_names - Names of the tables containing the data for generating vector tiles.
  • column_names - Names of the columns containing geometric feature data.
  • layers - A map of tables to colums from which vector tile layers are being generated.
  • tile_x - Horizontal tile index.
  • tile_y - Vertical tile index.
  • zoom - Zoom level of the tile requested.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built GetVectortileRequest to the /get/vectortile endpoint.

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