<div dir="ltr">Markus,<div><br></div><div>Thank you for the suggestions. I ran the following commands nine times on the data, with thresholds .00000000000000000001, 0.0000000001, 0.0000001, 0.00001, 0.01, 0.1, 1, 10, and 100. Let me know if I'm not going small enough.</div><div><br></div><div>v.clean --overwrite input=roads output=roads_snap -c tool=snap thresh=[see above]</div><div><a href="http://v.net">v.net</a> --overwrite input=roads_snap points=schools output=network operation=connect thresh=1000</div><div>v.net.alloc --overwrite input=network output=network_allocation ccats=1-2</div><div><br></div><div>I did not get a complete allocation of road segments from any of them, and as far as I can tell it got stuck at the same vertices on each run. </div><div><br></div><div>I will email you a link to the data off-list, thanks for taking a look.</div><div><br></div><div>-Sam</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 4, 2016 at 3:53 PM, Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@gmail.com" target="_blank">markus.metz.giswork@gmail.com</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 Tue, Oct 4, 2016 at 5:09 PM, Sam Snellings <<a href="mailto:ssnellings@gmail.com">ssnellings@gmail.com</a>> wrote:<br>
> I've been running some trials through v.net.alloc using town road networks<br>
> as the arc layer and schools as the node layer. I have one set of<br>
> roads/schools that breezes through v.net.alloc without issue (Town 1), while<br>
> another one only allocates the first few arcs connected to each school and<br>
> leaves the rest of the network unallocated (Town 2). There is probably a<br>
> problem with the data from Town 2, but I can't figure out what it is. Does<br>
> this issue sound familiar to anyone?<br>
><br>
> I am using the GUI. I load each pair of shapefiles into GRASS and then run<br>
> the following statements (I only import two school points to simplify). The<br>
> two towns are pulled right from the state-wide GIS office, but the towns are<br>
> in different states (ie - different agencies provide the data).<br>
><br>
</span>You do not need this for v.net.alloc:<br>
> <a href="http://v.net" rel="noreferrer" target="_blank">v.net</a> input=roads output=road_nodes operation=nodes<br>
it will create a point for every node, the first point will have<br>
cat=1, the second cat=2 which collides with the points you want to<br>
attach<br>
<span class=""><br>
> <a href="http://v.net" rel="noreferrer" target="_blank">v.net</a> input=road_nodes points=schools output=network operation=connect<br>
> thresh=1000<br>
<br>
</span>rather use<br>
<a href="http://v.net" rel="noreferrer" target="_blank">v.net</a> input=roads points=schools output=network operation=connect thresh=1000<br>
<br>
> v.net.alloc input=network output=network_allocation ccats=1-2<br>
<br>
the real problem is probably a data problem: roads are not properly<br>
connected, i.e. the end of one road does not match the beginning of<br>
another road. Try v.clean input=roads output=roads_snap -c tool=snap<br>
with a very small threshold. This kind of error is quite common with<br>
shapefiles (not a fault of the shapefile format but of the software<br>
used to create the shapefiles).<br>
<span class=""><br>
><br>
> Thanks in advance for any advice, I can also email images/data if that would<br>
> be helpful.<br>
<br>
</span>If v.clean -c tool=snap does not help, (links to) original data of the<br>
schools and road network for Town 2 would be helpful (data please only<br>
off-list).<br>
<br>
Markus M<br>
</blockquote></div><br></div>