I'm trying to calculate summary statistics for a subset of a point feature, based on selecting by location. I'm using a feature selection iterator to get statistics for each polygon feature in the 'polygons shp', and merging the summary statistics to a final table.
So far the summary statisitics can be calculated, but I'm looking for a way to get a field in the final output table that shows the name (or other field) from the iterated polygon. Without this, I have statistics based on a selected location, but I don't know which location this refers to.
I know that I could do a spatial join for the selecting polygon and point feature, then use that in the summary stats, however, the dataset is very large, and this is likely to take a long time. Hence my reluctance to copy the datasets and then do a large spatial join.
How can I carry this information through to the final output stats?