compat with gdal 1.x