I want to translate a dataset from shp to gpkg
There is a id field in attribute table in shp file.
I added the transformer "attributeRenamer" to rename "id" to "shp_id"
It is success on 2022.0.2 version
We can't see shp_id field in gpkg and the value in id field is kept
But in 2022.2.3 vesrion
It throw the error as
627 2023-2-28 13:03:03 | OGCGEOPACKAGE writer: OGCGEOPACKAGE writer: For feature type 'd_y_n40', primary key attribute 'id' has unsupported type 'mediumint'. Primary key must have type 'int,PrimaryKey'
Is any way can I fix it?
Thanks


When I run this workbench I get a geopackage with the id attribute and without the shp_id attribute. The id attribute is filled with Null values since no attributes are mapped to it. You can check this by clicking on the attribute dropdown arrow on the writer.