Well the arg should be ogr as it is using the ogr driver. I'm just wondering if its not loading the providers. Do you get any console output when you run your script.
Sent from some fancy phone looking thingo From: Chris B Sent: 24/01/2013 2:56 PM To: [email protected] Subject: Re: [Qgis-developer] Problems using QgsGeometryAnalyzer.simplify() on Mac OS? It returns false when I try passing either "kml" or "ogr" as the importer. Because I get the same result in the console with >>> layer = QgsVectorLayer("/Users/[me]/wkt2/kml/ar-02.kml","ar","kml") This leads me to think it is a simple file location problem, but I am providing the direct path to the file. Is there another path variable I need to set? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Problems-using-QgsGeometryAnalyzer-simplify-on-Mac-OS-tp5029433p5029437.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
