Template request | Bug report | Generate Data Product
Tags: #python #snippet #naas #geocoder
Author: Suhas B
Description: This notebook provides a way to find the geographic coordinates of a given location using Python.
try:
import geocoder
except:
!pip install geocoder --user
import geocoder
latitude = 12.30215530579874
longitude = 76.65306751341747
location_from_coordinates = geocoder.arcgis([latitude, longitude], method="reverse")
print(f"Location from coordinates: {location_from_coordinates[0]}")