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.3.tar.gz
(7.1 MB
view details)
File details
Details for the file easygis-1.0.3.tar.gz.
File metadata
- Download URL: easygis-1.0.3.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 |
cc00b32133dc8e7d26f99325e1b7534b935c9e6be8b86513e03d31ab0f3e3d0b
|
|
| MD5 |
c1ad99f291e537bba0fa4608460125af
|
|
| BLAKE2b-256 |
0627b20e51933896a33e6bf2024e5dcfb7539c00aa7644947652771828c5ae90
|