Finalize GDAL env implementation.

Ready for 1.1.3.