I have 2 ESRI Shape polygon datasets, which should be combined and exchange attributes. The first shows boundaries of some hundred property units, the second shows some thousand mapped features inside. The task is to summarize the area values of all mapped features included in each property unit and add the result to a new property unit shapefile.
INSIDEPOINT_REPLACER for the mapped features and POINT_ON_AREA_OVERLAYER / FEATURE_MERGER followed by AGGREGATOR works well one-to-one basis as long as I have no overlapping property units.
Now I need a good idea to do the same with overlapping property units, mean to collect the mapped features more than one time. Thanks for any ideas / help.
Best answer by takashi
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.
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.
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.
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.
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 !
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.