Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wizardishungry/osx-location
🌎 Utility for polling OS X Location Services for current geographic coordinates. Works on Lion or better.
https://github.com/wizardishungry/osx-location
geolocation location-services objective-c
Last synced: 4 months ago
JSON representation
🌎 Utility for polling OS X Location Services for current geographic coordinates. Works on Lion or better.
- Host: GitHub
- URL: https://github.com/wizardishungry/osx-location
- Owner: wizardishungry
- Created: 2013-06-18T21:02:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T04:47:08.000Z (almost 7 years ago)
- Last Synced: 2024-10-11T02:44:42.475Z (4 months ago)
- Topics: geolocation, location-services, objective-c
- Language: Objective-C
- Homepage:
- Size: 8.79 KB
- Stars: 31
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
osx-location
============
osx-location is a utility for querying CoreLocation services on Mac OS X from the command command-line.Example:
$ make
$ ./location --help
--count Wait for this many responses (default: 1).
--debug Output helpful debugging info.
--format Set the output format (default: key-value).
--help Show this help.
Formats available:
k = key-value
j = Geo JSON
s = SBS-1 ADS-B$ ./location --debug
location service enabled
<+40.696969,-73.420420> +/- 65.00m (speed -1.00 mps / course -1.00) @ 6/18/13 8:43:43 PM Eastern Daylight Time
timestamp: 2013-06-19 00:43:43 +0000
latitude,longitude: 40.696969,-73.420420
altitude: 26.000000
horizontalAccuracy: 65.000000
verticalAccuracy: 10.000000
speed: -1.000000
course: -1.000000
Credits
-------
* Originally by [email protected] - https://gist.github.com/tmiz/1416248
* Options parsing stolen from dump1090 - https://github.com/antirez/dump1090