Skip to main content

Hello Forum,

I am experiencing an unexpected problem with what should be a simple point in polygon search process in FME Form.

 

I have a Creator connecting to…

FeatureReader -  reading in a point dataset of 16255 records

FeatureReader - reading in a polygon dataset, which covers a smaller area of what the points do

 

 

The two FeatureReaders feed into a PointOnAreaOverlayer.

 

But when I run the workspace 16255 point records are found. The number should be far smaller.

 

Thanks.

 

Hi ​@scarter All points will pass through the PointOnAreaOverlayer.  Maybe you want to use a SpatialFilter?  Both transformers are similar.  With the PointOnAreaOverlayer, check the value of “_overlaps” and then filter on that with a Tester.


Thanks for that, ​@DanAtSafe . Yes, the SpatialFilter done the job. It’s clearly more straight forward for point in polygon queries.

 

Noted on the need for _overlaps tester when using the PointOnAreaOverlayer.

 

Thanks again.