[Qgis-developer] Can not load shape files with QgsVectorLAyer function

Lutfi Oduncuoglu lutfioduncuoglu at gmail.com
Wed Oct 21 04:13:51 EDT 2009


Hello,

vlayer =
QgsVectorLayer("C:\Users\lutfi\Documents\tezzzz\shapefiles\data\SGID93_BOUNDARIES_Municipalities.shp",
"hebe", "ogr")

I am trying to run the code above and no matter what is the file,
featurecount always return zero in python console so that ny plugin does not
work. What may be the problem?

Thanks,

Lutfi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091021/d110ea69/attachment-0001.html


More information about the Qgis-developer mailing list