Question

Postgis to geopackage dynamic schema. But how to rename the attributes?

  • 27 August 2018
  • 1 reply
  • 9 views

Badge +1

Hello!

I'm working on an fme workbench that are going to be used on fme server. My colleagues are going to draw an polygon and get out all data from postgis database inside that polygon.

It should be packed as a geopackage. The workflow is working and I get all the data and attributes without any problems. But the name of the layers are not any good and I need to change this.

I want to use an attribute called "name" instead of fme_feature_type as layer name. But If I change this as table name in geopackage it won't run. Any ideas how to solve this?


1 reply

Userlevel 2
Badge +17

How did you set the "Schema Definition Name" in the dynamic writer feature type?

If it worked as expected with Layer Name = "fme_feature_type" and Schema Definition Name = "default from layer name above", try setting "fme_feature_type" to the Schema Definition Name explicitly after changing the Layer Name from "fme_feature_type" to other one.

Reply