Skip to content

๐ŸŒ Convert GK4 coordinates to WGS84, and vice versa

License

Notifications You must be signed in to change notification settings

kiliankoe/gausskrueger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ 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.

About

๐ŸŒ Convert GK4 coordinates to WGS84, and vice versa

Topics

Resources

License

Stars

Watchers

Forks

Packages