You can try QgsVectorLayerExporter

Cheers



On Mon, Mar 9, 2020 at 11:53 AM Bo Victor Thomsen
<[email protected]> wrote:
>
> Is there a method to create a GeoPackage file from scratch using QGIS
> and python (but not manually creating a layer using "create layer" in
> the user interface)
>
> Perhaps using the PyQt 5 QtSQL.QSqlDatabase method ??
>
>
> --
> Med venlig hilsen / Kind regards
>
> Bo Victor Thomsen
>
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Alessandro Pasotti
w3:   www.itopen.it
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to