Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@willnorris
Copy link
Member

Use the OpenStreetMap Nominatim API when no Google Geocoding API key is present. Nominatim does not require any keys, so we can safely enable it by default, though their terms request no more than 1 qps, which should probably be fine?

Docs and log messages are updated to reflect this behavior. OSM Attribution is added to the help page, which is not the best but probably okay for now. In a future change, I'd like to change the About alert to a static page, and move licensing information there.

Fixes #1342

@willnorris willnorris requested a review from aviau May 4, 2022 02:10
Copy link
Member

@MichaHoffmann MichaHoffmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, though we probably cannot guarantee the 1 query per second

@willnorris
Copy link
Member Author

lgtm, though we probably cannot guarantee the 1 query per second

yeah, I thought about that. We could always put a rate limiter on it 🤷🏻

@bradfitz bradfitz merged commit 5af6720 into perkeep:master Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support a free geocoding service

3 participants