Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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