[GRASS-user] How to find shortest distances from the

Markus Neteler neteler at osgeo.org
Sat May 9 03:19:56 EDT 2009


2009/5/9  <SGW00412 at nifty.com>:
> Dear All
>
> I thank for some useful advices.
>
> So, I tried to use the 'v.distance' command.
>
> Coordinate system of shoreline (300 lines) and the  investigation spot (259
> points) is wgs84.
>
> # calc distance
> v.distance from=investigation_points to=shoreline upload=dist column=distance
>
> # view table
> v.report map=investigation_points option=length
>
> cat|distance|length
> 1|0.008047|0
> 2|0.007871|0
> ....
> 258|0.001226|0
> 259|0.001249|0
>
> Column of distance includes decimal point...I don't understand why is it that
> value of the distance becomes the decimal point.
>
> I want to genereate distances in a kilometer and a meter.

Which projection are you using? Please tell us the
output of

g.proj -w

Markus


More information about the grass-user mailing list