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

Marco Lechner - FOSSGIS e.V. marco.lechner at fossgis.de
Fri Sep 21 02:07:05 PDT 2012


Hi Leena,

try this - works fo rme but depends on QGIS/GDAL-version you use

Marco

<GDAL_WMS>
    <Service name="TMS">
        <ServerUrl>file:///mytiles/${z}/${x}/${y}.png</ServerUrl> <!-- 
M$ Windows => file://C:/mytiles/${z}/${x}/${y}.png -->
    </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>



Am Do 20 Sep 2012 15:19:32 CEST schrieb Ivan Mincik:
> On 09/20/2012 01:51 PM, leena S wrote:
>> 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 am not sure if I understand You correctly.
> If You want to load multiple georeferenced images from Your local
> directory as one layer, You can use 'gdalbuildvrt' to create virtual
> raster and load it to QGIS.
>



--
+++++++++++++++++++++++++++++++++
FOSSGIS e.V.

die unabhängige Hilfe bei freier GIS-Software und freien Geodaten
http://www.fossgis.de
+++++++++++++++++++++++++++++++++
OSGeo Park auf der INTERGEO 2012

Besuchen Sie uns
vom 09.-11.10.2012 in Halle 7
+++++++++++++++++++++++++++++++++




More information about the Qgis-developer mailing list