A GIS tool get ward, district and province from coordinate.
Project description
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'}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easygis-1.0.2.tar.gz
(7.1 MB
view details)
File details
Details for the file easygis-1.0.2.tar.gz.
File metadata
- Download URL: easygis-1.0.2.tar.gz
- Upload date:
- Size: 7.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89612688b9a8cf8357b334cf5c50e7f133f608463b6b005620368bae80376368
|
|
| MD5 |
a6f1436985aa096b37f955b05bd51630
|
|
| BLAKE2b-256 |
c4a19f884c689eabc3cfd752139c1c178c758fb88d020bc0bd7cb227b3fc16f3
|