Re: [gdal-dev] Reading JPEG2000 file related to drivers

2015-10-14 Thread Yves Jacolin
On Wednesday, October 14, 2015 17:08:34 Yves Jacolin wrote: > I need to do some test with MapServer but currently I can't be sure that > GDAL use the correct driver. done, performance are really poor with OpenJpeg driver. There is an issue with index in openjpeg lib. I don't how much it can be re

Re: [gdal-dev] Reading JPEG2000 file related to drivers

2015-10-14 Thread Yves Jacolin
On Tuesday, October 13, 2015 18:00:16 Even Rouault wrote: > > > > > > Last question for today: do you know any limitation with this lib (any > > > > release) and image size: > > > > > > ERROR 1: Cannot handle box sizes higher than 2^32 > > This error message comes from openjpeg itself. Is it rea

Re: [gdal-dev] Reading JPEG2000 file related to drivers

2015-10-13 Thread Yves Jacolin
Hello, On Tuesday, October 13, 2015 13:23:05 Yves Jacolin wrote: > [..] > > Do you know any limitation on jp2OpenJpeg? I get a segmentation fault with > this driver: > > Here is the bt (from gdal 1.11, but get almost the same from trunk, line > number is different): > [..] Sorry to spam you :)

Re: [gdal-dev] Reading JPEG2000 file related to drivers

2015-10-13 Thread Even Rouault
Le mardi 13 octobre 2015 17:29:49, Yves Jacolin a écrit : > On Tuesday, October 13, 2015 17:25:50 Even Rouault wrote: > > [..] > > > > Yves, > > > > I think someone has already had that issue. I think you're compiling > > against OpenJPEG 2.0 header and are linking against OpenJPEG 2.1 (or the >

Re: [gdal-dev] Reading JPEG2000 file related to drivers

2015-10-13 Thread Yves Jacolin
On Tuesday, October 13, 2015 17:25:50 Even Rouault wrote: > [..] > > Yves, > > I think someone has already had that issue. I think you're compiling against > OpenJPEG 2.0 header and are linking against OpenJPEG 2.1 (or the reverse). > Some structures of openjpeg have changed sizes between both ve

Re: [gdal-dev] Reading JPEG2000 file related to drivers

2015-10-13 Thread Even Rouault
Le mardi 13 octobre 2015 17:04:19, Yves Jacolin a écrit : > Hello, > > On Tuesday, October 13, 2015 13:23:05 Yves Jacolin wrote: > > [..] > > > > Do you know any limitation on jp2OpenJpeg? I get a segmentation fault > > with this driver: > > > > Here is the bt (from gdal 1.11, but get almost the

Re: [gdal-dev] Reading JPEG2000 file related to drivers

2015-10-13 Thread Yves Jacolin
Even, On Tuesday, October 13, 2015 11:25:47 Even Rouault wrote: > > * is it possible to choose the driver used by gdal? For instance, in my > > second test, my gdal install have two driver; ECW SDK and OpenJpeg. > > Currently, I am building several gdal instance to test each driver :/ > > Yes, se

Re: [gdal-dev] Reading JPEG2000 file related to drivers

2015-10-13 Thread Yves Jacolin
On Tuesday, October 13, 2015 11:25:47 Even Rouault wrote: > Salut Yves, > > > * is it possible to choose the driver used by gdal? For instance, in my > > second test, my gdal install have two driver; ECW SDK and OpenJpeg. > > Currently, I am building several gdal instance to test each driver :/ >

Re: [gdal-dev] Reading JPEG2000 file related to drivers

2015-10-13 Thread Even Rouault
Salut Yves, > > * is it possible to choose the driver used by gdal? For instance, in my > second test, my gdal install have two driver; ECW SDK and OpenJpeg. > Currently, I am building several gdal instance to test each driver :/ Yes, see https://trac.osgeo.org/gdal/wiki/ConfigOptions#GDAL_SKIP

[gdal-dev] Reading JPEG2000 file related to drivers

2015-10-13 Thread Yves Jacolin
Hello, Sorry for the long mail. I test jpg2 reading with GDAL for a small piece of file (12M). # first test : $ gdalinfo --version GDAL 1.10.1, released 2013/08/26 $ gdalinfo file.jp2 Driver: JPEG2000/JPEG-2000 part 1 (ISO/IEC 15444-1)