+ 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

9th Mar 2018, 7:32 PM
Ghost beat heart Unknown
Ghost beat heart Unknown - avatar
2 ответов
+ 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
9th Mar 2018, 9:35 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
Thanks so much I will give that a try.
11th Mar 2018, 8:27 AM
Ghost beat heart Unknown
Ghost beat heart Unknown - avatar