gausskrueger 0.3.0

gausskrueger 0.3.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Kilian Koeltzsch.



🌐 gausskrueger

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

Usage

import gausskrueger

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

// ---

let gk = GK(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.