Skip to content

According to the latitude and longitude into place names, only to support the transformation of the latitude and longitude of china.

Notifications You must be signed in to change notification settings

sdz7121211/CoordinateToRegion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

According to the latitude and longitude into place names, only to support the transformation of the latitude and longitude of china.

根据经纬度转化为地名,仅支持中国境内的经纬度转化。

from CoordinateToRegion.getRegion import getRegion

lon = 116.65 # 经度

lat = 40.13 # 纬度

pro, city, xiangzhen = getRegion(lon, lat) # 省份、城市、乡镇

print pro, city, xiangzhen

First

git clone https://github.com/sdz7121211/CoordinateToRegion

copy CoordinateToRegion to your project path.

About

According to the latitude and longitude into place names, only to support the transformation of the latitude and longitude of china.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages