You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a new Geopackage layer and selecting an existing gpkg file, QGIS asks if the gpkg database should be overwritten or if the new layer should be added to the existing database. Although adding the layer is the default, it easily happens that someone accidentally clicks on the wrong button and overwrites an existing database with many layers.
It would be good if QGIS would display an additional dialog box "You are about to overwrite a database containing x layers with y features - are you shure? [Overwrite data | Cancel]" when "overwrite" is selected.
An alternative would be to remove the option to overwrite the database and replace the current dialog by a status message "New Layer is being added to existing database".
This would make overwriting an existing database an explicit action which requires deleting the old gpkg file first.
The text was updated successfully, but these errors were encountered:
This is very important and should be filed as a bug, not a feature request! The potential for data loss is huge! It's also there when exporting a layer, a quite common operation.
We can't have a Overwrite File button right next to the Overwrite Layer button and not ask for confirmation nor warn about the consequences. Not on database formats.
When creating a new Geopackage layer and selecting an existing gpkg file, QGIS asks if the gpkg database should be overwritten or if the new layer should be added to the existing database. Although adding the layer is the default, it easily happens that someone accidentally clicks on the wrong button and overwrites an existing database with many layers.
It would be good if QGIS would display an additional dialog box "You are about to overwrite a database containing x layers with y features - are you shure? [Overwrite data | Cancel]" when "overwrite" is selected.
An alternative would be to remove the option to overwrite the database and replace the current dialog by a status message "New Layer is being added to existing database".
This would make overwriting an existing database an explicit action which requires deleting the old gpkg file first.
The text was updated successfully, but these errors were encountered: