Hi Richard, I tried your workaround and it works... thanks, it is exactly what I needed.
I still wonder why the v.db.addtable and v.category doesn't work on v.delaunay -l.... Anyway the solution you suggested works fine. Thank you for you help! andrea On Thu, Mar 31, 2011 at 10:36 PM, Richard Chirgwin <[email protected] > wrote: > 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, [email protected] wrote: > >> Message: 3 >> Date: Thu, 31 Mar 2011 16:40:15 +0200 >> From: Andrea Pogliaghi<[email protected]> >> Subject: Re: [GRASS-user] v.delaunay and v.category problem >> To: Maris Nartiss<[email protected]> >> Cc:[email protected] >> Message-ID: >> <[email protected]> >> 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 >> > > >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
