Skip to main content
Question

Assigning points to overlapping buffers

  • February 13, 2020
  • 6 replies
  • 49 views

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

6 replies

ebygomm
Influencer
Forum|alt.badge.img+38
  • Influencer
  • February 13, 2020

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


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • February 13, 2020

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.


Forum|alt.badge.img+2
  • February 13, 2020

@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.


  • Author
  • February 16, 2020
markatsafe wrote:

@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


ebygomm
Influencer
Forum|alt.badge.img+38
  • Influencer
  • February 17, 2020
david_h wrote:

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.


  • Author
  • February 18, 2020
ebygomm wrote:

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings