Non valid VRT logic due to GDAL changes in QgsGdalDataItems #24705
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Data Provider
Related to specific vector, raster or mesh data providers
Author Name: Richard Duivenvoorde (@rduivenvoorde)
Original Redmine Issue: 16806
Affected QGIS version: 2.18.0
Redmine category:data_provider
Assignee: Even Rouault
See this thread:
https://lists.osgeo.org/pipermail/qgis-developer/2017-July/049234.html
According to Even the logic here:
https://github.com/qgis/QGIS/blob/master/src/providers/gdal/qgsgdaldataitems.cpp#L246
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.
The text was updated successfully, but these errors were encountered: