Hi,
I know that QGIS is able to load csv, txt and Sqlite tables (no geometry)
via 'Load vector layer'.
I wonder how to do this with pyqgis ? (the cookbook only describe loading
spatial data).
My goal is to Load a non geometric spatialite table, which is exactly the
same as an sqlite table, in QGIS via python.
I've tried by replacing: uri.setDataSource(' ', table, geomField, ' ',
idField) by uri.setDataSource(' ', table, ' ', ' ', ' ') but it doesn't
work...
I guess I've missed something
Thanks in advance,
Romain,
*
*
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer