[GRASSLIST:1410] Re: Sites to Poly
Radim.Blazek at dhv.cz
Thu Feb 1 02:32:57 EST 2001
Jeshua Lacock wrote:
> I am trying to convert a site with 4 locations into a polyline and I
> am stumped. I import my site data with s.in.ascii, then I convert it
> to vector with s.to.vect and I am trying to build a polyline, I have
> tried v.build.polylines with no success. It creates lines from a
> location to the same location. It seems as if I need a
> v.point.to.line module or something.
> Here is what my sites look like:
> 523354.5000 3651123.50 SW
> 523321.5000 3664980.75 NW
> 534982.3125 3665015.50 NE
> 535031.8125 3651158.25 SE
v.build.polylines is intended for connecting line segments to polylines.
You need to convert your sites ascii file to vector ascii file and use
v.in.ascii. Vector ascii example:
DIGIT DATE: Wed Jan 24 09:09:24
MAP NAME: Output from v.patch
MAP SCALE: 2400
WEST EDGE: -735066.7082
EAST EDGE: 0
SOUTH EDGE: -1044921.63
NORTH EDGE: 0
MAP THRESH: 1.8288
!!! coordinates are in Y X order.
Read grass manual for detail info about vector ascii format.
> I simply want to create a polyline or line using these four segments.
> Any ideas on how to accompish this?
> | |
> | |
> Jeshua Lacock
> Telephone: (760) 935-4481
More information about the grass-user