Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

reverse geocoding python

# Install reverse_geocode. Docs: https://pypi.org/project/reverse-geocode/
# pip install reverse-geocode

import reverse_geocode
coordinates = (-37.81, 144.96), (31.76, 35.21)
reverse_geocode.search(coordinates)

# OUTPUT:
[{'city': 'Melbourne', 'code': 'AU', 'country': 'Australia'},
 {'city': 'Jerusalem', 'code': 'IL', 'country': 'Israel'}]
 
PREVIOUS NEXT
Tagged: #reverse #geocoding #python
ADD COMMENT
Topic
Name
7+8 =