Skip to main content
Solved

Using lists efficiently

  • October 30, 2024
  • 2 replies
  • 51 views

aaronp_osni
Contributor
Forum|alt.badge.img+4

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

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

ebygomm
Influencer
Forum|alt.badge.img+46
  • 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+4
  • Author
  • Contributor
  • October 31, 2024

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