[gdal-dev] How to convert a local GeoTIFF to a tile set with minimal WMTSCapabilities.xml?
sfkeller at gmail.com
Wed Jun 7 08:36:52 PDT 2017
Sorry for this question since I know GDAL. But it seems I'm missing
I'd like to do the following:
A. Given a local GeoTIFF, create WMTS compatible tile set (of single
zoom level 18 or a range)
% python gdal2tiles.py -z 18 infile.tif outdir
B. Then I'd like to test this locally
% gdalinfo WMTSCapabilities.xml
C. or - if needed - I copy WMTSCapabilities.xml to a web space (say
https://www.myweb.org/wmts/1.0.0/WMTSCapabilities.xml) with the
unpacked tile set - and test it there.
Step A works but produces no WMTSCapabilities.xml (stub), only
tilemapresource.xml which obviously is not same as
1. How can I generate such a WMTSCapabilities.xml?
2. What is the "minimal viable" XML, given I want/have to create
WMTSCapabilities.xml by hand?
More information about the gdal-dev