Almost finished support for GDAL.