I've merged two polygon layers from OSM (leisure=parks and natural=wood) into one. When I try to save the merged layer into .gpkg it shows a problem in creating a unique ID for a bunch of values from the layer.
Has anyone come across a similar bug?
I've merged two polygon layers from OSM (leisure=parks and natural=wood) into one. When I try to save the merged layer into .gpkg it shows a problem in creating a unique ID for a bunch of values from the layer.
Has anyone come across a similar bug?
Use the field calculator to overwrite the existing fid with $id, then save the layer.
Currently some IDs aren't unique, as the error message says, but saving to a geopackage requires them to be unique. Hence you either need to enforce uniqueness, or save to e.g. shapefile.