Skip to main content
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
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

 


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

 

MvW

Reply