Skip to content

Latest commit

 

History

History
15 lines (15 loc) · 398 Bytes

README.md

File metadata and controls

15 lines (15 loc) · 398 Bytes

USAGE

## import library
from easygis import egis
## Contries support: 'vietnamese' only now.
vi_gis = egis(country='vie')
## Load data
dataLoader = vi_gis.loadDatabase()
## Give an example location
pts = [21.038575823260388, 105.77209179475015]
result = vi_gis.findout(pts,dataLoader)
## Result
print(result)
-> {'ward': 'Mai Dịch', 'district': 'Cầu Giấy', 'province': 'Hà Nội'}