[gdal-dev] gdal2tiles custom tms configuration not found

Even Rouault even.rouault at spatialys.com
Fri Jan 19 04:08:00 PST 2024


Andreas,

the reason is that the resolution of some consecutive levels in your 
custom TMS files is not varying by a factor of 2, which gdal2tiles 
doesn't support at the moment (debug message just added in master to 
help diagnose)

Even

Le 19/01/2024 à 11:36, Andreas Neumann via gdal-dev a écrit :
>
> Hi,
>
> I would like to use gdal2tiles with a custom tms profile file. I 
> prepared the json file attached in this mail and put this json file in 
> the /usr/share/gdal folder, there there are already other such files, 
> e.g. from New Zealand or Antartica.
>
> However, when I try to use this custon tms config, gdal2tiles tells me 
> it can't find this profile. Here is my command I used:
>
> gdal2tiles.py -p 2056_28 -z 16 -w openlayers -t "Swiss Hillshading 
> Grayscale" -r cubic -s EPSG:2056 -a 0.0 -e -n 
> lv_16_switzerland_hillshading_small-scale_swissalti3d-srtm_100m_jpeg.tif 
> tiles
>
> Do I need to register the custom TMS config json file somewhere in 
> addition to copying it to the /usr/share/gdal directory?
>
> Thank you for your help!
>
> Andreas
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.



More information about the gdal-dev mailing list