Closed njall closed 6 years ago
Here's what the Elixir event scraper produces when the lookup is either Google or Nominatim:
https://gist.github.com/knirirr/56b38cae6a8c4c3824e960d3f30ddc07
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.
@fbacall has merged this into master.
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