Open doublebyte1 opened 1 year ago
Suggesting to default to the most detailed tile matrix rather than the least detailed one, since lowest 0 resolution will be quite horrible for any detailed dataset. Or perhaps the driver could be smarter and pick a default n of levels from most detailed resolution, and/or analyze both the extent and most detiled level of the data to compute a good default.
As discussed in this issue , the OGC API Tiles driver is not able to read vector tiles.
Expected behavior and actual behavior.
The expected behavior should be to request OGC API vector tiles, and receive back a dataset:
ogr2ogr -oo API=TILES test.geojson "OGCAPI:https://maps.gnosis.earth/ogcapi/collections/Daraa:AgricultureSrf"
Instead, the response is:
ogrinfo tells us that the dataset is available in multiple zoom levels:
Most likely, OGR does not know which zoom to pick and throws back an error, terminating the task.
This could be avoided by picking a zoom level by default (perhaps the lowest resolution). In addition, we could also support the option
TILEMATRIX=
, which allows to specify a specific zoom level and currently only works for raster datasets.Operating system
Ubuntu 22.04.2 LTS
GDAL version and provenance
GDAL 3.8.0dev-23d309f3f4, released 2023/05/02 (debug build)