Re: [gdal-dev] Reading JPEG2000 File

2019-02-06 Thread bhandari
Thank you Kai for your response. I will try with gdal2.4 -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Reading JPEG2000 File

2019-02-05 Thread Kai Muehlbauer
Just tried gdal 2.4.0 and 2.3.3 from conda-forge. Both contain the line: JP2OpenJPEG -raster,vector- (rwv): JPEG-2000 driver based on OpenJPEG library HTH, Kai Maybe Am 05.02.19 um 15:04 schrieb bhandari: > I tried GDAL 2.3 from conda forge. When I see the support ed formats with > gdalinfo --fo

Re: [gdal-dev] Reading JPEG2000 File

2019-02-05 Thread bhandari
I tried GDAL 2.3 from conda forge. When I see the support ed formats with gdalinfo --formats . It doesn't show JPEG2000. So how do I include support for JPEG2000? THANKS FOR YOUR RESPONSE -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html __

Re: [gdal-dev] Reading JPEG2000 File

2019-02-05 Thread Christoph Paulik
I installed an up-to date version of gdal from conda forge. But of course it all depends on which version you are currently using and what your exact error is. It is probably best if you go back to the package distributor. On Tue, 5 Feb 2019 at 13:34, bhandari wrote: > > Thank You Christoph but

Re: [gdal-dev] Reading JPEG2000 File

2019-02-05 Thread bhandari
Thank You Christoph but trying that link did not work for me. Could you please tell how did you solve the problem -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists

Re: [gdal-dev] Reading JPEG2000 File

2019-02-05 Thread Christoph Paulik
Hi, Depending on which version of gdal you are using from anaconda it could be a problem with the gdal packages as compiled by e.g. conda-forge. I had a similar problem in the past. See e.g. https://github.com/conda-forge/gdal-feedstock/issues/227 Cheers, Christoph On Tue, 5 Feb 2019 at 12:36,

[gdal-dev] Reading JPEG2000 File

2019-02-05 Thread bhandari
Hello All I am trying to read JPEG2000 (sentinel) file with GDAL python bindings using anaconda python. I am not able to load JPEG2000 drivers. Could you please guide me how to install JPEG 2000 drivers for GDAL in anaconda environment. Thanking You -- Sent from: http://osgeo-org.1

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)