Revert 1935d29..74a8fde

This rolls back to commit 1935d2998e23de306706882dff2cd706fd88d4f0.
add geotransform function