Skip to main content

Hello, I am using the bufferer tool to flow through as the filter to a Spatial filter transformer. The candidate layer is a point feature dataset.

I am running into a problem when the buffered areas are overlapping (see screenshot) I need the point layer features to populate in each different buffered area. The output I am using is a fan out to CSV based on the ident of the created buffer and need the point layer to be included in each of the buffers.

Currently the points are only appearing in one of the overlapping areas and being left out of the remaining overlapping areas

To summarise, if 1 point feature is contained in many buffer areas I need this point feature be outputted to all buffer areas in the FAN out CSV file.

Screen shot – green points are the centre of the buffer (filter) red points are the points the candidate is using

Thanks

 

David

Instead of the spatial filter, look at the spatial relator or a point on area overlayer. Both will allow you to build a list of all the buffered areas a point falls within, you can then explode this list so you have a point per buffered area.

If you are only buffering for the purpose of establishing points within a certain distance, you could also look at the neighbour finder transformer which would mean you don't have to buffer at all


Instead of using a SpatialFilter, use a SpatialRelator and explode the resulting list, so you end up with one point for each of the overlapping buffers.


@david_h SpatialRelator or also try PointOnAreaOverlayer - it might give slightly better performance depending on the data and particularly if you can re-order your readers to that the areas are read first. Then use the Areas First : Yes parameter.


@david_h SpatialRelator or also try PointOnAreaOverlayer - it might give slightly better performance depending on the data and particularly if you can re-order your readers to that the areas are read first. Then use the Areas First : Yes parameter.

Thank you everyone for your help.

I have managed to run a workflow using your advice and I can see in the feature information window, there are multiple related candidates for different points with the correct areas but I can seem to extract this information out into an output. (sorry I have only been using FME for about 3 weeks


Thank you everyone for your help.

I have managed to run a workflow using your advice and I can see in the feature information window, there are multiple related candidates for different points with the correct areas but I can seem to extract this information out into an output. (sorry I have only been using FME for about 3 weeks

You need to use a ListExploder to explode the related candidates list. This will duplicate the feature for each related area which you can then send to your writer and fanout by area.


You need to use a ListExploder to explode the related candidates list. This will duplicate the feature for each related area which you can then send to your writer and fanout by area.

Great! Thank you all again - I have
achieved the desired result!


Reply