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

Markus Neteler neteler at osgeo.org
Fri May 8 14:39:17 EDT 2009


2009/5/8  <sgw00412 at 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


More information about the grass-user mailing list