<html style="direction: ltr;">
<head>
<meta content="text/html; charset=windows-1255"
http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="preferred-charset"
bgcolor="#FFFFFF" text="#660000">
<div class="moz-cite-prefix">On 31/10/2012 06:02, Stephen Roecker
wrote:<br>
</div>
<blockquote
cite="mid:CAGcGWcqKfM0FDd8AZWTyD4+KCdOCjGEeWe26sh+w0sNvNqXjPA@mail.gmail.com"
type="cite">Is their a simple way to convert the aspect raster
produced from r.param.scale to the conventional geographic
convention of 0 to 360, rather than 0 to +/-180? I see that this
issue has been discussed before, but the previous threads solution
was specific to r.slope.aspect and the programming was frankly
beyond my understanding.<br>
<br>
<a moz-do-not-send="true"
href="http://osgeo-org.1560.n6.nabble.com/Aspect-direction-in-r-slope-aspect-td3918139.html">http://osgeo-org.1560.n6.nabble.com/Aspect-direction-in-r-slope-aspect-td3918139.html</a><br>
<br>
Is their a simple solution that doesn't involve reclassifying the
raster?<br>
<br>
</blockquote>
<br>
I think this mapcalc expression will convert an r.param.scale aspect
map to the "conventional" north=0, clockwise angles:<br>
r.mapcalc aspect0to360 = "if(aspect >= 90, aspect - 90, aspect +
270)"<br>
<br>
<blockquote
cite="mid:CAGcGWcqKfM0FDd8AZWTyD4+KCdOCjGEeWe26sh+w0sNvNqXjPA@mail.gmail.com"
type="cite">Thanks,<br>
<br>
Stephen<br>
<br>
<br>
This mail was received via Mail-SeCure System.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
GIS Consulting
052-3665918
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a>
</pre>
</body>
</html>