[Mapserver-users] ECW not showing below certain scale

Frank Warmerdam warmerdam at pobox.com
Fri Jun 25 00:34:36 EDT 2004


Delfos, Jacob wrote:
> Frank,
> 
> Sorry, I didn't know this was the appropriate way to report image bugs.
> I took your suggestion to heart, and it told me something... :
> 
> -----------------------------------------------------------------------
> C:\Documents and Settings\jxd>shp2img -m "c:\web\roe7\roe7.map" -o
> "c:\temp\test
> .jpg" -all_debug n -i "JPEG" -e 55300 250255 55400 250356
> ERROR 7: Assertion `iDstLine == 0' failed
> in file `ecwdataset.cpp', line 360
> -----------------------------------------------------------------------
> 
> I have tried this with both the 4.0 and the 4.2 version of shp2img. The 4.0
> version worked flawlessly. The 4.2 version gave me the above error. I think
> you are right in saying that supersampling is the cause, because that is
> exactly when it happens. I don't know if shp2img normally gives more error
> messages, but since it crashes on this command, I couldn't tell. I get a
> message box with a visual C++ runtime error saying "abnormal program
> termination".
> 
> Hopes this helps you work out what is wrong.

Jacob,

The good news is that this is the same problem that Amin (?) was running into.
I fixed it in the GDAL 1.2.0 release. It was really just an old assertion
blowing over something that appears to not really be a problem.  It just
happens that MapServer 4.2 uses the GDAL API in a more efficient way that
triggers the bug.  Once a new build is available with GDAL 1.2.0 you should
be OK again.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the mapserver-users mailing list