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

Dear all

I am a beginner of grass gis.

I want to find the shortest distances from the investigation point to the shor
eline.

I have investigation point and the shoreline as vector data.
( Of course I can convert them into raster data, respectively )

I read online help of grass gis.

So, I found two commands called 'r.distance' or 'v.distance'.

However, I do not understand whether these commands are appropriate.

Please teach me a processing method.

----
Yasuo shimada: Japan weather association, tokyo office.

2009/5/8 <sgw00412@nifty.com>:

Dear all

I am a beginner of grass gis.

I want to find the shortest distances from the investigation point to the shor
eline.

I have investigation point and the shoreline as vector data.
( Of course I can convert them into raster data, respectively )

The easiest way is to convert to raster and create a cost surface.
For a distance map, see
http://grass.osgeo.org/grass64/manuals/html64_user/r.cost.html
-> Shortest distance surfaces

For vector points, v.distance is appropriate.

Hope this helps
Markus