Hi,
Try using the SpatialRelator transformer instead of the PointOnAreaOverlayer.
Send polygons to BASE, points to CANDIDATE port. Output polygons will have list attributes which contain attributes of every candidate points related spatially.
Takashi
Wow - that was fast! I am just new working with list attributes. I tried it and it basically worked. I get an output with a concatenated list showing that the SPATIALRELATOR collects the candidate polygons correctly.
Example:
File A: 2 base polygons (overlapping)
File B: 8 candidate polygons (in A and/or B)
I would like to summarize the area of each polygon of B by its class e.g.
area class 1,2,3
SPATIALRELATOR with LISTCONCATENATOR shows (File C):
A1 1,2,2,3,3
A2 1,1,1,2,3,3,3
Output file C with attributes:
A1: sum1, sum2, sum3
A2: sum1, sum2, sum3
I did that with featuremerger and aggregator but have no idea how to deal with list elements. By the way - is there any sample or documentation for dealing with list attributes in the web ? Thanks for any help.
Hi,
The ListDuplicateRemover, ListSorter, ListConcatenator might help you.
You can see descriptions of every transformer in the FMEpedia site.
FME Workbench Transformers
http://docs.safe.com/fme/html/FME_Transformers/Default.htm See here especially about list manipulation:
http://docs.safe.com/fme/html/FME_Transformers/Default.htm#Categories/lists.htm
Takashi
In addition also the list summer can be of help
http://docs.safe.com/fme/html/FME_Transformers/Default.htm#Transformers/listsummer.htm
Problem solved ! The SpatialRelator did it perfectly. It took me some hours to go through that list stuff but it finally worked.With LISTEXPLODER after SPATIALRELATOR I could work with all Aggregates and Filters just as I was used to do before. Perfect !