+ 2
Coordinates to geolocation in python
>>> import reverse_geocode >>> coordinates = (-37.81, 144.96), (31.76, 35.21) >>> reverse_geocode.search(coordinates) >>>[{'city': 'Melbourne', 'code': 'AU', 'country': 'Australia'}, {'city': 'Jerusalem', 'code': 'IL', 'country': 'Israel'}] Greetings. This is my estimation of the presumed code but i'm not certain what to do now could someone help please. Thanks
2 Antworten
+ 5
To be honest, it seems like it is a well-done, but limited library. The question is how big its dictionary is and how precise it can get...
Perhaps you could utilize Google API and simply query it with latitude/longitude coordinates:
https://code.sololearn.com/cYnKdd0eZzM7/?ref=app
(the code above is based on my other creation below, just a bit modified)
https://code.sololearn.com/c57gr6Ay31s9/?ref=app
+ 1
Thanks so much I will give that a try.