[Qgis-user] Printing with OSM Tiles

Brent Wood pcreso at pcreso.com
Wed Nov 5 11:18:14 PST 2014



Using the virtual GDAL layer to access OSM layers, as below, I don't think QGIS is applying it's proxy server settings, & GDAL doesn't have any. Can anyone explain how I can set this up to use a proxy server as a QGIS map layer?
<GDAL_WMS>
    <Service name="TMS">
        <ServerUrl>http://tile.openstreetmap.org/${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:3857</Projection>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <BandsCount>3</BandsCount>
    <Cache />


</GDAL_WMS>
    

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20141105/51b260cd/attachment.html>


More information about the Qgis-user mailing list