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

GRASS GIS trac at osgeo.org
Mon Jun 3 05:01:38 PDT 2019


#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>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list