[GRASS-user] v.delaunay and v.category problem

Andrea Pogliaghi andrea.pogliaghi at gmail.com
Fri Apr 1 04:18:51 EDT 2011


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 <rchirgwin at ozemail.com.au
> 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, 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
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110401/a6b6bebd/attachment-0001.html


More information about the grass-user mailing list