Tuesday, 27 March 2018

gdal - Round gdal_translate AAIGrid output to 4 decimal places


How can I use gdal_translate for AAIGrid so that the raster values are not more than 4 decimal places.



Answer






It can be done by adding -co DECIMAL_PRECISION=4 in gdal_translate command.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...