Untangle gnarly coordinate mappings.

This was a really nasty one.