scraly / developers-conferences-agenda

This repository list a maximum of tech conferences's date and CFP in order to help conferences organizers, speakers & attendees
https://developers.events/
1.66k stars 409 forks source link

Unable to get geocode for location #742

Closed scraly closed 1 year ago

scraly commented 1 year ago

For several locations, the geoCodes.js script is not working:

$ node geoCodes.js
Unable to get geocode for location:  Abuja (Nigeria)
Unable to get geocode for location:  Accra (Ghana)
Unable to get geocode for location:  Ado (Nigeria)
Unable to get geocode for location:  Amerongen (Netherlands)
Unable to get geocode for location:  Auckland (New Zealand)
Unable to get geocode for location:  Austin, TX (USA)
Unable to get geocode for location:  Bandung (Indonesia)
Unable to get geocode for location:  Banjul (Gambia)
Unable to get geocode for location:  Belem (Brazil)
Unable to get geocode for location:  Bengaluru, Karnataka (India)
Unable to get geocode for location:  Bern (Switzerland)
Unable to get geocode for location:  Brabrand (Denmark)
Unable to get geocode for location:  Bruxelles (Belgium)
Unable to get geocode for location:  Buenos Aires (Argentina)
Unable to get geocode for location:  Buenos Ares (Argentina)
Unable to get geocode for location:  Bujumbura (Burundi)
Unable to get geocode for location:  Cape Town (South Africa)
Unable to get geocode for location:  Catania (Italy)
Unable to get geocode for location:  Charlotte, NC (USA)
Unable to get geocode for location:  Chattanooga (USA)
Unable to get geocode for location:  Chicago, IL (USA)
Unable to get geocode for location:  Clearwater, FL (USA)
Unable to get geocode for location:  Cologne (Germany)
Unable to get geocode for location:  Copenhaguen (Denmark)
Unable to get geocode for location:  Coruna (Spain)
Unable to get geocode for location:  Dakar (Senegal)
Unable to get geocode for location:  Delhi (India)
Unable to get geocode for location:  Denver, CO (USA)
Unable to get geocode for location:  Detroit, MI (USA)
Unable to get geocode for location:  Eau Claire, WI (USA)
Unable to get geocode for location:  Ede (Netherlands)
Unable to get geocode for location:  Eindhoven (Netherlands)
Unable to get geocode for location:  Falmouth (UK)
Unable to get geocode for location:  Florianópolis (Brazil)
Unable to get geocode for location:  Gardanne (France)
Unable to get geocode for location:  Gladstone (Australia)
Unable to get geocode for location:  Grand Junction, CO (USA)
Unable to get geocode for location:  Guadalajara (Mexico)
Unable to get geocode for location:  Gujarat (India)
Unable to get geocode for location:  Ikorodu (Nigeria)
Unable to get geocode for location:  Jailingo (Nigeria)
Unable to get geocode for location:  Jalingo (Nigeria)
Unable to get geocode for location:  Jinja (Uganda)
Unable to get geocode for location:  Kansas City, KS (USA)
Unable to get geocode for location:  Kansas City, MO (USA)
Unable to get geocode for location:  Kathmandu (Nepal)
Unable to get geocode for location:  Kenya
Unable to get geocode for location:  Kitwe (Zambia)
Unable to get geocode for location:  Lingen (German)
Unable to get geocode for location:  Lokoja (Nigeria)
Unable to get geocode for location:  London
Unable to get geocode for location:  London(UK)
Unable to get geocode for location:  Luanda (Angola)
Unable to get geocode for location:  Lugano (Switzerland)
Unable to get geocode for location:  Malmo (Sweden)
Unable to get geocode for location:  Mbarara (Uganda)
Unable to get geocode for location:  Medellin (Columbia)
Unable to get geocode for location:  Mesa, AZ (USA)
Unable to get geocode for location:  Middlesbrough (UK)
Unable to get geocode for location:  Mombasa (Kenya)
Unable to get geocode for location:  Mountain View, CA (USA)
Unable to get geocode for location:  Nancy (France)
Unable to get geocode for location:  Nashville, Tennessee (USA)
Unable to get geocode for location:  New York, NY (USA)
Unable to get geocode for location:  Nieuwegein (Netherlands)
Unable to get geocode for location:  Norwitch (UK)
Unable to get geocode for location:  Nuevo León (Mexico)
Unable to get geocode for location:  Nürburgring (Germany)
Unable to get geocode for location:  Oklahoma City (USA)
Unable to get geocode for location:  Ondina (El Salvador)
Unable to get geocode for location:  Orlando (USA)
Unable to get geocode for location:  Owerri (Nigeria)
Unable to get geocode for location:  Philadelphia (USA)
Unable to get geocode for location:  Philadelphia, PA (USA)
Unable to get geocode for location:  Phoenix (USA)
Unable to get geocode for location:  Pittsburg (USA)
Unable to get geocode for location:  Poitiers (France)
Unable to get geocode for location:  Porto Alegre (Brazil)
Unable to get geocode for location:  Poznan (Poland)
Unable to get geocode for location:  Quebec (Canada)
Unable to get geocode for location:  Richmond, VA (USA)
Unable to get geocode for location:  Round Rock, TX (USA)
Unable to get geocode for location:  Salt Lake City, UT (USA)
Unable to get geocode for location:  Salvador (Brazil)
Unable to get geocode for location:  Sandusky, OH (USA)
Unable to get geocode for location:  Singapore (Singapore)
Unable to get geocode for location:  Sophia-Antipolis (France)
Unable to get geocode for location:  St. Louis, MO (USA)
Unable to get geocode for location:  São Paulo (Brazil)
Unable to get geocode for location:  Uyo (Nigeria)
Unable to get geocode for location:  Vancouver (USA)
Unable to get geocode for location:  Vientiane (Laos)
Unable to get geocode for location:  Washington, DC (USA)
Unable to get geocode for location:  West Hollywood, CA (USA)
Unable to get geocode for location:  Wrocław (Poland)
Unable to get geocode for location:  Yamoussoukro (Ivory Coast)
Unable to get geocode for location:  Yerevan (Armenia)
Unable to get geocode for location:  Zanzibar (Tanzania)
Unable to get geocode for location:  Zawiercie (Poland)
Unable to get geocode for location:  Zlin (Czech Republic)
jespino commented 1 year ago

