Hi Richard,<br><br>I tried your workaround and it works... thanks, it is exactly what I needed.<br><br>I still wonder why the v.db.addtable and v.category doesn&#39;t work on v.delaunay -l.... <br><br>Anyway the solution you suggested works fine.<br>
<br>Thank you for you help!<br><br>andrea<br><br><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 10:36 PM, Richard Chirgwin <span dir="ltr">&lt;<a href="mailto:rchirgwin@ozemail.com.au">rchirgwin@ozemail.com.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Andrea - try this in the Spearfish sample.<br>
<br>
v.delaunay bugsites output=delaunay -l<br>
<br>
- This kind of output produces the same issue that you&#39;re having.<br>
<br>
v.to.points -v delaunay output=delpoints<br>
<br>
- This creates point at line vertices, with a database connection on layer 2. The database includes &quot;along&quot;, which is how far the new point is along the line. Since the points are at the vertices, this should be the same as the line length.<br>

<br>
db.describe delpoints_2<br>
v.db.select delpoints layer=2<br>
<br>
Cheers,<br>
Richard<br>
<br>
On 1/04/11 3:00 AM, <a href="mailto:grass-user-request@lists.osgeo.org" target="_blank">grass-user-request@lists.osgeo.org</a> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Message: 3<br>
Date: Thu, 31 Mar 2011 16:40:15 +0200<br>
From: Andrea Pogliaghi&lt;<a href="mailto:andrea.pogliaghi@gmail.com" target="_blank">andrea.pogliaghi@gmail.com</a>&gt;<br>
Subject: Re: [GRASS-user] v.delaunay and v.category problem<br>
To: Maris Nartiss&lt;<a href="mailto:maris.gis@gmail.com" target="_blank">maris.gis@gmail.com</a>&gt;<br>
<a href="mailto:Cc%3Agrass-user@lists.osgeo.org" target="_blank">Cc:grass-user@lists.osgeo.org</a><br>
Message-ID:<br>
        &lt;AANLkTikEX50OEQnaGqo82soJ5w=qXz8+bocMW_=<a href="mailto:SkTnp@mail.gmail.com" target="_blank">SkTnp@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<div class="im"><br>
<br>
just to make it clearer.... if I do the above steps with v.delaunay, then I<br>
create the table with v.db.addtable and then I run v.category, it works<br>
fine.<br>
If I do the same steps with v.delaunay with the -l flag (and I have to,<br>
since I need the lines), then it doesn&#39;t.<br>
<br>
cheers<br>
Andrea<br>
</div></blockquote>
<br>
<br>
</blockquote></div><br>