Skip to main content
Solved

Collect Area Attributes by overlapping Area

  • September 28, 2013
  • 5 replies
  • 7 views

hansb
Contributor
Forum|alt.badge.img
  • Contributor
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.

 

Takashi
View original
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.

5 replies

takashi
Influencer
  • Best Answer
  • September 28, 2013
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

hansb
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • September 29, 2013
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.

 


takashi
Influencer
  • September 29, 2013
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

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • September 29, 2013
In addition also the list summer can be of help

 

http://docs.safe.com/fme/html/FME_Transformers/Default.htm#Transformers/listsummer.htm

hansb
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • September 30, 2013
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 !

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