I want to make a simple webgis apps using JS where I can select some points using arbitrary polygon. Once polygon is drawn, there is a popup showing how many points fall inside it.
Further more, I need to be able to pass this count into another app.
I have prepared:
- 2 Feature services, one being polygon and the other on point
Can anyone show me some directions ? What spatial analysis is needed for this ? Possibly intersect right ?