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'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"><<a href="mailto:rchirgwin@ozemail.com.au">rchirgwin@ozemail.com.au</a>></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'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 "along", 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<<a href="mailto:andrea.pogliaghi@gmail.com" target="_blank">andrea.pogliaghi@gmail.com</a>><br>
Subject: Re: [GRASS-user] v.delaunay and v.category problem<br>
To: Maris Nartiss<<a href="mailto:maris.gis@gmail.com" target="_blank">maris.gis@gmail.com</a>><br>
<a href="mailto:Cc%3Agrass-user@lists.osgeo.org" target="_blank">Cc:grass-user@lists.osgeo.org</a><br>
Message-ID:<br>
<AANLkTikEX50OEQnaGqo82soJ5w=qXz8+bocMW_=<a href="mailto:SkTnp@mail.gmail.com" target="_blank">SkTnp@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<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't.<br>
<br>
cheers<br>
Andrea<br>
</div></blockquote>
<br>
<br>
</blockquote></div><br>