opengeospatial / ogcapi-maps

OGC API - Map draft specification
https://ogcapi.ogc.org/maps
Other
53 stars 16 forks source link

Filtering extension #110

Open jerstlouis opened 1 year ago

jerstlouis commented 1 year ago

A filtering extension defining a filter= query parameter, similar to OGC API - Features - Part 3: Filtering, with the ability to express queries using e.g., CQL2 would be highly valuable and would enable retrieval a visual representation of a similar query at /items (for features) or /coverage (for coverages, where a filter= extension is also envisaged).

Examples:

http://maps.gnosis.earth/ogcapi/collections/NaturalEarth:cultural:ne_10m_admin_0_countries/map?width=500&bgcolor=FFFFFF&subset=Lat(-40:40),Lon(-20:55)&filter=continent=%27Africa%27

image

https://maps.gnosis.earth/ogcapi/collections/SRTM_ViewFinderPanorama/map?width=500&subset=Lat(35:50),Lon(-10:10)&crs=[EPSG:3395]&filter=Elevation%3E100&bgcolor=0x002040

image