Geospatial attributes
For geospatial attributes of resources (e.g., location, boundaries), we use GeoJSON simple features, as defined in IETF RFC 7946.
According with the specification, we use the World Geodetic System 1984 (WGS 84), with SRID 4236 as the Spatial Reference Identifier.
In entities with geospatial attributes, it is possible to filter by an intersecting bidimensional bounding box specifying an array of 4 numbers (xmin, ymin, xmax, ymax) via the query parameter bbox
.
For example, to filter tree log locations that intersect the given bounding box.
/tree_log_locations?bbox=10.368,43.685,10.442,43.727
note
Clients should be prepared to transform coordinates to other geodetic datums and projected systems, if needed.