[GRASSLIST:4874] Re: adding mile markers to curvy roads

Radim Blazek blazek at itc.it
Thu Nov 18 03:16:59 EST 2004


v.distance (to get starting point) + v.segment + some script.
Maybe also v.build.polylines.

Radim

Dan Jacobson wrote:
> 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