Bug report #16806
Non valid VRT logic due to GDAL changes in QgsGdalDataItems
|Affected QGIS version:||2.18.0||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||24705|
See this thread:
According to Even the logic here:
isn't working anymore for GDAL2:
Quote: " Actually L246 shows a particular case for VRT. But I think this logic is now invalid since GDAL 2.0, since
GDALIdentifyDriver() will now retun "VRT" for a raster VRT, and "OGR_VRT" for a vector VRT (in GDAL 1.X era GDALIdentifyDriver() only worked on raster drivers)"
So probably this code should be updated.
[Browser] Fix invalid detection of OGR VRT by GDAL provider, and fix broken detection of OGR VRT (fixes #16806)
[Browser] With GDAL 2.x, fix invalid detection of OGR VRT by GDAL provider, and fix broken detection of OGR VRT (fixes #16806)
#1 Updated by Even Rouault over 5 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|49071808acb104c5c6dc0d63a40296a0f88969da.
#2 Updated by Even Rouault over 5 years ago
- Resolution set to fixed/implemented
- Affected QGIS version changed from master to 2.18.0
- Assignee set to Even Rouault