Question

Group records together based on order

  • 23 August 2018
  • 2 replies
  • 1 view

Badge

I have a polygon shapefile with imagery footprints but with image name blank ('Text') and a point shapefile that has an image name ('Text'). There is no common attribute to link them together but if I use the NaturalSorter transformer on the EntityHand attribute then there is logic how they are linked together. Records 1 and 2 are linked, as are 3 and 4 etc. How do I then group records 1-2, 3-4, 5-6, 7-8 and so on together to conflate the two datasets?


2 replies

Userlevel 5
Badge +25

If it's always 2 consecutive records that need to be grouped the Grouper custom transformer can do that.

However, looking at the example you post I would think 5, 6 and 7 are to be grouped.

Userlevel 2
Badge +17

Hi @kyle_d_wade, I think that you can apply a combination of the Enable Adjacent Feature Attributes option and a conditional value setting with the AttributeCreator or the AttributeManager effectively after sorting the features by EntityHand, as in:

Reply