Skip to main content
Question

Merges polygon features based on a specified distance and field values

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

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

 


takashi
Celebrity
  • 7843 replies
  • 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+18
  • Supporter
  • 1442 replies
  • 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