[gdal-dev] Reading a JP2 file - obj_decode() failed
Jonathan Moules
jonathan-lists at lightpear.com
Sun Aug 9 12:34:28 PDT 2020
I guess this is what you want:
<Field name="XTsiz" type="uint32">132000</Field>
<Field name="YTsiz" type="uint32">248000</Field>
Which I'm assuming means it's not tile.
On 2020-08-09 15:46, Even Rouault wrote:
>
> 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
>
More information about the gdal-dev
mailing list