[GRASS-dev] vector line coordinates

Yann Chemin ychemin at gmail.com
Wed May 14 03:36:15 PDT 2014


Hi,

I have a set of faults (lines made from 2 points only)
and my target is to calculate the distance from a city to all of the
faults in the region.

Ideally I would need the location (X,Y) of the mid-point of the line,
but if I can extract the two tipline nodes coordinates, then it is
half-way to it.

v.to.db has option=coor but it does not take type=line

Also, v.type does not convert line to point
v.type input=analysis output=analysis_pts from_type=line to_type=point

Yann

-- 
----


More information about the grass-dev mailing list