Le mercredi 19 mars 2014 18:16:57, Piero Campalani a écrit : > Hi list, > > looking at the JP2OpenJPEG format handler (./frmts/openjpegdataset.cpp), it > seems that only the codec JP2 (and not J2K) is accepted in order to enable > extra boxes (eg GMLJP2 or GeoJP2 ones). > > Might be wrong, but aren't JP2/J2K equivalent formats?
No, JP2 is J2K plus boxes to add metadata. See "File format and code stream" paragraph of http://en.wikipedia.org/wiki/JPEG_2000 > > > --- if( eCodecFormat == OPJ_CODEC_JP2 && > +++ if( (eCodecFormat == OPJ_CODEC_JP2 || eCodecFormat == OPJ_CODEC_J2K) > && > (CSLFetchBoolean( papszOptions, "GMLJP2", TRUE ) || > CSLFetchBoolean( papszOptions, "GeoJP2", TRUE )) ) > { > <<<<<<<<<<<<<<<<<<< > > I couldn't find much information about the difference between the two > codecs, but in case I am missing something just forget all this. > > cheers, > Piero -- Geospatial professional services http://even.rouault.free.fr/services.html _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev