Re: [gdal-dev] a flag for translate stop or abort on error?

2021-07-08 Thread Matt.Wilkie
Good to know, thanks. For the rest of the set I'm going to unpack the archives first instead using /vsizip. I'm making several passes over the contents and some testing has shown that is slowing things down a lot. If I manage to find a reproducible set I'll let you know. -Matt From: Even Roua

Re: [gdal-dev] TIFFFetchDirectory:Sanity check on directory count failed

2021-07-08 Thread Matt.Wilkie
Ah, okay. As nothing seems amiss with the translated file I'll just note the name and error and keep going. Thanks for the info Even. -Matt ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] TIFFFetchDirectory:Sanity check on directory count failed

2021-07-08 Thread Even Rouault
Hum, this error comes from deep in libtiff: https://github.com/OSGeo/gdal/blob/fec15b146f8a750c23c5e765cac12ed5fc9c2b85/gdal/frmts/gtiff/libtiff/tif_dirread.c#L4802 It would indicate that a TIFF directory (image) has more than 4096 tags, which is highly unlikely for a valid image. The error is

Re: [gdal-dev] a flag for translate stop or abort on error?

2021-07-08 Thread Even Rouault
Matt, when you get the "TIFFReadEncodedTile() failed.", it is in a failure path of the geotiff driver, so the processing should stop immediately. I suspect something later in the stack (VRT driver?) doesn't, but without a reproducer to investigate what's going on exactly, hard to tell Even

[gdal-dev] TIFFFetchDirectory:Sanity check on directory count failed

2021-07-08 Thread Matt.Wilkie
Related to my previous question today, what is the nature of "TIFFFetchDirectory:Sanity check on directory count failed" error? :: gdal_translate -co compress=zstd -co predictor=yes -co level=17 -co bigtiff=yes -of cog -a_nodata 0 Finlayson9488_SP7_08Aug2017_150cm.rgb-nir.vrt out\F

[gdal-dev] a flag for translate stop or abort on error?

2021-07-08 Thread Matt.Wilkie
Hi, Is there a flag or something to instruct gdal_translate to stop or abort when it encounters an error? gdal_translate -co compress=zstd -co predictor=yes -co level=17 -co bigtiff=yes -of cog -a_nodata 0 Finlayson9488_SP6_24Aug2016_150cm.rgb-nir.vrt out\Finlayson9488_SP6_24Aug2

Re: [gdal-dev] gdaladdo bigtiff err but --config BIGTIFF was used

2021-07-08 Thread Matt.Wilkie
cogger v0.0.5 now supports .ovr external overviews. It will automatically set the output cog to bigtiff if required, so your use-case should now be covered. Oh that’s great, thank you! ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osg

Re: [gdal-dev] [EXT] Re: Idrisi driver in GDAL v3.3.1

2021-07-08 Thread Hongmei Zhu
Hi Even, Thank you very much for letting me know. Hongmei From: Even Rouault Sent: Wednesday, July 7, 2021 5:12 PM To: Hongmei Zhu ; gdal-dev@lists.osgeo.org Subject: [EXT] Re: [gdal-dev] Idrisi driver in GDAL v3.3.1 Hongmei, It was added in master / 3.4.0