[GRASSLIST:4868] adding mile markers to curvy roads

Dan Jacobson jidanni at jidanni.org
Wed Nov 17 17:41:50 EST 2004


I have a bunch of roads that I want to place mile markers on.
Actually they are curvy streets that I want to place markers every 50
meters along.  OK if just a dot, but even better if a computed number.
They will be the guide for house number planning by distance, not grid,
appropriate for mountainous areas.

I have managed to put the map on the screen
wget http://www.moiland.gov.tw/land/map/25k_file/95211SW.EXE
unzip 95211SW.EXE
find *.dxf -exec v.in.dxf dxf={} \; #and even uglier:
g.list type=vect|xargs -n1|grep 95211sw|sed s/^/'v.support map='/|sh -e
g.region w=224000 e=229000 s=2686500 n=2689000
#	v.cadlabels?
g.list type=vect|xargs -n1|grep 95211sw04|grep -v TXT|\
sed 's/^/d.vect map=/'|sh -e

Now how can I recursively go down each branching road placing markers
every 50 meters? I will give an origin point...




More information about the grass-user mailing list