Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fernandospr/corelocationutils
Some utility methods for Core Location
https://github.com/fernandospr/corelocationutils
Last synced: 2 months ago
JSON representation
Some utility methods for Core Location
- Host: GitHub
- URL: https://github.com/fernandospr/corelocationutils
- Owner: fernandospr
- License: mit
- Created: 2013-07-28T15:23:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-11T20:43:54.000Z (over 9 years ago)
- Last Synced: 2024-04-16T11:03:03.008Z (9 months ago)
- Language: Objective-C
- Size: 175 KB
- Stars: 99
- Watchers: 16
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CoreLocationUtils
=================A category with convenient methods for CLLocation, based on **http://www.movable-type.co.uk/scripts/latlong.html**
## Features
* Convenient CLLocation initializers:
* initialize with latitude and longitude in radians
* initialize with a pretty string format (e.g. latitude = @"34° 36' 12\" N" longitude = @"35° 12' 24\" W")
* Obtain coordinates in a pretty format
* Distance between coordinates using:
* Haversine formula
* Spherical Law of cosines formula
* Pythagoras formula
* Rhumb line formula
* Midpoint along a great circle path between coordinates
* Initial/final bearings to target location from source location
* Calculate target location with a given distance and bearing from source location## Usage
Copy CLLocationUtils to your project, include CLLocation+Utils.h and start using!
Please check CLLocationUtilsTests for examples.