Timeline for Convert pixel values of a raster from meters to feet and from feet to meters - GDAL
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 27, 2017 at 17:24 | vote | accept | GeoCom | ||
Oct 27, 2017 at 22:11 | |||||
Oct 27, 2017 at 16:51 | comment | added | user30184 | Open the image with QGIS and click with the identify tool in some place for checking the pixel value. | |
Oct 27, 2017 at 16:48 | comment | added | user30184 | Gdalwarp does not alter Z values, it handles just X-Y space. | |
Oct 27, 2017 at 16:38 | comment | added | GeoCom | @user30184, so how should I be sure that the heights are in feet? shouldn't affect the contour intervals? | |
Oct 27, 2017 at 16:38 | comment | added | aldo_tapia |
@Milban gdalwarp from meters to feet will change the original z values. So, as @user30184 said, is enough with only gdal_calc
|
|
Oct 27, 2017 at 16:35 | comment | added | user30184 | It should be enough to make the conversion of heights into feet with gdal_calc and then continue with gdal_contour. | |
Oct 27, 2017 at 16:34 | comment | added | aldo_tapia | @user30184 yes! Was a mistake | |
Oct 27, 2017 at 16:33 | history | edited | aldo_tapia | CC BY-SA 3.0 |
edited body
|
Oct 27, 2017 at 16:31 | comment | added | GeoCom | @aldo_tapia you mean with these two processes I can completely convert and store the geotiff from the meter to the feet? | |
Oct 27, 2017 at 16:31 | comment | added | user30184 | Meters are longer than feet so you probably want to divide, not multiply with 0.3048. | |
Oct 27, 2017 at 16:30 | comment | added | GeoCom |
CRS is in meter (the original data is in meter). What could be these process? why gdalwarp and why gdal_calc ?
|
|
Oct 27, 2017 at 16:26 | history | answered | aldo_tapia | CC BY-SA 3.0 |