Map projections allow the representation of locations on the spherical Earth on a flat surface by transforming geospatial coordinates using mathematical formulas. There are different types of map projections that preserve various geometric properties to differing degrees, such as distance, shape, or direction. It is important to choose a projection and coordinate system that suit the intended mapping purpose. Coordinate systems use datums to define relationships between coordinates and locations on the Earth's irregular surface.