Forked from @rolfrander
Code for representing and converting between geographical coordinate systems, taken from Stack overflow.
There are two classes, for UTM-coordinates and WGS84-coordinates. Example usage:
// zone, letter, x coordinate, y coordinate
val utm_to_wgs = WGS84( UTM(31, 'V', 375273.85, 6207884.59) )
// latitude, longitude
val wgs_to_utm = UTM( WGS84(56,-5) )
There is no error-handling...