Latest 1.4.1
License MIT
Platforms ios 10.0, osx 10.12


Geotum is for converting to and from latitude/longitude pairs and UTM points.


// Converting to UTM (near Santa Cruz)
let latitude = 37.0837
let longitude = -121.9981
let latLonCoordinate = LatLonCoordinate(latiudinalDegrees: latitude, longitudinalDegrees: longitude)
UTMConverter(datum: .wgs84).utmCoordinatesFrom(coordinates: latLonCoordinate)

// Converting to Lat Lon
let utmCoordinate = UTMPoint(easting: 589048.6, northing: 4104627, zone: 10, hemisphere: .northern)
UTMConverter(datum: .wgs84).coordinateFrom(utm: utmCoordinate)


As detailed below this library suffers from a common UTM conversion problem, namely the poles (which are not supported by UTM) and the Svalbard/Norway problem.

I am aware of these problems and plan to fix them shortly.


Another library GeodeticUTMConverter works but is no longer maintained. As I (@pducks32) have dealt with geodesy both academically and professionally I thought I would start my own library to handle the conversions.

Currently this library just copies GeodeticUTMConverter and supports macOS but in the future will be extended to fix significant problems in that source (such as the Svalbard problem).


Geotum is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "Geotum"


Patrick Metcalfe, [email protected]


Hamilton is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "Geotum",
    "version": "1.4.1",
    "summary": "Convert to/from UTM points for iOS and macOS in Swift.",
    "description": "Geotum is a Swift UTM converter that is precise to 1 nanometer. It works on all Applenplatforms and can convert to and from Latitude Longitude coordinates and UTM points.nIt also includes a ton of helpers to make working with them less error prone andnall conversions are 100% tested.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Patrick Metcalfe": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.4.1"
    "social_media_url": "",
    "platforms": {
        "ios": "10.0",
        "osx": "10.12"
    "swift_versions": "5.0",
    "source_files": "Sources/Geotum/**/*"

Pin It on Pinterest

Share This