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

Nyall Dawson nyall.dawson at gmail.com
Mon Mar 20 15:56:46 PDT 2017


On 21 March 2017 at 08:45, Mark Johnson <mj10777 at googlemail.com> wrote:
>>
>> 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.

Great - looking forward to seeing you push this to the PR! It'll make
the remaining changes much easier to review.

Nyall


More information about the Qgis-developer mailing list