add ogc maps#236
Conversation
| **layer_params.as_dict(), | ||
| **dataset_params.as_dict(), | ||
| **assets_accessor_params.as_dict(), | ||
| ) |
There was a problem hiding this comment.
we should use
A Content-Attribution: header SHOULD be included in the response to a map request to indicate any attribution relevant to the data being returned, especially if this attribution varies based on the subset and scale of the request.
when returning the full image created with https://www.naturalearthdata.com/downloads/10m-raster-data/10m-natural-earth-2/
| add_statistics=True, | ||
| add_viewer=True, | ||
| add_part=True, | ||
| add_ogc_maps=True, |
There was a problem hiding this comment.
In theory we could add https://docs.ogc.org/is/20-058/20-058.html#conf_collection-map to the conformance link
|
Note: next major version of titiler will add support for OGC maps natively developmentseed/titiler#1283 |
| ) | ||
| search_info = cursor.fetchone() | ||
|
|
||
| shapes = [Polygon.from_bounds(-180, -90, 180, 90).model_dump(exclude_none=True)] |
There was a problem hiding this comment.
What if we were burning the first 100/1000 items returned by the /search ?
This PR adds a
/mapsendpoint which follow the OGC Maps API specThe main issue is that we need to enable
previewfor collection/search which will be super expensive/slow operation. In this PR I choose to usecollectionextent footprint to create thepreview