[GRASS-dev] v.to.db: next/prev line

Martin Landa landa.martin at gmail.com
Tue May 7 23:29:22 PDT 2019


Hi,

I wonder whether there is a tool in GRASS which enables writing to
attribute table information about next/previous lines. Basically info
about next_right_edge/next_left_edge.

My idea is to extend `v.to.db` option `sides` to work also for lines.

v.to.db mysoils option=roads columns=left,right layer=2

would write into `left` column next_left_edge line category, similarly
for `right` column.

Does it make sense to you or I am simply overlooking some existing
tool in GRASS?

Thanks, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-dev mailing list