AndrewAnnex / planetcantile

tile matrix sets for other planets
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

Ensure specs are parsable by GDAL, Schemes compatible with cog/gpkg drivers #24

Open AndrewAnnex opened 4 weeks ago

AndrewAnnex commented 4 weeks ago

Earlier I had some issues with using the newer v3 tms specs as part of #23 with GDAL CLI tools.

We should research GDAL's support for TMS and ensure there are grids (perhaps with different naming conventions as per #19) that will be compatible with GDAL's requirements. GDAL also has a specification that custom TMS specs must use a naming convention prefixed by tms_ in the GDAL data directory, which probably can be solved with sym links should a user wish to install these specs that way, otherwise direct paths to the tiles should work.

relevant links:

  1. https://github.com/OSGeo/gdal/blob/c49a7740e6a481ca07580cb3215de5feaba8dbc7/doc/source/drivers/raster/gpkg.rst#tiling-schemes
  2. https://gdal.org/en/latest/drivers/raster/cog.html#drivers/raster/cog-co-TILING_SCHEME
  3. https://schemas.opengis.net/tms/1.0/json/examples/
  4. https://github.com/OSGeo/gdal/issues/6882