[gdal-dev] Reading a JP2 file - obj_decode() failed

Even Rouault even.rouault at spatialys.com
Sun Aug 9 07:46:55 PDT 2020


On dimanche 9 août 2020 15:30:12 CEST Jonathan Moules wrote:
> Hi Even,
> 
> Ah, it's comma delimited. I tried spaces.
> 
> Here's the response, with with light editing to get rid of duplicate
> info (The bands are all the same). Nothing in the output with the string
> "tile".

Ah, sorry, I now see those debug traces aren't compiled in in release mode.

OK, so download
https://github.com/OSGeo/gdal/blob/master/gdal/swig/python/samples/dump_jp2.py

and run

python dump_jp2.py FILENAME.jp2 | grep Tsiz

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200809/8e82cd6f/attachment.html>


More information about the gdal-dev mailing list