Le mercredi 05 novembre 2014 20:18:14, Brent Wood a écrit : > 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>
See http://www.gdal.org/cpl__http_8h.html#aee8368b7821300f4b81ef4da8a9c6a29 Basically define GDAL_HTTP_PROXY, GDAL_HTTP_PROXYUSERPWD (and potentially GDAL_PROXY_AUTH ) as environment variables. > -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
