5

Is there a tool to convert a GeoTIFF file to a simple ascii (XYZ) elevation file?

0

2 Answers 2

14

You should be able to do this using the gdal_translate command line tool.

http://www.gdal.org/gdal_translate.html

To convert to Arc/Info ASCII Grid:

gdal_translate -of AAIGrid elevation.tif elevation.asc

To convert to ASCII Gridded XYZ:

gdal_translate -of XYZ elevation.tif elevation.xyz

Binary executables of the GDAL tools are available here: http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries

3

In GRASS GIS, the command r.out.xyz does this conversion job. Instead of first importing the GeoTIFF file, you can simply register it beforehand with r.external in the GRASS GIS location (i.e. basically the needed project directory).

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.