[Qgis-developer] open vector data using specific GDAL driver
Martin Landa
landa.martin at gmail.com
Sat Oct 29 03:54:43 PDT 2016
Hi Even,
2016-10-29 12:39 GMT+02:00 Even Rouault <even.rouault at 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
More information about the Qgis-developer
mailing list