If you find this document usefull, please consider ordering a printed hardcopy!
In GRASS 6.0are considered as vectors. The known sites formats from GRASS 5.4still be exported via the module s.out.ascii. Otherwise, the module v.in.sites is used in order to convert existing sites data into the vector format and then to transform them into different export formats.
Exporting elevation data from raster maps
For exporting elevation data from a raster map into the xyz format it is necessary to adjust the resolution of the location to the resolution of the raster map. Afterwards, the X, Y and Z values will be written into an ASCII file cell by cell.
g.region rast=elevation.dem -p
r.stats -1 -g input=elevation.dem > spearfish_elevation.txt
If you find this document usefull, please consider ordering a printed hardcopy!