Updates to the OGC API - Maps Support#2308
Updates to the OGC API - Maps Support#2308doublebyte1 wants to merge 4 commits intogeopython:masterfrom
Conversation
…e WebMercator bbox - Support defaults for crs, bbox and bbox-crs
|
Should the bbox-crs not be used to convert the bbox into the requested crs? |
Whenever it exists, yes; but this is an optional parameter, so we should have a fallback if we want to support a minimal map query (e.g.: no crs, no bbox-crs, no bbox). |
|
Makes some sense to me. Is there a reason to derive the default CRS from bbox or should we align this with crs list and storage_crs as implemented for OAFeat? |
If we don' t have bbox-crs and bbox as parameters, we still need some defaults to provide a map to the user. The defaults are taken from what is defined on the spatial extents of the collections (bbox and bbox-crs), but I am open to more ideas (: Examples: If the spatial extents of the collection are not defined in the config, I also defined some defaults. But I am actually not sure, if that is even possible? In the case of our WMS providers, the storage_crs make less sense, because they are basically facades. |
Overview
This PR also addresses a current issue with the map preview on the collection page, which affects the demo server.
Additional information
Collection preview of the maps provider:
TODOS:
Dependency policy (RFC2)
Updates to public demo
Contributions and licensing
(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)