Skip to main content

Hello,

Can I use the same FeatureWriter transformer to write lines and polygons into the same GDB? I know how to do it in a normal writer but can't get it to work with the FeatureWriter. Below an example of the workbench which filter the geometry by areas and lines and then go into two different ports in the transformer

FME_1Below an example of the FeatureWriter settings where I have included two feature types (polygon and lines)

 

FME_2 

Do I need to set a Dynamic Schema Definition? I have tried that option with 'Schema From Schema Feature' option but failed,

 

Any idea more than welcome, thanks! :)

You should be able to do that but depending on your input both will go to the same feature type (Geodatabase table) and ESRI formats are not happy with that. If you change the table names to two different names it should work.


You should be able to do that but depending on your input both will go to the same feature type (Geodatabase table) and ESRI formats are not happy with that. If you change the table names to two different names it should work.

This, you probably have different geometrytypes in the same fme feature type and featureclasses do not support generic geometry types. You could suffix the fme feature type depending on geometry type, then this will work.


Thanks both, sorted


Reply