A GIS tool get ward, district and province from coordinate.
Project description
USAGE
## import library
import easygis
## Contries support: 'vietnamese' only now.
gis = easygis.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.1.tar.gz
(7.1 MB
view details)
File details
Details for the file easygis-1.0.1.tar.gz.
File metadata
- Download URL: easygis-1.0.1.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 |
363ad7e98c87156aadac5d2c06690385ece3cf5fcb71c6ca6cbf2d0a4a23ee86
|
|
| MD5 |
cbc40e75a1f5c13f4051f1804b2d2e00
|
|
| BLAKE2b-256 |
f2b73dfbcd212498a055d26552a2590319b29c7324af08eb9adac23eac2e8aa4
|