[mapserver-users] GDALDatasetRasterIO() failed: IReadBlock failed
Jeff Konnen
jaykayone at gmail.com
Mon Mar 5 13:30:40 PST 2012
Hi,
I've configured a map - file with GDAL-WMS to reproject WMSC-Files.
It works more or less. I'm using 11 different scales where I calculate new tiles in my SRS and on 7 out of 11 levels, the results are OK.
On the other levels, I keep getting the following error-message:
<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>
msDrawMap(): Image handling error. Failed to draw layer named 'ORTHO_IGNF'.
drawGDAL(): Unable to access file. GDALDatasetRasterIO() failed: /home/mapserver/config/IGN/ortho_wms.txt, band 1: IReadBlock failed at X offset 2991, Y offset 2553
</ServiceException>
</ServiceExceptionReport>
Here is my GDAL_WMS - config:
<GDAL_WMS>
<Service name="WMS">
<Version>1.1.1</Version>
<ServerUrl>my_url_was_here</ServerUrl>
<SRS>IGNF:GEOPORTALFXX</SRS>
<ImageFormat>image/jpeg</ImageFormat>
<Layers>my_layer_name_was_here</Layers>
</Service>
<DataWindow>
<UpperLeftX>-1048576</UpperLeftX>
<UpperLeftY>6815744</UpperLeftY>
<LowerRightX>2097152</LowerRightX>
<LowerRightY>3670016</LowerRightY>
<SizeX>6291456</SizeX>
<SizeY>6291456</SizeY>
<TileLevel>13</TileLevel>
</DataWindow>
<Projection>+title=EPSG:310024802 +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=46.500000000 +x_0=0.000 +y_0=0.000 +units=m +wktext +no_defs</Projection>
<BandsCount>3</BandsCount>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<OverviewCount>12</OverviewCount>
</GDAL_WMS>
And here my mapfile:
MAP
NAME "LIMADMIN"
PROJECTION
"init=epsg:2169"
END
WEB
METADATA
"wms_srs" "EPSG:2169 EPSG:4326 EPSG:4258"
"wms_extent" "46000 57000 106000 141000"
"ows_enable_request" "*"
END
IMAGEPATH "/tmp"
END
EXTENT 46000 57000 106000 141000
UNITS METERS
OUTPUTFORMAT
NAME "pnga"
MIMETYPE "image/png"
DRIVER "AGG/PNG"
EXTENSION "png"
IMAGEMODE "RGBA"
TRANSPARENT TRUE
FORMATOPTION "INTERLACE=OFF"
END
LAYER
NAME "ORTHO_IGNF"
DATA ortho_wms.txt
TYPE RASTER
STATUS ON
DUMP FALSE
PROCESSING "DITHER=YES"
PROCESSING "RESAMPLE=BILINEAR"
METADATA
"wms_name" "ORTHO_IGNF"
"wms_extent" "46000 57000 106000 141000"
END
PROJECTION
"title=EPSG:310024802" "proj=eqc"
"nadgrids=null"
"towgs84=0.0000,0.0000,0.0000"
"a=6378137.0000"
"rf=298.2572221010000"
"lat_0=0.000000000"
"lon_0=0.000000000"
"lat_ts=46.500000000"
"x_0=0.000"
"y_0=0.000"
"units=m"
"wktext"
"no_defs"
END
END
END
Any idea where this could be going wrong?
Thanks in advance and best regards
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120305/e169e0a3/attachment.htm>
More information about the MapServer-users
mailing list