Query features by spatial predicate, bounding box, or H3 cell
$ plaza elements query-post
POST/api/v1/features
Query features by spatial predicate, bounding box, or H3 cell
Parameters
--bbox: optional string
Legacy shorthand. Bounding box: south,west,north,east. Use spatial predicates (near, within, intersects) instead.
--format: optional string
Response format. json (default) returns paginated GeoJSON. geojson/csv/ndjson stream via chunked transfer encoding.
Query features by spatial predicate, bounding box, or H3 cell
plaza elements query-post \
--api-key 'My API Key'{
"features": [
{
"geometry": {
"coordinates": [
2.3522,
48.8566
],
"type": "Point"
},
"properties": {
"@id": "bar",
"@type": "bar",
"amenity": "bar",
"cuisine": "bar",
"name": "bar"
},
"type": "Feature",
"id": "node/21154906"
}
],
"type": "FeatureCollection"
}Returns Examples
{
"features": [
{
"geometry": {
"coordinates": [
2.3522,
48.8566
],
"type": "Point"
},
"properties": {
"@id": "bar",
"@type": "bar",
"amenity": "bar",
"cuisine": "bar",
"name": "bar"
},
"type": "Feature",
"id": "node/21154906"
}
],
"type": "FeatureCollection"
}