|
On 16/12/2015 07:57, Szilard Albert
wrote:
If you want to work with GRASS, there's an easy workflow for this: # First, as always, create a GRASS location with CRS matching your DEM and points, then # Import your text file into GRASS as a points layer: v.in.ascii input=<your text file> output=points columns="label text, x double, y double" x=2 y=3 sep=space # Add a column to hold elevation v.db.addcolumn map=points column="elev double" # Import DEM raster r.in.gdal input=<your DEM raster> output=dem # As always,set the region g.region -p rast=dem # Now get elevations for all points v.what.rast map=points column=elev raster=dem # And create the output results file v.out.ascii input=points output=points.csv column="elev" sep=space
--
Micha Silver
Arava Drainage Authority cell: +972-523-665918 |
_______________________________________________ Qgis-user mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
