<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="" dir="ltr">
<p style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt;">
<span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);">Sylvain,</span></span><br>
</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt;">
<span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></p>
<p style=""><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);">Thanks. 
 I did manage to set region in the advanced parameters section.  </span><span style="color: rgb(0, 0, 0);">Changed that </span></span><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);">and
 then </span><span style="color: rgb(0, 0, 0);">also realized </span></span><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);">I
 had </span><span style="color: rgb(0, 0, 0);">web </span></span><font color="#1e4f9e"><span style="color: rgb(0, 0, 0);">Mercator</span></font><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);"> as
 the northing and easting point and geographic extent which put my result out in some other area</span></span>.  I changed extent to web Mercator and got an good result.</p>
<p style=""><br>
</p>
<p style=""><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Though when I generate the plane
 with azimuth of 25 degrees and then run the aspect tool to </span><font color="#1e4f9e"><span style="color: rgb(0, 0, 0);">verify</span></font><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);"> the
 azimuth that reports 335, which looks like is because r.plane measures in counter clockwise direction where I am used to nort being zero and  then going clockwise.</span></span></p>
<p style=""><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);"><br>
</span></span></p>
<p style=""><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);">I
 would think the coordinate parameter on the plane would be used as a line of bearing and the result would slope up from that which is what I actually need so I need to figure out how to use this tool for my use.</span></span></p>
<p style=""><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);"><br>
</span></span></p>
<p style=""><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);">Initially
 before I found r.plane, I  had found a formula to calculate a constant sloping plane and was using several tools to create what I want but am not getting a correctly sloping plane, so hoping r.plane will work.  I am currently using this formula and the field
 calculator to create the values in an attribute table and then I rasterize the points using the field value:</span></span></p>
<p style=""><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);"><br>
</span></span></p>
<p style=""><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);"></p>
<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, "Courier New", monospace; font-size: 20px; line-height: 27px; white-space: pre;">
<div>height + \</div>
<div>   math.tan(math.radians(slope)) * \</div>
<div>   math.sin(math.radians(aspect)) <span style="color: rgb(206, 145, 120);">* longitude
</span>+ \</div>
<div>   math.tan(math.radians(slope)) * \</div>
<div>   math.cos(math.radians(aspect)) + latitude</div>
</div>
<br>
</span></span>
<p></p>
<p style=""><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);"><br>
</span></span></p>
<p style=""><span style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="color: rgb(0, 0, 0);">Luke</span></span></p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt;">
<br>
</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt;">
<b style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"></p>
<div></div>
<div><br>
</div>
<br>
</b>
<p></p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt;">
<b style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</b></p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt;">
<b style="color: rgb(30, 79, 158); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</b></p>
<br>
<br>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt;">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> QGIS-Developer <qgis-developer-bounces@lists.osgeo.org> on behalf of Sylvain POULAIN <sylvain.poulain@giscan.com><br>
<b>Sent:</b> Sunday, January 31, 2021 2:07 AM<br>
<b>To:</b> QGIS-Developer@lists.osgeo.org<br>
<b>Subject:</b> Re: [QGIS-Developer] Issues running Grass r.plane</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hi Luke,</div>
<div><br>
</div>
<div>Setting a region in Grass is really important. <br>
</div>
<div>In Grass tools : <br>
</div>
<div>- there is a panel tab where you can adjust region named "Region",<br>
</div>
<div>- you can also use g.region.multiple.raster from module tab,</div>
<div>- a shell is present in module tab to use grass commands.</div>
<div><br>
</div>
<div>In processing toolbox, setting region is embedded in tool.</div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><span style="color:rgb(30,79,158)"><b>Sylvain POULAIN</b></span><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le sam. 30 janv. 2021 à 04:30, Catania, Luke A ERDC-RDE-GRL-VA CIV <<a href="mailto:Luke.A.Catania@erdc.dren.mil">Luke.A.Catania@erdc.dren.mil</a>> a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Looking to use r.plane to create a slope of a constant plane.<br>
<br>
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?<br>
<br>
# set computational region<br>
g.region raster=elev_lid792_1m -p<br>
<br>
# get center coordinates as an example<br>
g.region -c<br>
# get terrain height at point<br>
r.what map=elev_lid792_1m coordinates=638650.0,220375.0<br>
# shows elevation: 116.7734<br>
<br>
# generate tilted plane<br>
r.plane myplane30 dip=30 az=75 east=638650.0 north=220375.0 \<br>
        elev=116.7734 type=FCELL<br>
<br>
Whe running it with the example input.<br>
<br>
r.plane sloping_plane dip=30 az=75 east=638650.0 north=220375.0 elev=116.7734 type=FCELL<br>
<br>
I just get a constant plane of the same height throughout, so not sure of that is an issue of not setting the region.<br>
<br>
Luke<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a>QGIS-Developer@lists.osgeo.org</a><br>
List info: <a rel="noreferrer">Blockedhttps://lists.osgeo.org/mailman/listinfo/qgis-developerBlocked</a><br>
Unsubscribe: <a rel="noreferrer">Blockedhttps://lists.osgeo.org/mailman/listinfo/qgis-developerBlocked</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>