geo-code1
Convert a street address into geo coordinates
Overview
Usage:
-
geo-code [options] address citystate_or_zip [country]
-
Convert (geocode) a street address into a latitude/longitude.
-
geo-code [options] tele-phone-number
-
Convert (geocode) a phone number into a latitude/longitude.
-
In either case, the output can be formatted to any of the output file types that gpsbabel supports, or directly imported into the GpsDrive MySQL waypoint database.
Requires:
curl
|
http://curl.haxx.se/ |
|---|---|
gpsbabel
|
http://gpsbabel.sourceforge.net/ |
Options
-
-o format -
Output format,
-o? for possibilities [gpsdrive] plus "gpsdrive.sql" for direct insertion into MySQL DB plus "latlon" for just Lat<tab>Long. plus "map" to display a map.
-
-n name -
The waypoint name, e.g. Bob's House. The default is the street address.
-
-s -
Output shortened names (a gpsbabel option)
-
-t type -
The waypoint type, e.g. house, cache, bar [new]
-
-q -
Quiet. Do not output address confirmation on stderr.
-
-S -
Alias for
-ogpsdrive.sql
-
-a -
For SQL, delete existing record only if it matches all fields. Otherwise, delete it if it matches just the name and the type.
-
-D level -
Debug level
-
-U -
Retrieve latest version of this script
Countries:
-
us, ca, fr, de, it, es, uk
Examples
|
|
|
|
123AnyStreet 42.81020 |
|
|
|
|
|
123AnyStreet 42.81020 |
|
|
|
|
|
BobsHouse 42.81020 |
|
|
|
|
|
[waypoint is added to GpsDrive MySQL database] |
|
|
|
|
|
123AnyStreet 42.81020 |
Releases
4 releases since Debian 3.1 (Sarge); the text changed 1 time.