[Tilecache] how can i use my own map tiles with tilecache?

Ivan Mincik ivan.mincik at gmail.com
Tue Sep 25 07:37:09 PDT 2012


On Tue, 2012-09-25 at 17:03 +0400, leena S wrote:
> am trying to use my own map tiles with qgis, but seems like i need to
> configure the tilecache to be able to receive requests from wms;
>  
> i am using Quantum gis 1.8.0 with gdal 1.7.0
> 
> when i load my xml file with quantum gis using "add raster layer"
> icon, i get nothin, notice that am specifying the local directory of
> my map tiles;
> <ServerUrl>file:///home/mytiles/${z}/${x}/${y}.png</ServerUrl>
> 
> this is my xml file:
> 
> <GDAL_WMS>
>     <Service name="TMS">
>         <ServerUrl>file:///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>18</TileLevel>
>         <TileCountX>1</TileCountX>
>         <TileCountY>1</TileCountY>
>         <YOrigin>top</YOrigin>
>     </DataWindow>
> 
>     <Projection>EPSG:900913</Projection>
>     <BlockSizeX>256</BlockSizeX>
>     <BlockSizeY>256</BlockSizeY>
>     <BandsCount>3</BandsCount>
>     <Cache />
> </GDAL_WMS>
> 
> so am not really sure how can i set up the tilecache to get the
> requests from wms server in qgis;
> am new with gis technology so i appreciate any help or direction :)


You do not need to write any XML file. 
QGIS is able to connect TileCache layers directly (Tiled WMS) using WMS
provider. Just add new WMS service and if TC properly configured, You
will find Your tiles in 'Tilesets' tab after pressing 'Connect' button.



-- 
Ivan Mincik <ivan.mincik at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/tilecache/attachments/20120925/02858c64/attachment.pgp>


More information about the Tilecache mailing list