Skip to content
Permalink
Browse files
processing: with GDAL2 we need to check for raster capability to get the
raster extensions (fixes #16621; followup 3d3b6ec)
  • Loading branch information
jef-n committed May 26, 2017
1 parent cd7dfda commit 2a9095db8ab622ca279deb44b398872a28dbd7a3
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/algs/gdal/GdalUtils.py
@@ -126,6 +126,8 @@ def getSupportedRasters():
driver = gdal.GetDriver(i)
if driver is None:
continue
if GdalUtils.version() >= 2000000 and 'DCAP_RASTER' not in driver.GetMetadata_Dict():
continue
shortName = driver.ShortName
metadata = driver.GetMetadata()
#===================================================================

0 comments on commit 2a9095d

Please sign in to comment.