Hi,
I have a workspace in which I read features from different postgis tables and attach their schema with the FeatureReader.
Then I want to write dynamically the features in a geopackage.
When writing, the gpkg writer tries to use the fields defined as primary key in the schema, but sometimes I have several or the primary key is not an int as requested by the gpkg format.
How can I easily delete the information on the primary key fields in the list attribute{} created by the FeatureReader ? I assume I have to delete if in the subattributes fme_data_type and native_data_type in the list.
Furthermore, some features read contains id column, how to handle this to not interfere with the gpkg writer ? In the past there was an option in the writer to specify the name of the gkpg primary key.
Maybe the creation of a gpkg_id field defined as Primary key is enough ?
Thanks for any advice !
P.S. : I use FME Form 2025.

