Hi @aron, you can generate a list attribute that will store attributes in every Supplier feature related to the Requestor spatially. Check the Generate List checkbox and select attributes you need to collect from Suppliers.
@aron If the attribute names on the Supplier features are the same, then it will appear that only one feature was found. Instead or Merge Attributes, try Generate List.
Thanks @mark2atsafe and @takashi!
Unfortunately I can't get this working the way I want. When I run the list through a ListExploder I end up with overlying features. All the information is now output, but not in one single feature. And the whole point of this exercise was to combine the attributes from multiple overlying features into one.
My original workspace worked fine as long as there where only two overlying features. It is when I tried adding more than two I ran into trouble.
There a lot of different ways to do this, but using the workflow you've got this may be simplest: Assuming there is only ever one value of B overlaying A, and only every one possible value of C overlaying A etc. etc.
So the problem would seem to be that your result looks like this, Feature A will have a List of B, C, D and E's values like this:
BValue, Missing, Missing, Missing
Missing, CValue, Missing,Missing
Missing, Missing, DValue, Missing
Missing, Missing, Missing, EValue
Without reworking the existing workflow too heavily, then the SpatialRelator output could instead be directed to 4 sequential ListRangeExtractors. Each of these will create a new Attribute for the "Max" value of each of the 4 List Attributes, leaving a single feature with the Maximum value extracted from each ListAttribute.
Thanks @mark2atsafe and @takashi!
Unfortunately I can't get this working the way I want. When I run the list through a ListExploder I end up with overlying features. All the information is now output, but not in one single feature. And the whole point of this exercise was to combine the attributes from multiple overlying features into one.
My original workspace worked fine as long as there where only two overlying features. It is when I tried adding more than two I ran into trouble.
For instance, assuming that every Supplier feature has an attribute called "attr" and three Suppliers have 1, 2, 3 in "attr", then if a Requestor intersects all the three Suppliers, what result you need?
There a lot of different ways to do this, but using the workflow you've got this may be simplest: Assuming there is only ever one value of B overlaying A, and only every one possible value of C overlaying A etc. etc.
So the problem would seem to be that your result looks like this, Feature A will have a List of B, C, D and E's values like this:
BValue, Missing, Missing, Missing
Missing, CValue, Missing,Missing
Missing, Missing, DValue, Missing
Missing, Missing, Missing, EValue
Without reworking the existing workflow too heavily, then the SpatialRelator output could instead be directed to 4 sequential ListRangeExtractors. Each of these will create a new Attribute for the "Max" value of each of the 4 List Attributes, leaving a single feature with the Maximum value extracted from each ListAttribute.
For some strange reason I am getting some features where this method does not work. I have no idea why.