[QGIS-Developer] Issues running Grass r.plane

Catania, Luke A ERDC-RDE-GRL-VA CIV Luke.A.Catania at erdc.dren.mil
Fri Jan 29 12:21:29 PST 2021


Looking to use r.plane to create a slope of a constant plane.

Tried to run the Grass tool using the example in the help below , but in QGIS I do not see a g.region method so how do I limit my area?

# set computational region
g.region raster=elev_lid792_1m -p

# get center coordinates as an example
g.region -c
# get terrain height at point
r.what map=elev_lid792_1m coordinates=638650.0,220375.0
# shows elevation: 116.7734

# generate tilted plane
r.plane myplane30 dip=30 az=75 east=638650.0 north=220375.0 \
        elev=116.7734 type=FCELL

Whe running it with the example input.

r.plane sloping_plane dip=30 az=75 east=638650.0 north=220375.0 elev=116.7734 type=FCELL

I just get a constant plane of the same height throughout, so not sure of that is an issue of not setting the region.

Luke


More information about the QGIS-Developer mailing list