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

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.

Give me some more advice...

Yasuo shimada

2009/5/9 <SGW00412@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

Are your mapset projection in meters our latlong?

2009/5/9 <SGW00412@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.

Give me some more advice…

Yasuo shimada


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user