I'll take a look tomorrow, also is possible to change the source to use google map if you have an api key for Google maps

jespino commented 1 year ago

I'm generating the geocodes for all the cities here #743, I haven't had any problem about that.

scraly commented 1 year ago

I have again some troubles when I am running tje geocode script in GitPod:

Unable to get geocode for location:  Jailingo (Nigeria)
Unable to get geocode for location:  Norwitch (UK)
Unable to get geocode for location:  Ondina (El Salvador)

@jespino do you know why I have these issues and how to solve them on my side?

thanks :)

jespino commented 1 year ago

@scraly part of the problem there is that OpenStreetMaps is not able to resovle all of them, I can say you that Norwitch is not resolved properly bo OpenStreetMaps, because in reality it is Norwich. For that I added the option of using google maps API code, because Google Maps is better golocating in that cases.

jespino commented 1 year ago

The last one, is because I think it is "Salvador (Brazil)", so "ondina" is just a neigborhood in salvador. Looks like Ondina is not a city in "El salvador".

jespino commented 1 year ago

The Jailingo problem is because in reality is "Jalingo". So I fixed the "Ondina" and the "Jalingo" problems in the PR #755, and the Norwich problem was already solved in another PR

scraly commented 1 year ago

ok now I understand for these ones, and I think it can be added in another automatic check when the PR is created

if we have error in output of this script, maybe the location is wrong ;-)