[GRASSLIST:4914] Re: adding mile markers to curvy roads
Paul Kelly
paul-grass at stjohnspoint.co.uk
Tue Nov 23 07:08:27 EST 2004
On Tue, 23 Nov 2004, Dan Jacobson wrote:
> To use Mr. Mahoney's, idea I must first convert vector maps to raster.
> However, as the vector maps were made with v.in.dxf, they lack
> categories. As v.to.rast says, "An empty raster map layer will also be
> created if the vector map layer has not been assigned
> category/attribute labels (e.g., through use of the v.digit program)."
> However, the v.digit program is no place for Limited Edition brain me.
> One might think some variation of v.out.ascii|sed s/$/1/|v.in.ascii
> would give all my roads category 1, but of course there is no simple
> way.
I think v.llabel is the simple way to do this---have you tried it? If you
care which labels are assigned to which roads though, you would of course
need v.digit then.
More information about the grass-user
mailing list