On 10 January 2013 13:59, Craig Leat <craig.l...@gmail.com> wrote:
> I tried pulling the new aerial imagery into qgis using the TMS driver,
> but the data is not scaling correctly.
>
> Here's the content of my xml file:
> <GDAL_WMS>
>     <Service name="TMS">
>         
> <ServerUrl>http://c.aerial.openstreetmap.org.za/ngi-aerial/${z}/${x}/${y}.jpg</ServerUrl>
>     </Service>
>     <DataWindow>
>         <UpperLeftX>16</UpperLeftX>
>         <UpperLeftY>-21</UpperLeftY>
>         <LowerRightX>33</LowerRightX>
>         <LowerRightY>-35</LowerRightY>
>         <TileLevel>19</TileLevel>
>     <TileCountX>1</TileCountX>
>     <TileCountY>1</TileCountY>
>         <YOrigin>top</YOrigin>
>     </DataWindow>
>     <Projection>EPSG:4326</Projection>
>     <BlockSizeX>256</BlockSizeX>
>     <BlockSizeY>256</BlockSizeY>
>     <BandsCount>3</BandsCount>
> </GDAL_WMS>
>
> The attached image shows the problem.

You are using EPSG:4326 projection instead of EPSG:3857
Use this file in QGIS as the raster layer:
http://aerial.openstreetmap.org.za/aerial-osm-org-za-tiles.xml (save
it locally first)

Regards
 Grant

_______________________________________________
Talk-ZA mailing list
Talk-ZA@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-za

Reply via email to