[GRASSLIST:9125] Re: Line to point
Trevor Wiens
twiens at interbaun.com
Thu Nov 17 17:15:07 EST 2005
On Thu, 17 Nov 2005 15:58:43 -0500
"Jonathan Aguero" <jua130 at psu.edu> wrote:
> Dear Listers
>
> I need to create a new point vector layer where the points are located in
> the middle point of each line in a line vector layer.
>
> It is something like line to point where the point is located in the middle
> of the line (and keep the attributes of the line).
>
> Any idea of how to do that in GRASS 6.1
>
I've never done this before but think you should be able to use v.to.db to come up with the distances
to middle of each line and load that to the attribute table and then use v.to.db in conjunction with v.segment to create a point file based on those mid points.
Someone else on the list might have a better idea, but that is where I would start.
T
--
Trevor Wiens
twiens at interbaun.com
The significant problems that we face cannot be solved at the same
level of thinking we were at when we created them.
(Albert Einstein)
More information about the grass-user
mailing list