Skip to main content

Helo FME Users, I am using FME for my data processing tasks, and I am trying to determine the number of points that fall within each polygon in my dataset.

Specifically, I have a set of polygons and a corresponding set of points distributed across a geographic area. My objective is to count the number of points contained within each polygon. However, I am unsure about the most efficient way to achieve this using FME.

Thank you in advance for your time and expertise.

image

You can use the SpatialRelator, which will give you an overlaps count.


You can use the SpatialRelator, which will give you an overlaps count.

Thank you for your response @dustin​. I would like to give all the points a unique value that are within a dissolved polygon of 500m.


You can use an PointonAreasOverlayer transformer - if the Buffer has Attributes that are unique - u can use "merge attributes" in the pointonaresoverlayer transformer to give the attributes from the buffer area to the points.

if our buffer areas didnt have a uniqe number or value - you can make an easy number with the counter transformer - use it for your buffer areas to give them an "_counter"-attribute = numbers.

 

 

 


Reply