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

Reply via email to