<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I've configured a map - file with GDAL-WMS to reproject WMSC-Files.</div><div><br></div><div>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.</div><div>On the other levels, I keep getting the following error-message:</div><div><br></div><div><p class="MsoPlainText"><?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?><o:p></o:p></p><p class="MsoPlainText"><!DOCTYPE ServiceExceptionReport SYSTEM "<a href="http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd</a>"><o:p></o:p></p><p class="MsoPlainText"><ServiceExceptionReport version="1.1.1"><o:p></o:p></p><p class="MsoPlainText"><ServiceException><o:p></o:p></p><p class="MsoPlainText">msDrawMap(): Image handling error. Failed to draw layer named 'ORTHO_IGNF'.<o:p></o:p></p><p class="MsoPlainText">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<o:p></o:p></p><p class="MsoPlainText"></ServiceException><o:p></o:p></p><p class="MsoPlainText"></ServiceExceptionReport></p><div><br></div></div><div>Here is my GDAL_WMS - config:</div><div><br></div><div><pre><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>
</pre><div>And here my mapfile:</div></div><div><br></div><div><div>MAP</div><div> NAME "LIMADMIN"</div><div> </div><div> PROJECTION</div><div> "init=epsg:2169"</div><div> END</div><div> </div><div>WEB</div><div><br></div><div> METADATA</div><div> </div><div> "wms_srs" "EPSG:2169 EPSG:4326 EPSG:4258"</div><div> "wms_extent" "46000 57000 106000 141000"</div><div> "ows_enable_request" "*"</div><div> </div><div> END</div><div> IMAGEPATH "/tmp"</div><div><br></div><div> END</div><div><br></div><div> EXTENT 46000 57000 106000 141000</div><div> UNITS METERS</div><div><br></div><div> OUTPUTFORMAT</div><div> NAME "pnga"</div><div> MIMETYPE "image/png"</div><div> DRIVER "AGG/PNG"</div><div> EXTENSION "png"</div><div> IMAGEMODE "RGBA"</div><div> TRANSPARENT TRUE</div><div> FORMATOPTION "INTERLACE=OFF"</div><div> END</div><div><br></div><div> LAYER</div><div> NAME "ORTHO_IGNF"</div><div> DATA ortho_wms.txt</div><div> TYPE RASTER</div><div> STATUS ON</div><div> DUMP FALSE</div><div> PROCESSING "DITHER=YES"</div><div> PROCESSING "RESAMPLE=BILINEAR"</div><div> METADATA</div><div> "wms_name" "ORTHO_IGNF"</div><div> "wms_extent" "46000 57000 106000 141000"</div><div><br></div><div> END</div><div> PROJECTION</div><div> "title=EPSG:310024802" "proj=eqc"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "nadgrids=null"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "towgs84=0.0000,0.0000,0.0000"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "a=6378137.0000" </div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "rf=298.2572221010000"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "lat_0=0.000000000"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "lon_0=0.000000000"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "lat_ts=46.500000000"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "x_0=0.000"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "y_0=0.000"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "units=m"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "wktext"</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span> "no_defs"</div><div> END</div><div> END</div><div> </div><div>END</div></div><div><br></div><div>Any idea where this could be going wrong?</div><div><br></div><div>Thanks in advance and best regards</div><div>Jeff</div></body></html>