<div dir="ltr"><div><div><div>Ok Moritz,<br><br></div>Thanks for the tips. I'll try to go the centroids way<br><br></div>Cheers<br></div>Daniel<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 3, 2015 at 5:35 AM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/03/15 21:39, Daniel Victoria wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi list,<br>
<br>
I'm beginning to learn and use the <a href="http://v.net" target="_blank">v.net</a> <<a href="http://v.net" target="_blank">http://v.net</a>> tools in Grass<span class=""><br>
in order to evaluate the distance from several crop fields to a<br>
processing plant.<br>
<br>
I've successfully build the road network with the end nodes but now I'm<br>
in doubt. My starting points in the analysis are crop fields, which are<br>
polygons. So what is the best (or most common) practice?<br>
<br>
1) Use the field centroids as starting nodes?<br>
2) Add field polygon boundaries to the network and run v.net.distance<br>
backwards (from mill to fields)?<br>
3) Some other option?<br>
</span></blockquote>
<br>
<br>
I don't think that there is a best practice for this. It all depends on your application and the desired outcome. Do you want average time/distance from anywhere in the field to the plant ? Then probably the centroid is ok. Or do you want distance from the point of the field that is closest to the network ? Then you could get the coordinates of that point through v.distance (with upload=to_x,to_y) and use these points as nodes.<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Also, if I'm to add the field boundaries to the network, how would I go<br>
about it? Should I first v.patch the field with the roads layer and then<br></span>
run <a href="http://v.net" target="_blank">v.net</a> <<a href="http://v.net" target="_blank">http://v.net</a>>?<br>
</blockquote>
<br>
Adding field boundaries still does not answer the question of where to put the start/stop point of your paths...<br>
<br>
If you want to add them to the network then yes, patching would be the best option, AFAIK.<br>
<br>
Moritz<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks<br>
Daniel<br>
<br>
<br>
______________________________<u></u>_________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/grass-user</a><br>
<br>
</blockquote>
<br>
<br>
</blockquote></div><br></div>