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

Marco Lechner - FOSSGIS e.V. marco.lechner at fossgis.de
Mon Oct 1 04:36:13 PDT 2012


may be u need at least gdal 1.9.0 to use file:///

Read this release notes: http://trac.osgeo.org/gdal/wiki/Release/1.9.0-News
at "WMS driver:"

Marco

Am 01.10.2012 13:20, schrieb leena S:
> okey this is really confusing i dont know if am in the right track i
> just need a direction where to start with;
> all what am trying to do is loading my own offline tiles into qgis to
> be able to zoom in and out pan ..etc instead of implementing
> everything from scratch;
>
> so this is all what i have been doing:
> 1) i converted my geotiff to tiles through gdal2tiles and i got my
> tiles which is a set of files, and as i mentioned in my last email
> this is how my folder looks like:
>
> = 5 (zoom level 5)
> ==> 20 (x)
> ===> 18.png (y)
> .
> .
> .
> = 13 (zoom level 13)
> ==> 5253 (x)
> ===> 4618.png (y)
>
> now i wanna know if i can load my tiles without using tilecache or
> mapserver coz as i said i dont need to view my map as a web based
> application;
>
> can u tell me how did you manage to make it work with the following
> 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>
>
> what configuration did u use to make it work ?
>
>
> On Mon, Sep 24, 2012 at 5:14 PM, leena S <qgis.dev0001 at gmail.com
> <mailto:qgis.dev0001 at gmail.com>> wrote:
>
>     ok now i am using Quantum gis 1.8.0 with gdal1.7.0
>
>     when i load my xml file with quantum gis using "add raster layer"
>     icon, i get nothin;
>
>     am still confused about gdal and wms server .. i dont know how
>     does it work exactly;
>
>
>     <ServerUrl>file:///mytiles/${z}/${x}/${y}.png</ServerUrl>
>
>     this is how myTiles folder looks like starting from zoom lvl 5 to 13:
>
>     = 5 (zoom level 5)
>     ==> 20 (x)
>     ===> 18.png (y)
>     .
>     .
>     .
>     = 13 (zoom level 13)
>     ==> 5253 (x)
>     ===> 4618.png (y)
>
>     am i missin any configuration for my tiles ? i dont really know if
>     wms is able to get the tiles this way;
>
>
>     On Sun, Sep 23, 2012 at 1:38 PM, Nathan Woodrow
>     <madmanwoo at gmail.com <mailto:madmanwoo at gmail.com>> wrote:
>
>         On Sun, Sep 23, 2012 at 7:26 PM, leena S
>         <qgis.dev0001 at gmail.com <mailto:qgis.dev0001 at gmail.com>> wrote:
>         > thanks for your reply, i updated my xml file but all what i
>         get is a black
>         > screen when i load my xml file as a raster layer in qgis;
>         > am usin qgis version 1.4.0 with gdal 1.7.0;
>         >
>         > my OS is ubuntu 11.04
>
>         For a start I would suggest updating to a newer version of
>         QGIS. 1.4
>         is very very old.
>
>         - Nathan
>
>
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
+++++++++++++++++++++++++++++++++
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
+++++++++++++++++++++++++++++++++

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121001/6c659a69/attachment.html>


More information about the Qgis-developer mailing list