[GRASS-user] Re: Points in a vector-map (stn)

Richard Chirgwin rchirgwin at ozemail.com.au
Tue Jun 29 21:00:26 EDT 2010


>
> Message: 2
> Date: Tue, 29 Jun 2010 09:25:26 +0200
> From: stn <stneumann at web.de>
> Subject: [GRASS-user] Points in a vector-map
> To: GRASS user list <grass-user at lists.osgeo.org>
> Message-ID:
> 	<AANLkTikGUU7zNiJ-lsgvX2zgzWxF_QzMUee6VNahgs2i at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> how can I identify which point lies in which polygon?
>
> The points are in an ascii-table, each with latitude, longitude and some
> other attributes like name, altitude and id-number.
> The vector-map is a map with political boundaries found in the vmap0-dataset
> at http://www.gdf-hannover.de/gis.php?id=5
>
> THX,
> stn

Use v.distance from points to polygon, and store a polygon attribute 
(such as cat) in the points table.

Richard


More information about the grass-user mailing list