Hi Dev,

I would like to create a geopackage with multiple layers but without features. I'd like to do the same thing as the QgsNewGeoPackageLayerDialog do but without user interface in python.

I have tested with QgsVectorFileWriter, but the file and layer are not created if add feature is not used.

Do I have to use Python OGR packaging to do so ?

Regards,
René-Luc
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to