Skip to main content
Question

Group records together based on order

  • August 23, 2018
  • 2 replies
  • 48 views

Forum|alt.badge.img

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?

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.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3698 replies
  • August 23, 2018

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.


takashi
Celebrity
  • 7842 replies
  • August 24, 2018

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: