[Qgis-developer] Problem using vector data provider in python

Ivan Mincik ivan.mincik at gmail.com
Tue Dec 14 15:42:14 EST 2010


> I'm wondering if it is possible to use a QgsVectorDataProvider independently from a map layer in Python.  For example, I'd like to open a GML file and read features, etc from it without creating a map layer.

Hi Chris,
if You want to read GML in some script, You can use GDAL python bindings.
"from osgeo import ogr"

Ivan


More information about the Qgis-developer mailing list