Hi Even,

2016-10-29 12:39 GMT+02:00 Even Rouault <even.roua...@spatialys.com>:
> You could potentially achieve what you want by calling
>
> blacklisted_driver = gdal.GetDriverByName('driver_you_dont_want')
> blacklisted_driver.Deregister()
> layer = QgsVectorLayer(composedURI, layerName, 'ogr')
> do all the stuff you need with the layer
> blacklisted_driver.Register()

thanks for quick answer. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to