[gdal-dev] Re: GDAL WMS - stripes offset error

Even Rouault even.rouault at mines-paris.org
Fri Dec 30 11:37:44 EST 2011


Le vendredi 30 décembre 2011 16:42:58, Maksim Sestic a écrit :
> Sorry to bother with this issue, but should I file this as a bug?

Actually, I didn't see the XML definition in your first email because my email 
reader only displayed the raw text part, and not the HTML part.

Anyway... The issue is that you have inverted the UpperLeftX and LowerRightX 
values.

The following works :

<GDAL_WMS>
    <Service name="WMS">
        <Version>1.3.0</Version>
        <ServerUrl>http://grb.agiv.be/geodiensten/raadpleegdiensten/GRB/wms</ServerUrl>
        <CRS>EPSG:31370</CRS>
        <ImageFormat>image/png</ImageFormat>
        <Layers>GRB_BASISKAART</Layers>
        <Styles></Styles>
    </Service>
    <DataWindow>
        <UpperLeftX>107388.577230432</UpperLeftX>
        <UpperLeftY>187704.462304809</UpperLeftY>
        <LowerRightX>107585.617187491</LowerRightX>
        <LowerRightY>187506.656493064</LowerRightY>
        <SizeX>2076</SizeX>
        <SizeY>2124</SizeY>
    </DataWindow>

    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <Projection>EPSG:31370</Projection>
</GDAL_WMS>

> 
> Regards,
> Maksim Sestic
> 
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/GDAL-WMS-stripes-offset-error-tp711
> 9089p7138360.html Sent from the GDAL - Dev mailing list archive at
> Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list