Question

Rename featureclass coming out of feature reader

  • 3 September 2018
  • 3 replies
  • 16 views

I am using a featureReader and dynamically writing to a writer.

The problem is "BuildingExtent" needs to be replaced to "BuildingFootPrint". This is because the featureclasses are differnt for only that featureclass.

Any solution to replace them?


3 replies

Userlevel 6
Badge +34

The way I do this is to replace the "fme_feature_type_name" attribute in the Schema Feature flow and replace "fme_feature_type" in the Feature Flow:

changefeatureclass20181.fmw

Userlevel 3
Badge +17

You can just apply Feature Type Fanout if you set "fme_feature_type" to the Schema Definition Name explicitly. e.g.

Userlevel 6
Badge +34

You can just apply Feature Type Fanout if you set "fme_feature_type" to the Schema Definition Name explicitly. e.g.

Even better, didn't realize it works this way. Thanks, learned something new today.

Reply