[gdal-dev] unable to make a valid TMS xml file
Jean-Roc Morreale
jr.morreale at enoreth.net
Tue Oct 1 05:06:20 PDT 2013
Hi,
I'm trying to use the TMS minidriver, my xml file is based on the OSM's
example and the data is an output of gdal2tiles. I've not been able to
use it with gdal 1.10 :
# gdalinfo "D:\MyFolder\My_File.xml"
ERROR 4 : 'D:\MyFolder\My_File.xml' not recognized as a supported file
format.
gdalinfo failed - unable to open 'D:\MyFolder\My_File.xml'.
Here is the content of the file :
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>file://d:/MyFolder/tiles/${z}/${x}/${y}.png</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>156542.969</UpperLeftX>
<UpperLeftY>6653076.172</UpperLeftY>
<LowerRightX>469628.906</LowerRightX>
<LowerRightY>6457397.461</LowerRightY>
<TileLevel>17</TileLevel>
<TileCountX>1</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:3857</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>4</BandsCount>
<Cache />
</GDAL_WMS>
Could you please tell me where the error ?
Regards,
Jean-Roc
More information about the gdal-dev
mailing list