Re: [Qgis-user] [QGIS-Developer] Pyqgis how to append existing gpkg layer

2023-04-20 Thread PIERRE Sylvain via QGIS-User
Hi Germán, options.actionOnExistingFile = QgsVectorFileWriter.AppendToLayerNoNewFields Was the key. Thanks ! [cid:image001.jpg@01D97369.4FF99FA0] Sylvain PIERRE Chef de projet système d’information Direction des Systèmes d’Information et du Développement Numérique Service Projets et

Re: [Qgis-user] [QGIS-Developer] Pyqgis how to append existing gpkg layer

2023-04-19 Thread Germán Carrillo via QGIS-User
Bonjour Sylvain, J'espère que vous allez bien. If you want to append features from a source layer to another layer that already exists in a GPKG file, you can do this: - options =