support for GDAL >= 2.0 in ogr plugin - refs #2259