Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trial Nominatim #478

Closed
njall opened this issue Aug 24, 2017 · 3 comments
Closed

Trial Nominatim #478

njall opened this issue Aug 24, 2017 · 3 comments
Assignees

Comments

@njall
Copy link
Collaborator

njall commented Aug 24, 2017

To get around Google maps ToS issues. Try configuring Geocoder to use Nominatim. nominatim.openstreetmap.org adding a 1 second delay between each request. Compare outputs between using google places and Nominatim ran with the same events scraper (maybe ELIXIR_events scraper).

If Nominatims performance is reasonably comparable with Google places; implement a rake task in TeSS that uses sidekiq to add nominatim searches for every event that does not already have latitude and longitude values.

The returned results will get stored as edit suggestions to the event as has been done with the Annotator Web Service

@knirirr
Copy link
Collaborator

knirirr commented Aug 31, 2017

Here's what the Elixir event scraper produces when the lookup is either Google or Nominatim:

https://gist.github.com/knirirr/56b38cae6a8c4c3824e960d3f30ddc07

@knirirr
Copy link
Collaborator

knirirr commented Aug 31, 2017

I was able to get lat/lon for 59 of the 70 events without these values which actually had some details as to the country or city they were in, using Nominatim. So this may be workable if I can deal with the edit suggestions.

@knirirr
Copy link
Collaborator

knirirr commented Nov 24, 2017

@fbacall has merged this into master.

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

No branches or pull requests

2 participants