Add static geo functions

Fixes #792