Question

Merges polygon features based on a specified distance and field values

  • 28 February 2018
  • 4 replies
  • 19 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

Badge
Have you got the licence for MergeAggregate in Arcgis?

 

Userlevel 2
Badge +17

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

Badge +16

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

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

Reply