How to do a "variety" statistic for polygons

433
1
01-26-2012 09:01 PM
KimberlyHouse
New Contributor
I have a layer of polygons and a layer of points. Points with common x,y coordinates are "stacked" upon each other, and they have an attribute called "species" which I am interested in. Every different species has a unique identifier. Several points may lie within a single polygon. I would like to know the diversity of species within each polygon (I believe accomplished via a variety statistic - each species has a unique identifier). Does anyone know how to do this? I know that I can use a "point statistic" to determine the diversity for a single (x,y), but I want the diversity assigned to the polygon based on all of the points intersecting with it.
0 Kudos
1 Reply
SimonPerron
New Contributor II
Have you already tried to use the ''Spatial Join''? (right-click on your layer, then join ''Join''. Instead of ''Join by attribute'', chose ''Spatial Join'')
This could allow you to add fields to your point layer, saying in which polygon they are contained.
You could do it on the point layer in order to obtain a new point layer containing the polygon's attributes in which the point is contained.
If you only need a count by polygon (how many points are contained inside a polygon), you could ''summarize'' (right-click on the layer, then Summarize) your data on the Polygon ID.

Or you could install the 'Hawth's Analysis Tools for ArcGIS' and use the function 'COUNT POINTS IN POLYGONS TOOL'.

If you need to count a specie only once by polygon, you would need to do something equivalent to a sql ''group by'' on your point layer. You could instead try to ''dissolve'' (toolbox) your point layer based on on polygon ID and speciesID. It could remove (not sure) the duplicate species in a polygon (select the multiparts option). Then you could 'Summarize''.
0 Kudos