adaptation to new gdal