Hi,

can somebody help me with load  a dxf file into a layer?

I have done this:

fitxer="PARCELARIPEPCH.dxf"
layer = QgsVectorLayer(fitxer, 'prova', 'ogr')
if not layer.isValid():
    print "invalid layer"

And always have an invalid layer.


And then, how I have to filter by different geomtry types?

Thanks.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to