Changes between Version 6 and Version 7 of UserDocs/GdalWarp


Ignore:
Timestamp:
Mar 20, 2008, 2:56:41 PM (16 years ago)
Author:
maphew
Comment:

added note about not using compression with gdalwarp

Legend:

Unmodified
Added
Removed
Modified
  • UserDocs/GdalWarp

    v6 v7  
    104104Source:
    105105   * Gdalwarp speed comparison - http://www.nabble.com/Gdalwarp-speed-comparison-td15759991.html
     106
     107
     108== `-co COMPRESS=` is broken! ==
     109''When I compress an image with gdalwarp the result is often many times larger than the original! ''
     110
     111The nature of gdalwarp and compression are fundamentally at odds with eath other, there is no fix forthcoming. The recommendation is to use gdalwarp without compression and then follow up with gdal_translate with compression:
     112{{{
     113gdalwarp infile tempfile.tif ...options...
     114gdal_translate tempfile.tif outfile.tif -co compress=lzw ...etc.
     115}}}
     116
     117See ticket:1688 and linked discussions for a fuller explanation.
     118