Skip to main content
Question

Merges polygon features based on a specified distance and field values

  • February 28, 2018
  • 4 replies
  • 66 views

Hi,

What would be the equivalent in FME of the ArcGIS "MergeAggregate" function which allows to merge polygon features based on a specified distance and field values?

Thank you

4 replies

Forum|alt.badge.img
  • March 1, 2018
Have you got the licence for MergeAggregate in Arcgis?

 


takashi
Supporter
  • March 1, 2018

Hi @bergeronfrank, if your requirement is to aggregate polygons which have an identical value in a specified attribute (e.g. "_group") and also are within a specified distance (e.g. "_distance") each other, this workflow might help you.

  1. Bufferer (Group By: _group, Buffer Amount: _distance * 0.5): Create buffers of the polygons. The buffers that belong to the same "_group" and touch or overlap each other will be dissolved here.
  2. Counter: Add sequential number to the buffers as temporary ID (e.g. "_id").
  3. SpatialFilter: Send the buffers to the Filter port, send the original polygons to the Candidate port, make sure that the Merge Attributes option is checked. With this setting, "_id" of a buffer will be transferred to the polygons within it.
  4. Aggregator (Group By: _group, _id): Aggregate the polygons output from the Passed port of the SpatialFilter, grouping by "_group" and "_id".


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • March 1, 2018

You can also calculate the distance between features and aggregate via the neighborhoodaggregator.


Thank you @takashi and @itay. I will try your recommendations


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