[Qgis-user] qgis python binding, open dxf file
Balazs Szabó
szabobaa at gmail.com
Wed Sep 7 05:10:30 PDT 2011
Dear list!
I am trying to load a dxf file via qgis python binding, but:
l=QgsVectorLayer(path_to_dxf, 'dxf', 'ogr')
l.isValid()
(False)
In ogr python bindings I need to type osgeo.ogr.RegisterAll() before open my
dxf, there is any method in qgis to do the same thing?
Thanks in advance,
Balazs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110907/e0c73087/attachment.html>
More information about the Qgis-user
mailing list