Hi Even,

Thank you - that explains it. I will probably switch to some other tools then - maybe MapProxy. I wanted to use this custom tms configuration from Swisstopo - to stay compatible with their web services.

Thank you for adding a better error output!

Andreas

On 2024-01-19 13:08, Even Rouault wrote:

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@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to