[Qgis-user] Create GeoPackage from scratch using python ?

Alessandro Pasotti apasotti at gmail.com
Mon Mar 9 04:00:37 PDT 2020


You can try QgsVectorLayerExporter

Cheers



On Mon, Mar 9, 2020 at 11:53 AM Bo Victor Thomsen
<bo.victor.thomsen at gmail.com> 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
> Qgis-user at lists.osgeo.org
> 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


More information about the Qgis-user mailing list