[GRASS-user] v.delaunay and v.category problem
Richard Chirgwin
rchirgwin at ozemail.com.au
Thu Mar 31 16:36:33 EDT 2011
Andrea - try this in the Spearfish sample.
v.delaunay bugsites output=delaunay -l
- This kind of output produces the same issue that you're having.
v.to.points -v delaunay output=delpoints
- 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.
db.describe delpoints_2
v.db.select delpoints layer=2
Cheers,
Richard
On 1/04/11 3:00 AM, grass-user-request at lists.osgeo.org wrote:
> Message: 3
> Date: Thu, 31 Mar 2011 16:40:15 +0200
> From: Andrea Pogliaghi<andrea.pogliaghi at gmail.com>
> Subject: Re: [GRASS-user] v.delaunay and v.category problem
> To: Maris Nartiss<maris.gis at gmail.com>
> Cc:grass-user at lists.osgeo.org
> Message-ID:
> <AANLkTikEX50OEQnaGqo82soJ5w=qXz8+bocMW_=SkTnp at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> just to make it clearer.... if I do the above steps with v.delaunay, then I
> create the table with v.db.addtable and then I run v.category, it works
> fine.
> If I do the same steps with v.delaunay with the -l flag (and I have to,
> since I need the lines), then it doesn't.
>
> cheers
> Andrea
More information about the grass-user
mailing list