[GRASS-dev] [GRASS GIS] #3859: r.out.gdal: Do not fail with big tiffs if user does not provide BIGTIFF=YES creatopt

#3859: r.out.gdal: Do not fail with big tiffs if user does not provide BIGTIFF=YES
creatopt
-------------------------+-------------------------
Reporter: sbl | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.8.0
Component: Raster | Version: svn-trunk
Keywords: r.out.gdal | CPU: All
Platform: All |
-------------------------+-------------------------
In r.out.gdal I get Error 1 Maximum TIFF file size exceeded. Use
BIGTIFF=YES.
Would be great if GRASS could use BIGTIFF=IF_NEEDED/IF_SAFER by default
when exporting GeoTiff or if it could compute the required creation option
from region size, number of bands and data type...

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3859&gt;
GRASS GIS <https://grass.osgeo.org>

#3859: r.out.gdal: Do not fail with big tiffs if user does not provide BIGTIFF=YES
creatopt
--------------------------+-------------------------
  Reporter: sbl | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.out.gdal
       CPU: All | Platform: All
--------------------------+-------------------------

Comment (by mmetz):

Replying to [ticket:3859 sbl]:
> In r.out.gdal I get Error 1 Maximum TIFF file size exceeded. Use
BIGTIFF=YES.
> Would be great if GRASS could use BIGTIFF=IF_NEEDED/IF_SAFER by default
when exporting GeoTiff or if it could compute the required creation option
from region size, number of bands and data type...

The idea of using GDAL/OGR is that the code does not need to bother about
format-specific options. By now GRASS code does take care of some special
formats to prevent errors and/or to follow GDAL instructions, but for code
maintenance I would like to keep this to a minimum.

There is a reason (on the GDAL side) why BIGTIFF=YES is not the default:
not all (Geo)Tiff drivers support BIGTIFF.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3859#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3859: r.out.gdal: Add notes about bigtiff and example with BIGTIFF=YES (or
similar) to manual
--------------------------+-------------------------
  Reporter: sbl | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Docs | Version: svn-trunk
Resolution: | Keywords: r.out.gdal
       CPU: All | Platform: All
--------------------------+-------------------------
Changes (by sbl):

* component: Raster => Docs

Comment:

Thanks for the swift feedback! Point taken.
Changed into a documentation ticket (that I could fix myself).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3859#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>