[Qgis-developer] how can i use my own map tiles in qgis?

leena S qgis.dev0001 at gmail.com
Thu Sep 20 04:51:35 PDT 2012


i understand that i can load tiles from any web server using gdal WMS;
and i used http://www.gdal.org/frmt_wms.html to create my xml file;

but instead of using google map or openstreet map tiles i wanna use my own
tiles to create the raster layer;

i have tried to change the server url to localhost since i have all of my
tiles locally

<GDAL_WMS>
    <Service name="TMS">
        <ServerUrl>http://localhost/home/myTiles/${z}/${x}/${y}.png
</ServerUrl>
    </Service>
    <DataWindow>
        <UpperLeftX>-20037508.34</UpperLeftX>
        <UpperLeftY>20037508.34</UpperLeftY>
        <LowerRightX>20037508.34</LowerRightX>
        <LowerRightY>-20037508.34</LowerRightY>
        <TileLevel>13</TileLevel>
        <TileCountX>1</TileCountX>
        <TileCountY>1</TileCountY>
        <YOrigin>top</YOrigin>
    </DataWindow>
    <Projection>EPSG:4326</Projection>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <BandsCount>3</BandsCount>
    <Cache />
</GDAL_WMS>

however when i load this xml file to quantum gis all what i get is a black
screen;
i am not really sure but is that the right way of doing it if i wanna use
my own map tiles ?
i appreciate any help or direction;

thanks in advance;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120920/2ae14f5a/attachment-0001.html>


More information about the Qgis-developer mailing list