[GRASS-user] Points in a vector-map

Daniel Victoria daniel.victoria at gmail.com
Wed Jun 30 20:31:19 EDT 2010


Or how about converting the polygons to raster and then run
v.what.rast to add a collumn with the polycon categorie value? Or even
better, v.what.vect?

Or did I misunderstand the question?

Daniel

On Wed, Jun 30, 2010 at 6:31 PM, Markus Neteler <neteler at osgeo.org> wrote:
> 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
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>


More information about the grass-user mailing list