Skip to content

Commit

Permalink
bump GeographicLib to v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dastrobu committed Dec 14, 2023
1 parent f834e5e commit 679c111
Show file tree
Hide file tree
Showing 3 changed files with 2,401 additions and 2,395 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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)
Expand All @@ -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.

Expand Down
Loading

0 comments on commit 679c111

Please sign in to comment.