Changes between Version 8 and Version 9 of UserDocs/GdalWarp


Ignore:
Timestamp:
Aug 20, 2009, 5:27:30 AM (15 years ago)
Author:
Even Rouault
Comment:

advertise using -co TILED=YES

Legend:

Unmodified
Added
Removed
Modified
  • UserDocs/GdalWarp

    v8 v9  
    105105
    106106
    107 == `-co COMPRESS=` is broken! ==
     107== [GeoTIFF output] `-co COMPRESS=` is broken! ==
    108108''When I compress an image with gdalwarp the result is often many times larger than the original! ''
    109109
     
    116116See ticket:1688 and linked discussions for a fuller explanation.
    117117
     118Alternatively, you can use a VRT file as the output format of gdalwarp. The VRT file is just an XML file that will be created immediately. The gdal_translate operations will be of course a bit slower as it will do the real warping operation.
     119
     120{{{
     121gdalwarp -of VRT infile tempfile.vrt ...options...
     122gdal_translate tempfile.vrt outfile.tif -co compress=lzw ...etc.
     123}}}
     124
     125== [GeoTIFF output] Use `-co TILED=YES` when possible ==
     126
     127Due to the way gdalwarp proceeds, when generating a huge output file (width > 100,000 pixels for example), you should consider producing a tiled GeoTIFF file if it is an option for you (some software will only read strip TIFF files). If you have a lot of RAM, increasing the maximum cache size and the working buffers of the warping algorithm as explained above might also help if you generate a strip TIFF file.
     128
     129
     130