Feature request #5651

add the "-wo OPTIMIZE_SIZE=TRUE" option to the warp tool

Added by Giovanni Manghi almost 5 years ago. Updated about 1 year ago.

Status:Closed Start Date:05/27/2012
Priority:Normal Due date:
Assigned to:Giovanni Manghi % Done:


Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:


see http://gdal.org/structGDALWarpOptions.html#0ed77f9917bb96c7a9aabd73d4d06e08

"OPTIMIZE_SIZE: This defaults to FALSE, but may be set to TRUE when outputing typically to a compressed dataset (GeoTIFF with COMPRESSED creation option set for example) for achieving a smaller file size. This is achieved by writing at once data aligned on full blocks of the target dataset, which avoids partial writes of compressed blocks and lost space when they are rewritten at the end of the file. However sticking to target block size may cause major processing slowdown for some particular reprojections."

see also this thread


Associated revisions

Revision 619356ea1c1d1a0147ec7601e33af813ac68f506
Added by Alexander Bruy about 1 year ago

[processing] add OPTIMIZE_SIZE option to gdalwarp (fix #5651)


Updated by Paolo Cavallini over 4 years ago

  • Target version set to Version 2.0.0

Updated by Paolo Cavallini over 4 years ago

  • Assigned to changed from Giuseppe Sucameli to anonymous -

Updated by Giovanni Manghi almost 3 years ago

  • Assigned to deleted (anonymous -)
  • Target version changed from Version 2.0.0 to Future Release - Nice to have

Updated by Médéric RIBREUX over 1 year ago

Hello, bug triage...

still true for QGIS 2.13 master. It could also be good to add this option to Processing GDAL warp...

Updated by Giovanni Manghi over 1 year ago

  • Category changed from GDALTools to Processing/GDAL
  • Assigned to set to Giovanni Manghi

Updated by Alexander Bruy about 1 year ago

  • Status changed from Open to Closed

Also available in: Atom