[GRASS-dev] G7: how to extract nodes from vector map?

Martin Landa landa.martin at gmail.com
Mon Mar 10 10:16:11 PDT 2014


Hi,

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...

Or `type=area use=vertex` + `v.clean tool=rmdupl`

Martin

[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