Refactors Geotiff class.