[Qgis-developer] Raster providers

Borys Jurgiel lists at borysjurgiel.pl
Tue Mar 8 18:32:47 EST 2011


Finally! :-) It's impressing. I observe two issues only:

1. Histogram stretch doesn't work with OTFR enabled (both tools: the one in 
layer context menu and the one in toolbar). By the way, why there are the two 
tools for stretching? The one in toolbar works with grayscale rasters only, 
while the one in the layer context menu seems to work always.

2. GDAL TMS layers don't work. I get a warning messageBox:

Cannot ChunkAndWarpImage : Integer overflow : nSrcXSize=1048576, 
nSrcYSize=1048576

This is, for example, a TMS source that doesn't work any more:

<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>16</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>
                <Extension>.png</Extension>
        </Cache>
</GDAL_WMS>



More information about the Qgis-developer mailing list