[GRASS-user] rasterize 3d line
Frank David
frank.david at geophom.fr
Fri Apr 7 03:45:03 PDT 2023
Hello,
Thank you for your message. But I don't think it helps me.
I want to add a bridge elevation to my DEM. So if I create a 3d vector
line (my bridge) with two vertex at x,y,z coordinates, and is it
possible to convert in a raster where each cells crossed by the line
inherits of his extrapolated altitude ? If no module exists to do that,
what would be the operations necessary to achieve this result ? I hope
it is clearer.
Frank
Le 07/04/2023 à 10:16, Helmut Kudrnovsky a écrit :
>> 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