[GRASS-user] Points in a vector-map
Markus Neteler
neteler at osgeo.org
Wed Jun 30 17:31:35 EDT 2010
On Tue, Jun 29, 2010 at 9:25 AM, stn <stneumann at web.de> wrote:
> 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
I don't know an elegant solution to this but you may
create the list of polygon categories with v.categories and print method,
then loop over the polygons to run v.extract + v.select on each
extracted polygon.
Likely there are better solutions!
Markus
More information about the grass-user
mailing list