-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
2,401 additions
and
2,395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
[![Swift Version](https://img.shields.io/badge/swift-5.7-blue.svg)](https://swift.org) | ||
![Platform](https://img.shields.io/badge/platform-macOS|linux--64-lightgray.svg) | ||
![Build](https://github.com/dastrobu/geodesic/actions/workflows/ci.yaml/badge.svg) | ||
[![GeographicLib Version](https://img.shields.io/badge/GeographicLib-2.0-blue.svg)](https://github.com/geographiclib/geographiclib-c/releases/tag/v2.0) | ||
[![GeographicLib Version](https://img.shields.io/badge/GeographicLib-2.1-blue.svg)](https://github.com/geographiclib/geographiclib-c/releases/tag/v2.1) | ||
|
||
Solver for the inverse geodesic problem in Swift. | ||
|
||
|
@@ -24,10 +24,11 @@ and that's it. | |
|
||
<!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | ||
|
||
## Table of Contents | ||
|
||
- [Installation](#installation) | ||
- [Swift Package Manager](#swift-package-manager) | ||
- [Swift Package Manager](#swift-package-manager) | ||
- [Implementation Details](#implementation-details) | ||
- [Convergence and Tolerance](#convergence-and-tolerance) | ||
- [WGS 84 and other Ellipsoids](#wgs-84-and-other-ellipsoids) | ||
|
@@ -52,11 +53,10 @@ let package = Package( | |
## Implementation Details | ||
|
||
This Swift package is a wrapper for the | ||
[C library for Geodesics](https://geographiclib.sourceforge.io/html/C/). The author of this library is Charles Karney ( | ||
[email protected]). The goal of this Swift package is to make some algorithms from | ||
[GeographicLib](https://github.com/geographiclib/geographiclib-c) available to the Swift world. Alternatively one can employ the | ||
package | ||
[vincenty](https://github.com/dastrobu/vincenty) | ||
[C implementation of the geodesic routines in GeographicLib](https://github.com/geographiclib/geographiclib-c). | ||
The goal of this Swift package is to make some algorithms from | ||
GeographicLib available to the Swift world. Alternatively one can employ the | ||
package [vincenty](https://github.com/dastrobu/vincenty) | ||
which is a much simpler solver for the inverse geodesic problem, completely written in Swift. Vincenty's formulae does, | ||
however, have some convergence problems in rare cases and may not give the same accuracy as Karney's algorithm. | ||
|
||
|
Oops, something went wrong.