I have two vector point GeoJSON layers) showing supermarkets in 2 adjacent cities. I would like to combine them in one way or another (by merging them or adding the feature of one to the other). Their fields are all the same. But the merge fails because of the failure of unique constraint, I think it is due to their fid which has some common values (fid from feature #3 of city 1 is 3 for instance, and this is the same for city 2, so it creates a conflict). I can't delete the fid field either to solve the issue. Is there any way to solve this issue?
(by the way the "merge vector layers" appears to be successful but once you want to make the file permanent it doesn't work as the constraint of having unique identifiers for each feature is not satisfied)
merge vector layers, then create anotherfidlikefid2(solution 2) does the job. – Babel Mar 26 '24 at 08:21