Core data types and functions used by the mygis library