I created a model to import different shape files coming from ARCMAP, to load them into my geopackage of my project.
The model does different things: Delete attribute (OBJECTID, SHAPE_LENGTH and SHAPE_AREA) --> Repair the geometry --> Reproject into the CRS of my project.
Everything works fine, but I have only one problem... my exported layer doesn't have a unique ID, like FID? Is it a way to have it?
If I add an attribut, and than calculate with $id, it does the job, but if I create a new feature in my exported layer, the field stays empty!! So it is not really a unique ID field!




Save vector features to file? Not quite clear in your question. – Babel Sep 19 '21 at 11:40