Latest 0.3.0
Homepage https://github.com/kiliankoe/gausskrueger
License MIT
Platforms ios 8.0, osx 10.9, watchos 2.0, tvos 9.0
Frameworks Foundation
Authors

🌐 gausskrueger

Travis
Version
Codecov

Swift library for converting GK4-coordinates into WGS84 latitude and longitude, and vice versa.

Usage

import gausskrueger

let coord = WGSCoordinate(latitude: 52.502133988116455, longitude: 13.342517405215336)
let gk = coord.asGK

// ---

let gk = GKCoordinate(x: 4591270, y: 5819620)
let wgs = gk.asWGS

Installation

gausskrueger is available through Cocoapods, Carthage/Punic and Swift Package Manager, take your pick.

// Cocoapods
pod 'gausskrueger'

// Carthage
github "kiliankoe/gausskrueger"

// Swift Package Manager
.Package(url: "https://github.com/kiliankoe/gausskrueger", majorVersion: 0)

Credits

This is basically a clone of juliuste/gauss-krueger (which in turn seems to be from here) with a few modifications to make it valid Swift.

Latest podspec

{
    "name": "gausskrueger",
    "version": "0.3.0",
    "summary": "Convert GK4 coordinates to WGS84, and vice versa",
    "description": "Swift library for converting GK4-coordinates into WGS84 latitide and longitude, and vice versa.",
    "homepage": "https://github.com/kiliankoe/gausskrueger",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Kilian Koeltzsch": "[email protected]"
    },
    "social_media_url": "https://twitter.com/kiliankoe",
    "platforms": {
        "ios": "8.0",
        "osx": "10.9",
        "watchos": "2.0",
        "tvos": "9.0"
    },
    "source": {
        "git": "https://github.com/kiliankoe/gausskrueger.git",
        "tag": "0.3.0"
    },
    "source_files": "Sources/**/*",
    "frameworks": "Foundation",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This