Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v.vol.rst: Update parameter names in the example #3073

Merged
merged 5 commits into from
Apr 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vector/v.vol.rst/v.vol.rst.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ <h2>EXAMPLES</h2>

### First part: generate synthetic 3D data (true 3D soil data preferred)
# generate random positions from elevation map (2D)
r.random elevation.10m vector_output=elevrand n=200
r.random elevation.10m vecto=elevrand n=200 seed=42
lbartoletti marked this conversation as resolved.
Show resolved Hide resolved

# generate synthetic values
v.db.addcolumn elevrand col="x double precision, y double precision"
wenzeslaus marked this conversation as resolved.
Show resolved Hide resolved
v.to.db elevrand option=coor col=x,y
v.to.db elevrand option=coor col=x,y --overwrite
wenzeslaus marked this conversation as resolved.
Show resolved Hide resolved
v.db.select elevrand

# create new 3D map
Expand All @@ -202,7 +202,7 @@ <h2>EXAMPLES</h2>
v.db.select elevrand_3d

# optionally: check 3D points in Paraview
v.out.vtk input=elevrand_3d output=elevrand_3d.vtk type=point dp=2
v.out.vtk input=elevrand_3d output=elevrand_3d.vtk type=point precision=2
paraview --data=elevrand_3d.vtk

### Second part: 3D interpolation from 3D point data
Expand Down