Question

Clone a polygon x times

  • 2 June 2017
  • 1 reply
  • 2 views

Badge +10

I have one polygon intersecting a pole. There are 2911 features on this pole feature class, there's only one polygon. After the pole feature class reader, I have a counter that counts the features, I want to use the max count of the counter to pass to the polygon cloner. See workspace below. My cloner number of copies is manually typed. I know I can use the statscalculator, but I'm looking for other options. The rest of the workspace - offsetting coor0 of each cloned polygon to a pole already works.


1 reply

Userlevel 2
Badge +17

Hi @salvaleonrp, a possible way is to use a FeatureMerger (point -> Requestor, polygon -> Supplier) with these parameters.

  • Join On: 1 to 1 (unconditional merging)
  • Feature Merge Type: Attributes and Geometry
  • Accumulation Mode: Merge Supplier
  • Conflict Resolution: Use Supplier

There should be several ways. Hope someone posts other approaches to be discussed.

Reply