alpa wrote > Thanks for your reply, > > My bad, probably copy-pasting mistake. I've re-run the commands: > > Just to be sure I exported the GDAL_SKIP env var as well: > > export GDAL_SKIP=JP2OpenJPEG > gdalinfo --formats > ... > ERS -raster- (rw+v): ERMapper .ers Labelled > JP2KAK -raster,vector- (rwv): JPEG-2000 (based on Kakadu *v7.10.4*) > JPIPKAK -raster- (ro): JPIP (based on Kakadu) > L1B -raster- (rovs): NOAA Polar Orbiter Level 1b Data Set > ... > (No JP2OpenJPEG, by the way, I am using Kakadu 7.10.4) > > Looks like gdal_translate is producing a 0-filled raster: > > gdal_translate -outsize 50% 50% -co TILED=YES -co COMPRESS=JPEG -co > PHOTOMETRIC=YCBCR ./T34WEB_20181015T104021_TCI_10m.jp2 > ./T34WEB_20181015T104021_TCI_10m.jp2.ovr *--config GDAL_SKIP JP2OpenJPEG*
Hi, I used your command for one of our orthophoto .jp2 files with these drivers gdalinfo --formats|find "JP2" JP2ECW -raster,vector- (rov): ERDAS JPEG2000 (SDK 5.3) JP2MrSID -raster- (rov): MrSID JPEG2000 JP2OpenJPEG -raster,vector- (rwv): JPEG-2000 driver based on OpenJPEG library The resulting half-dimensioned GeoTIFF is good with all drivers. Without having a recent Kakadu driver available I fear that I can't test anything more. If your build suppors debug messages you can have a new try by adding "--debug on" into your gdal_translate command. -Jukka Rahkonen- -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
