Skip to main content
Solved

Spatial Join

  • November 21, 2019
  • 2 replies
  • 39 views

Hi FME'er

I have created a shape file of crime data and I also have a boundary shape file of the neighborhood. I want to create a heat map to analyze which neighborhood has the most number of crimes for which i will be needing the count of total number of crimes that have taken place in that particular neighborhood. But i don't know how should I proceed to be able to do a spatial join and to calculate the count of crime points in each neighborhood polygon such that the output polygon will have an attribute field of the sum of the crime count.

Any help and guidance will be much appreciated. Thanks in advance

Best answer by ebygomm

You can use a point on area overlayer for this. The overlap count attribute will report the number of points in each polygon

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • Best Answer
  • November 21, 2019

You can use a point on area overlayer for this. The overlap count attribute will report the number of points in each polygon


mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • November 22, 2019

As @ebygomm says, the PointOnAreaOverlayer is the transformer for this. In case you want more information on this - and similar - techniques, I'd like to point you to some of our GIS tutorials here: https://knowledge.safe.com/articles/27998/tutorial-common-gis-operations.html

That tutorial covers a whole range of different spatial measurement and analysis techniques, and is very useful for scenarios like this.