2018-04-25 18:12:52 +00:00
|
|
|
# Configuring Geocoding
|
|
|
|
|
|
|
|
Geocoding is the process of converting a location name (like `nyc` or
|
|
|
|
`Argentina`) into GPS coordinates and bounding box(es).
|
|
|
|
|
2022-05-03 23:29:24 +00:00
|
|
|
Perkeep's location search will use Google's Geocoding API if a key is provided,
|
|
|
|
otherwise it falls back to using OpenStreetMap's API.
|
2018-04-25 18:12:52 +00:00
|
|
|
|
2022-05-03 23:29:24 +00:00
|
|
|
To use Google's Geocoding API, you need to manually get your own API key from
|
|
|
|
Google and place it in your Perkeep configuration directory (run `pk env
|
|
|
|
configdir` to find your configuration directory) in a file named
|
|
|
|
`google-geocode.key`.
|
2018-04-25 18:12:52 +00:00
|
|
|
|
2022-05-03 23:29:24 +00:00
|
|
|
To get the Google API key, see https://developers.google.com/maps/documentation/geocoding/get-api-key
|