Hi Achim<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 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>
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>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Hi all<br>
<br>
I've used Grass to build a topology out of a polygon shapefile, so far so good.<br>
I now need to export it as an arc-node topology (i.e. boundaries 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 attach these attributes to the boundaries?<br>
I know I can get the start/end coordinates, but I need the unique nodes and their ids.<br>
<br>
Thanks<br>
<br>
Will Temperley<br>
<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<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/mailman/listinfo/grass-user</a><br>
</blockquote>
</blockquote></div><br>