[Qgis-developer] Corrections of QgsOgrProvider implementaion of GDAL 2.0

Mark Johnson mj10777 at googlemail.com
Mon Mar 20 15:45:26 PDT 2017


>
>
> 1. No extra code will be allowed in master to handle GDAL < 2.0. QGIS
> 3.0 has a hard GDAL >= 2.0 requirement, and no code will be accepted
> to work around this requirement.


The original code did many tasks being coded multiple times
- these common tasks are written once in a extra function that is used when
needed.

The gdal portions where depreciated gdal 1* functions where used
- are also in extra functions with a switch statement for the different
versions

This was done in preparation for when gdal 1* should expire (i. E. QGIS 3).

All that needs to be done is to remove the gdal 1 portion of the switch
where the gdal 1 code is used.

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170320/51450415/attachment-0001.html>


More information about the Qgis-developer mailing list