Turbo87 / utm

Bidirectional UTM-WGS84 converter for python
http://pypi.python.org/pypi/utm
MIT License
493 stars 101 forks source link

How to obtain the utm zone value corresponding to a specific city, say, Beijing? #64

Closed hongyi-zhao closed 3 years ago

hongyi-zhao commented 3 years ago

Hi,

I want to use utm package to obtain the utm zone value corresponding to a specific city, say, Beijing. I've read some discussions here but still not so clear on the concrete steps. Any hints will be highly appreciated.

Regards, HY

Turbo87 commented 3 years ago

you need to find the latitude and longitude values of the city and then pass them into the from_latlon() function