[GRASS-dev] G7: how to extract nodes from vector map?
Markus Neteler
neteler at osgeo.org
Mon Mar 10 10:56:36 PDT 2014
On Mon, Mar 10, 2014 at 6:16 PM, Martin Landa <landa.martin at gmail.com> wrote:
> 2014-03-10 16:55 GMT+01:00 Markus Neteler <neteler at osgeo.org>:
>
>> v.to.points input=aspect_grid output=aspect_grid_nodes use=node
>> type=boundary --o
>> ## --> No: v.to.points complete. 0 points written to output vector map.
>>
>> ... no idea.
>
> that's because the module skips features without category [1], so
> `layer=-1` is your friend. I would say that current behaviour is very
> confusing even for power user...
thank for the new warning in the code.
> Or `type=area use=vertex` + `v.clean tool=rmdupl`
Honestly, still not that obvious...
I first searched in v.extract, perhaps have a new flag there to allow
that when type=point the extraction can be set to nodes or vertices?
Markus
> [1] http://trac.osgeo.org/grass/browser/grass/trunk/vector/v.to.points/main.c#L205
>
> --
> Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
More information about the grass-dev
mailing list