<br> Tanya wrote:<div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><br></div><div>I am trying to run the grow.distance command to create a raster that displays the euclidean distance from an &#39;orchard&#39; outward to 1108m.  I am not trying to measure the distance between 2 non-null features, but simply wish to have the euclidean distance extend out from the orchard to 1108m. </div>
<div><br></div><div><br></div></div></div></blockquote><div><br></div><div> I don´t know r.grow.distance or why it is not working for you, but every time I need distance rasters, I use the procedure found in the GRASS book, as follows:</div>
<div><br></div><div><div>r.mapcalc area1=1</div></div><div><div>r.cost -k in=area1 out=distance_to_orchard start_rast=orchard_location  --o --q</div><div>r.mapcalc  &quot;distance_to_orchard=distance_to_orchard * (ewres() + nsres())/2.&quot;</div>
</div><div><br></div><div>It is an approximate measure, but you can evolve this idea for a better solution for your case. Then you only need to use your buffer as a mask to get the final raster you want or simply use:</div>
<div><br></div><div>r.mapcalc &quot;final_raster=if(distance_to_orchard&lt;=1108,distance_to_orchard,null())&quot;</div><div><br></div><div>Hope it helps.</div><div>Cheers,</div><div>Marcello.</div></div></div>