[gdal-dev] JP2 Segfault

Tomaka, Jacek jacek.tomaka at hexagongeospatial.com
Fri Jul 22 02:26:44 PDT 2016


Yves, 
Have you tried ECW JPEG 2000 SDK 5.2 or 5.3? Is there a reason why you are still using old 3.3 version? 

Every version of the SDK contains quite a few improvements and we would also be interested in learning about the problems encountered in the supported version of the ECW Jp2 SDK. 

There is a license allowing reading ECW and JP2 in non server scenarios without any cost.  

Please note that i work for the vendor of ECW JPEG2000 SDK. 

Regards.
Jacek Tomaka
________________________________
Od: gdal-dev [gdal-dev-bounces at lists.osgeo.org] w imieniu Yves Jacolin [yjacolin at free.fr]
Wysłano: 22 lipca 2016 15:38
Do: gdal-dev at lists.osgeo.org
DW: Jukka Rahkonen
Temat: Re: [gdal-dev] JP2 Segfault

Even, Jukka,

Thank both of you.

@Even, I though that I get this kind of  issue :) I checked my formats list,
but maybe at the end of the day, my eyes were tired.

@Jukka, I did not use two --config flags at the same time, but this information
is a great confirmation how to manage such multi config flag, definitively useful
for next time.

Thanks again,

Y.

On Thursday, July 21, 2016 21:23:31 Jukka Rahkonen wrote:
> Yves Jacolin <yjacolin <at> free.fr> writes:
> > Hello,
> >
> > I am working on some JP2 data (total 262 Go) . I started creating a vrt
> > file and then "gdal_translate" them.
> >
> > I always have a segfault. I tried to use a GDAL_SKIP config to use another
> >
> > driver but it seems that I can successfully do this:
> > >> Stack trace in bt <<
> >
> > Starting program: /usr/local/bin/gdal_translate --config GDAL_SKIP JP2ECW
> > -- config GDAL_SKIP ECW -a_srs EPSG:2154 -co BIGTIFF=IF_SAFER -co
> > COMPRESS=JPEG - co TILED=YES -co PHOTOMETRIC=YCBCR ORTHO_EXPRESS_2015.vrt
> > ORTHO_EXPRESS_2015.tif
>
> ...
> clip
> ...
>
> > Using  --config GDAL_SKIP ECW doesn't change anything.
> >
> > I can't understand two things:
> >
> > * first: why libNCSEcw is used instead of openjpeg200 lib?
>
> You have used two times the GDAL_SKIP config option
>
> --config GDAL_SKIP JP2ECW --config GDAL_SKIP ECW
>
> In https://trac.osgeo.org/gdal/wiki/ConfigOptions#GDAL_SKIP it is documented
> that for skipping several drivers a comma separated list is needed:
>
> "The value of this option must be a space delimited list of the short name
> of the GDAL drivers to unregister."
>
> I suppose that with your command only the ECW driver gets skipped and that
> is not for JPEG2000 at all. Using just one option (or a list) as --config
> GDAL_SKIP JP2ECW should help you.
>
> -Jukka Rahkonen-
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list