[GIS] How to use v.to.3d in GRASS GIS

grass

I am trying to use GRASS GIS for the first time.
After quite a lot of trouble I managed to create a location and a new mapset, and my shapefile is now displayed in the window "GRASS GIS Map Display" (for some reason only in 3d view).

My next step would be to use the v.to.3d module to add a value to the z-coordinate. I don't seem to get it right, first I tried to use "Search module", and when I found v.to.3d I doubleclicked and filled out the appearing form. That didn't work…
Then I tried writing it manually in the "Command console", but being a total GRASS GIS-beginner I'm not sure how to write? I get, or I think I get, that I need the command 'v.to.3d', an input, output and in some way add a height value.

Can someone please give me a hand? Exactly how can I do this?

Best Answer

Look at v.to.3d

1) You choose the original layer and the resulting layer:

enter image description here

2) You can then use the name of the attribute column used for height field or a fixed height

enter image description here

And the command to use in the shell is specified at the base of the dialog window:

v.to.3d input=your_layer output=resulting_layer column=your_column

or

v.to.3d input=your_layer output=resulting_layer height=your_value
Related Question