Skip to content

Instantly share code, notes, and snippets.

@robertpyke
Last active December 19, 2015 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robertpyke/5980426 to your computer and use it in GitHub Desktop.
Save robertpyke/5980426 to your computer and use it in GitHub Desktop.
Translate an ascii-grid file into a geotiff file using compression, i.e. the output geotiff file is compressed.
gdal_translate -of GTiff input_file.asc output_file.tiff -co "COMPRESS=lzw"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment