[gdal-dev] Problem reading JP2

Erik Heinz eh0907-osgeo at 42net.de
Tue Mar 6 12:11:55 PST 2018


Hi everyone,

recently I downloaded a free 1:1000000 map of France from
http://professionnels.ign.fr/. The map comes in tiles supposed to be in 
JPEG 2000 Part 1 format. "file" utility says "JPEG 2000 Part 1 (JP2)" and 
the file name ending is .jp2.

My GDAL (version 2.2.3) was compiled against a patched Jasper library
(jasper-1.900.1.uuid) and pretends to be able to read .jp2.

When I try gdalinfo on one of this tiles, however, it says:

  terminate called after throwing an instance of 'std::length_error'
    what():  basic_string::_S_create
  Aborted

Is this a known issue? Is there a solution?

I could provide sample files per E-mail on request. Public distribution is
probably not allowed - my knowledge of French is too limited to be sure
about that.

Thanks in advance, and best regards,
Erik



More information about the gdal-dev mailing list