[gdal-dev] Creating external overviews for JP2 files?

Alessandro Parma alessandro.parma at geo-solutions.it
Thu Oct 18 08:29:26 PDT 2018


Thanks,

I'll try and get back to you with the output



On Thu, Oct 18, 2018 at 3:44 PM jratike80 <
jukka.rahkonen at maanmittauslaitos.fi> wrote:

> 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
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev



-- 

Regards,

Alessandro Parma

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Alessandro Parma
DevOps Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20181018/363f6586/attachment-0001.html>


More information about the gdal-dev mailing list