Search features by tiles

Description

Get information on features within a tile of a vector layer.

Endpoint

/path/{pathId}/vector/timestamp/{timestampId}/featuresByTiles

Method

GET

Access Level Rules

Access Level

view

Processing Units

Processing units

5

Parameters

NameDescriptionRequiredDefault

pathId

The id of the vector layer.

true

timestampId

The id of the timestamp to get features for.

true

tiles

Array of JSONS. Each must contain the property "tileId" which is a JSON with properties "tileX", "tileY" and "zoom" defining the tiles to retrieve the features from. Optionally the JSON can include a "pageStart" property to get the next batch of features starting from the nextPageStart from a previous get features by tiles request.

true

returnType

A string with the type of information to return. Must be one of "id", "count", "geometry", "center", "metadata" or "all".

false

Default "all".

pageSize

The maximum number of features to return. Maximum 3000.

false

Default 3000.

maxSize

The maximum size of data in MB to return. The size of the returned data is an estimation and may differ from the actual returned size. Maximum 8 MB.

false

Default 8 MB.

style

Either a style id or an object describing the desired style. You can find allowed style objects here.

true

Default null.

zipTheResponse

Boolean whether the result should be zipped.

false

Default false.

propertyFilter

Array of filters to use on the properties of the features.

Each entry must be a JSON with required properties "key" and "value" and optional property "operator", where "key" is the name of the property to filter on, "value" is the value of the property and "operator" is the operator to filter by and must be one of "=", "!=", "<", "<=", ">" or ">=" with default "=".

Properties used to filter must be designated beforehand as filter properties. At most two filters can be used at once, with at most one not '=' operator.

false

Default null.

applyStyle

Boolean indicating whether to style the features or leave the styling to the client.

false

Default true.

Last updated