[gdal-dev] Getting GETBlockRef error

Raghav Singh raghav.singh at eagleview.com
Sun Jun 16 23:42:15 PDT 2024


Hi everyone,

I am running into an issue with a wms imagery when I am running that in my local with latest mapserver-8.0.1 and gdal version with this temp configurations -
<GDAL_WMS>
    <Service name="TMS">
        <ServerUrl>http://{serverURL}/tile?tileRow=${y}&tileColumn=${x}&zoomLevel=${z}&minZoom=7&maxZoom=22</ServerUrl>
    </Service>
    <DataWindow>
        <UpperLeftX>-20037508.34</UpperLeftX>
        <UpperLeftY>20037508.34</UpperLeftY>
        <LowerRightX>20037508.34</LowerRightX>
        <LowerRightY>-20037508.34</LowerRightY>
        <TileLevel>21</TileLevel>
        <TileCountX>1</TileCountX>
        <TileCountY>1</TileCountY>
        <YOrigin>bottom</YOrigin>
    </DataWindow>
    <Projection>EPSG:3857</Projection>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <BandsCount>3</BandsCount>
    <Timeout>60</Timeout>
    <MaxConnections>4</MaxConnections>
    <ZeroBlockHttpCodes>204,404,500</ZeroBlockHttpCodes>
    <ZeroBlockOnServerException>true</ZeroBlockOnServerException>
</GDAL_WMS>
all my calls are running fine and I am getting the wms imagery. But when I am running this in my application which is actually using mapserver version 6.4.1 I am getting this error -

<ServiceExceptionReport xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3.0" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException> msDrawMap(): Image handling error. Failed to draw layer named 'PICT-TXXTXR24-y70fWdrEKM'. drawGDAL(): Unable to access file. GDALDatasetRasterIO() failed: GetBlockRef failed at X block offset 999552, Y block offset 1684413 </ServiceException>
</ServiceExceptionReport>

Any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240617/8f02ce4d/attachment.htm>


More information about the gdal-dev mailing list