[GRASS-user] rasterize 3d line

Helmut Kudrnovsky hellik at web.de
Fri Apr 7 01:16:50 PDT 2023


>Is there a way to rasterize a 3d line to get altitude on raster cells
>crossed by the line ?

not quite sure what are you trying to do?

maybe:

v.drape:

Converts 2D vector features to 3D by sampling of elevation raster map. (https://grass.osgeo.org/grass82/manuals/v.drape.html)
Additional vertices can be added to the input 2D vector map with v.split.

or the something like:

v.fixed.segmentpoints - segment points along a vector line with fixed distances (https://grass.osgeo.org/grass82/manuals/addons/v.fixed.segmentpoints.html) followed by
v.what.rast - Uploads raster values at positions of vector points to the table (https://grass.osgeo.org/grass82/manuals/v.what.rast.html) or v.sample - Samples a raster map at vector point locations (https://grass.osgeo.org/grass82/manuals/v.sample.html).


kind regards
helmut




More information about the grass-user mailing list