Skip to main content
Solved

where are my attributes? (AreaOnAreaOverlayer)


Hello, I'm an FME newbie.

 

 

I have a set of polygons which represent parks. As overlays I have layers of elements that exist within these parks, such as parking lots, ovals, playgrounds. The goal is to produce a new layer that covers that area covered by the parks, but that has many more polygons representing what's in the overlays.

 

 

I'm pretty sure AreaOnAreaOverlayer is the transformer for the job. But when I select the static schema option, the attributes aren’t being written to the new layer. Not even the _overlaps attribute is being written. And when I ask it to make a List by entering a string in the List Name field, I don't know where this list of attributes is going. Where am I supposed to find this list?!

 

 

TIA,

 

MvW

Best answer by conterrastefan

Hi MvW,

 

 

one way to get your attributes in your destination schema is:

 

 

1. connect your destination FeatureType with the last transformer you use

 

2. right click on your destination Feature Type and choose 'copy attributes from transformer'

 

 

Then all your attributes were shipped into your destination schema.

 

 

Best regards,

 

Stefan

 

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.

3 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • July 5, 2013
Hi,

 

 

If you connect an Inspector to the AreaOnAreaOverlayer, you can make sure all of the list elements. Since a list attribute can not be written directly into the destination dataset, you should change the list elements to non-list attributes before writing. To do that, consider using the ListExploder, the ListConcatenator etc.. Which transformer is suitable depends on schema of the destination dataset. In addition, the SpatialFilter or the SpatialRelator might be available in certain case.

 

 

Takashi

Hi MvW,

 

 

one way to get your attributes in your destination schema is:

 

 

1. connect your destination FeatureType with the last transformer you use

 

2. right click on your destination Feature Type and choose 'copy attributes from transformer'

 

 

Then all your attributes were shipped into your destination schema.

 

 

Best regards,

 

Stefan

 


  • Author
  • July 15, 2013
Thanks very much for your answers. Stefan's answer solved my problem so I didn't need to produce a list. Much appreciated.

 

MvW

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