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"?


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

rushabhgulalkar wrote:

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

@evaluate(@value(_count)+23)

View original
Did this help you find an answer to your question?

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

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.


nielsgerrits wrote:

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+54
rushabhgulalkar wrote:

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

@evaluate(@value(_count)+23)


rushabhgulalkar wrote:

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+54
rushabhgulalkar wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings