Skip to main content
Question

Is there a transformer that filters or joins or tests based on all items in a list?

  • October 22, 2024
  • 3 replies
  • 36 views

ldreyfuss
Contributor
Forum|alt.badge.img+2

I have a table of data that I’m trying to map. The locations are essentially polygons with their bounding streets entered as attributes:

I have street data and have been able to create polygons using AreaBuilder, but am stuck on trying to add all of the streets back as searchable/joinable attributes rather than items in a list.

I’ve tried the ListExploder and gotten a stack of polygons, each one with one street’s attributes, but I aggregating isn’t quite getting me the results I’d expect. 

In a perfect world, I’d be able to run FeatureJoiner or something similar on every item in the list, but it only seems to allow one.

Any advice is very much appreciated!

3 replies

todd_davis
Supporter
Forum|alt.badge.img+22
  • Supporter
  • October 22, 2024

Can you provide an example of what your process looks like, and what you would want as the end result.

Thanks,

Todd


jkr_wrk
Influencer
Forum|alt.badge.img+28
  • October 22, 2024

I think what is happening:

You got an area that is enclosed by streets. It could be 2 streets or 5 streets or whatever amount of streets. And you want to be able to search for a street, and then get all the Polygons that are partly enclosed by that street.

The simple answer is: Use the ListConcatenator
That will create one Attribute containing all your streetnames so you can check if your streetname is in that attribute.

What I normally do in these situations is:

This creates a nice HTML Table with all the Streets. You could add more data to the rows. Like starting and ending house number or something.

 

 

 

 


s.jager
Influencer
Forum|alt.badge.img+16
  • Influencer
  • October 22, 2024

Maybe the ListBasedFeatureMerger can do what you need?


Reply


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