Skip to main content
Source

pub async fn filter_by_geometry( &self, table_name: String, view_name: String, column_name: String, input_wkt: String, operation: String, ) -> Result<FilterByGeometryResponse, KineticaError>

Filter a dataset for records in relation to a given WKT geometry’s boundary

Applies a geometry filter against a geospatial geometry column in a given table or view. The filtering geometry is provided by input_wkt.

  • table_name - Name of the table on which the filter by geometry will be performed, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table or view containing a geospatial geometry column.
  • view_name - If provided, then this will be the name of the view containing the results, in [schema_name.]view_name format, using standard name resolution rules and meeting table naming criteria. Must not be an already existing table or view.
  • column_name - Name of the column to be used in the filter. Must be a geospatial geometry column.
  • input_wkt - A geometry in WKT format that will be used to filter the objects in table_name.
  • operation - The geometric filtering operation to perform.
Source

pub async fn filter_by_geometry_with_opts( &self, table_name: String, view_name: String, column_name: String, input_wkt: String, operation: String, options: FilterByGeometryRequestOptions, ) -> Result<FilterByGeometryResponse, KineticaError>

Filter a dataset for records in relation to a given WKT geometry’s boundary

Applies a geometry filter against a geospatial geometry column in a given table or view. The filtering geometry is provided by input_wkt.

  • table_name - Name of the table on which the filter by geometry will be performed, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table or view containing a geospatial geometry column.
  • view_name - If provided, then this will be the name of the view containing the results, in [schema_name.]view_name format, using standard name resolution rules and meeting table naming criteria. Must not be an already existing table or view.
  • column_name - Name of the column to be used in the filter. Must be a geospatial geometry column.
  • input_wkt - A geometry in WKT format that will be used to filter the objects in table_name.
  • operation - The geometric filtering operation to perform.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built FilterByGeometryRequest to the /filter/bygeometry endpoint.

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