[GRASS-user] Site in Polygon Query

Hamish hamish_nospam at yahoo.com
Wed May 23 21:30:13 EDT 2007


Stefano Costa wrote:
> even though it has not the same exact functionality you are looking
> for, you might find useful the script I wrote a few days ago:
> http://wiki.iosa.it/dokuwiki/spatial_analysis:feature_count
> 
> With a few adjustments it should work also for you (in fact, this
> script does more than you need because it also counts how many points
> are included in each polygon).


idea: add a flag to optionally divide the number of points by the
polygon's area, so you get site density. Lots of points in a polygon may
just mean that the polygon is big. (just looking at your screenshots)



(get polygon area from v.to.db; results DOUBLE PREC)


Hamish




More information about the grass-user mailing list