Closed scraly closed 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
I'm generating the geocodes for all the cities here #743, I haven't had any problem about that.
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 :)
@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.
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".
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
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 ;-)
For several locations, the
geoCodes.js
script is not working: