Quantcast
Channel: Question and Answer » gdal
Viewing all articles
Browse latest Browse all 397

32Bit QGIS 2.10 Problems with Gdal WMS TMS google maps layer

$
0
0

I have been using gdal wms layers to view various basemaps in QGIS. I am using this technique rather than open layers because this I can reproject gdal WMS layers as needed.

When I get close to the max zoom on my google layer my images become discolored (sometimes all in blues, other times yellows). I have checked my layer settings to ensure that my color band settings are correct.

I only have this problem when using a google maps layer, I have not seen any problems with other gdal wms layers.

I have checked for this problem in both the 32bit and 64 bit versions of qgis on multiple windows 7 computers. I only observed this problem on the 32 bit version.

Also is there any way to make qgis log my tile requests?

The layer xml is below.

      <GDAL_WMS>
  <Service name="TMS">

    <ServerUrl>http://mt.google.com/vt/lyrs=y&amp;x=${x}&amp;y=${y}&amp;z=${z}</ServerUrl>
  </Service>
  <DataWindow>
      <UpperLeftX>-20037508.34</UpperLeftX>
    <UpperLeftY>20037508.34</UpperLeftY>
    <LowerRightX>20037508.34</LowerRightX>
    <LowerRightY>-20037508.34</LowerRightY>
    <TileLevel>19</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> 

<Depth>2</Depth>    
<Extension>.jpg</Extension>
</Cache>
</GDAL_WMS>

Viewing all articles
Browse latest Browse all 397

Trending Articles