Have you given a look to QgsVectorLayerImport [1] which DB Manager uses [2] at the end?
giovanni [1] http://qgis.org/api/2.14/classQgsVectorLayerImport.html [2] https://github.com/qgis/QGIS/blob/master/python/plugins/db_manager/dlg_import_vector.py#L334 2016-06-23 11:52 GMT+02:00 Tom Chadwin <[email protected]>: > Is spatialite_tool an option? > > http://www.gaia-gis.it/gaia-sins/spatialite-cookbook/html/impexp.html > > Caveat: not tried personally - just passing on possible solution. > > Tom > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Add-Layers-to-spatialite-database-tp5272527p5272972.html > Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
