Ah this is probably what I'm looking for, thanks Achim<br><br>Will<br><br><div class="gmail_quote">2010/1/15 Achim Kisseler <span dir="ltr"><<a href="mailto:ak7@jupiter.uni-freiburg.de">ak7@jupiter.uni-freiburg.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Will,<br>
<br>
I think it is possible:<br>
building a network from boundaries with<br>
<a href="http://v.net" target="_blank">v.net</a><br>
<br>
and then using the report option in <a href="http://v.net" target="_blank">v.net</a><br>
it is not possible to update the table with these infos, but it is possible to save the results in a list, import this to your database and connect these infos to the table.<br>
<br>
Achim<br>
<br>
William Temperley schrieb:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Achim<div class="im"><br>
<br>
Thanks - but what I really want is a list of unique nodes (i.e. where three boundaries meet, there would be one node, with an id) and assign this id to the relevant boundaries. Perhaps that isn't possible. It might be easier to do this in PostGIS. I need to be able to run recursive queries in PostGIS to pick up connected boundaries.<br>
<br>
Cheers<br>
<br>
Will<br>
<br>
<br></div>
2010/1/15 Achim Kisseler <<a href="mailto:ak7@jupiter.uni-freiburg.de" target="_blank">ak7@jupiter.uni-freiburg.de</a> <mailto:<a href="mailto:ak7@jupiter.uni-freiburg.de" target="_blank">ak7@jupiter.uni-freiburg.de</a>>><div>
<div></div><div class="h5"><br>
<br>
Hi Will,<br>
<br>
for lines you can use<br>
<br>
v.to.db -p map=... option=start<br>
<br>
-p to print your result<br>
option=start to get start points<br>
option=end to get end points<br>
<br>
the result looks like<br>
cat|x|y|z<br>
...<br>
<br>
without -p you can upload the results to the table with:<br>
columns=x,y(,z)<br>
<br>
Hope it helps,<br>
Achim<br>
<br>
William Temperley schrieb:<br>
<br>
Hi all<br>
<br>
I've used Grass to build a topology out of a polygon shapefile,<br>
so far so good.<br>
I now need to export it as an arc-node topology (i.e. boundaries<br>
with startnode_id, endnode_id) which I will then use in PostGIS.<br>
<br>
Does anyone know of a way to get the nodes from the topology and<br>
attach these attributes to the boundaries?<br>
I know I can get the start/end coordinates, but I need the<br>
unique nodes and their ids.<br>
<br>
Thanks<br>
<br>
Will Temperley<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
grass-user mailing list<br></div></div>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a> <mailto:<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>><div class="im">
<br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br>
<br>
</div></blockquote>
</blockquote></div><br>