Skip to main content
Solved

I want to perform an operation where I want to add a new attribute which will have value of next 23rd feature from existing attribute. Is there any quicker way to do this without enabling "Adjacent features Attributes"?

  • May 13, 2023
  • 5 replies
  • 33 views

I want to perform an operation where I want to add a new attribute which will have value of next 23rd feature from existing attribute. Is there any quicker way to do this without enabling "Adjacent features Attributes"?

Best answer by nielsgerrits

Could you please help how to set offset in attribute creator. Thank you so much in advance!

@evaluate(@value(_count)+23)

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.

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+62

How about a counter to give each row a number, attributecreator to create an offset number (number +23), bulkattributerenamer to rename all attributes, featuremerger to merge the features with the renamed attributes based on number and offset number.


How about a counter to give each row a number, attributecreator to create an offset number (number +23), bulkattributerenamer to rename all attributes, featuremerger to merge the features with the renamed attributes based on number and offset number.

Could you please help how to set offset in attribute creator. Thank you so much in advance!


nielsgerrits
VIP
Forum|alt.badge.img+62
  • Best Answer
  • May 13, 2023

Could you please help how to set offset in attribute creator. Thank you so much in advance!

@evaluate(@value(_count)+23)


Could you please help how to set offset in attribute creator. Thank you so much in advance!

Thank you so much for the help! Really appreciated.


nielsgerrits
VIP
Forum|alt.badge.img+62

Could you please help how to set offset in attribute creator. Thank you so much in advance!

The FeatureMerger is a blocking transformer too, but I think this is a more efficient solution than the adjacent features route.