Skip to main content
Solved

Using lists efficiently

  • October 30, 2024
  • 2 replies
  • 39 views

aaronp_osni
Contributor
Forum|alt.badge.img+3

Hi folks,

I’m hoping this is relatively straightforward and I’m making this more difficult than it seems. I’m collecting images in the field and trying to store the images as blobs in a database. There can be up to 6 images for each property. In the below example only 3 images were collected. I’ve got to the point in my workspace where I’ve joined the images (as blobs) to the survey data, but I’ve got 3 features instead of one. I have a unique survey id. How do merge the data so that I have one feature, with up to 6 images stored as blobs? I’m trying and failing to use lists in the most efficient way possible; via the Aggregator then List Element Filter, then somehow bring the data back together, but this is the point I’m stuck on. Any help is greatly appreciated.

 

Many thanks,

Aaron

Best answer by ebygomm

If you use the NullAttributeMapper to map the values that are currently zeros to missing, and then in the aggregator ensure the Attribute Accumulation is set to Merge Incoming Attributes you should get the output you want

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

2 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • Best Answer
  • October 30, 2024

If you use the NullAttributeMapper to map the values that are currently zeros to missing, and then in the aggregator ensure the Attribute Accumulation is set to Merge Incoming Attributes you should get the output you want


aaronp_osni
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • October 31, 2024

This worked!!! Thanks so much for your help!!

 


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