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?
>>>>>>>>>>>>>>>>>>>
--- 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
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev