Changes between Initial Version and Version 2 of Ticket #3085
- Timestamp:
- Jul 28, 2009, 8:54:15 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3085
- Property Owner changed from to
- Property Status new → assigned
-
Ticket #3085 – Description
initial v2 2 2 3 3 Example ascii grid: 4 {{{ 4 5 ncols 5 5 6 6 nrows 5 7 8 7 xllcorner -2610321.0830204 9 10 8 yllcorner -3330321.0830204 11 12 9 cellsize 4500.0 13 14 10 NODATA_value -9999.0 15 16 11 -9999.0 -9999.0 1.2E-4 1.2E-4 1.2E-4 17 18 12 -9999.0 -9999.0 1.2E-3 1.2E-3 1.2E-3 19 20 13 -9999.0 -9999.0 1.2E-2 1.2E-2 1.2E-2 21 22 14 -9999.0 -9999.0 1.2E-1 1.2E-1 1.2E-1 23 24 15 -9999.0 -9999.0 5.2E-1 5.2E-1 5.2E-1 25 16 }}} 26 17 27 18 with the command: 19 28 20 gdal_translate -ot int32 -scale 0 1 0 1000 -a_nodata -9999 -of GTiff test.asc test.tif 21 29 22 The nodata value is reported as -9999 but in the image -9999 becomes -9999000 30 23 31 24 32 25 gdal_translate -ot Int16 -scale 0 1 0 1000 -a_nodata -9999 -of GTiff test.asc test.tif 26 33 27 The nodata value is reported as -9999 but in the image -9999 becomes -32768 34 28