Trouble orserving jp2 with mapserver

Steven De Vriendt gisaalter at GMAIL.COM
Fri Dec 14 04:21:11 EST 2007


I have converted a MrSid file using Fw_Tools to a jp2-file.
When I use gdalinfo on my file, I get the following message:

Driver: JPEG2000/JPEG-2000 part 1 (ISO/IEC 15444-1)
Size is 58404, 51298
Coordinate System is `'
Origin = (76836.250000000000000,202313.000000000000000)
Pixel Size = (0.250000000000000,-0.250000000000000)
Corner Coordinates:
Upper Left  (   76836.250,  202313.000)
Lower Left  (   76836.250,  189488.500)
Upper Right (   91437.250,  202313.000)
Lower Right (   91437.250,  189488.500)
Center      (   84136.750,  195900.750)
error: cannot decode code stream
Band 1 Block=58404x51298 Type=Byte, ColorInterp=Undefined
error: expecting signature box
error: cannot get box
Band 2 Block=58404x51298 Type=Byte, ColorInterp=Undefined
error: cannot get box
error: cannot get box
Band 3 Block=58404x51298 Type=Byte, ColorInterp=Undefined
error: cannot get box

However, I can open the file using a jp2 viewer fine (well,
I did encounter  trouble using Irfanview).

Now I want to serve it through Mapserver. Mapserver
returns an error message MsDraw(Unable to access file)
However,  I can access this file just fine...
I think the above messages may cause it. Anyone knows what's going on ?

Thanks
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071214/0db5ba09/attachment.html


More information about the mapserver-users mailing list