Skip to main content

Constants for the fields of the /filter/byseries request.

Option fields

options

Constants for options.

pub const COLLECTION_NAME: &str = “collection_name”;

[DEPRECATED–please specify the containing schema for the view as part of view_name and use /create/schema to create the schema if non-existent] Name of a schema for the newly created view. If the schema is non-existent, it will be automatically created.

pub const CREATE_TEMP_TABLE: &str = “create_temp_table”;

If true, a unique temporary table name will be generated in the sys_temp schema and used in place of view_name. This is always allowed even if the caller does not have permission to create tables. The generated name is returned in qualified_view_name.

pub const EUCLIDEAN: &str = “euclidean”;
pub const FALSE: &str = “false”;
pub const GREAT_CIRCLE: &str = “great_circle”;
pub const SPATIAL_DISTANCE_METRIC: &str = “spatial_distance_metric”;

A string representing the coordinate system to use for the spatial search criteria. Acceptable values are ‘euclidean’ and ‘great_circle’. Optional parameter; default is ‘euclidean’.

pub const SPATIAL_RADIUS: &str = “spatial_radius”;

A positive number passed as a string representing the radius of the search area centered around each track point’s geospatial coordinates. The value is interpreted in meters. Required parameter.

pub const TIME_RADIUS: &str = “time_radius”;

A positive number passed as a string representing the maximum allowable time difference between the timestamps of a filtered object and the given track’s points. The value is interpreted in seconds. Required parameter.

pub const TRUE: &str = “true”;