forked from netj/LocateMe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadMe.txt
48 lines (33 loc) · 1.44 KB
/
ReadMe.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Program: LocateMe
Author: Robert Harder
Email: [email protected]
Website: http://iharder.sourceforge.net
DESCRIPTION
Returns your computer's location using Apple's built-in geolocation services.
INSTALLATION
Copy the LocateMe file to a directory in your $PATH such as /usr/bin or possibly /usr/local/bin.
USAGE:
LocateMe -h gives the following:
USAGE: LocateMe [options]
Version: 0.2
Outputs your current location using Apple's geolocation services.
-h This help message
-g Generate a Google Map URL
-l Generate long, multiline format
-f format Generate a custom output with the following placeholders
{LAT} Latitude as a floating point number
{LON} Longitude as a floating point number
{ALT} Altitude in meters as a floating point number
{SPD} Speed in meters per second as a floating point number
{DIR} Direction in degrees from true north as a floating point number
{HAC} Horizontal accuracy in meters as a floating point number
{VAC} Vertical accuracy in meters as a floating point number
{TIME} Timestamp (with date) of the location fix
{HOST} Computer hostname
Examples:
Command: LocateMe -f "lat={LAT},lon={LON}"
Output : lat=12.34567,lon=98.76543
Command: LocateMe -f "<lat>{LON}</lat><lon>{LON}</lon><alt>{ALT}</alt>"
Output : <lat>12.34567</lat><lon>98.76543</lon><alt>123</alt>
LICENSE:
This code is released into the Public Domain. Enjoy.