October 2013
Beginner to intermediate
364 pages
8h 8m
English
When you start working with multiple data sets you'll inevitably end up with data in different coordinate systems and projections. You can convert back and forth between UTM and latitude/longitude using a pure Python module called utm. You can install it using easy_install or pip from PyPI:
https://pypi.python.org/pypi/utm
The utm module is straightforward to use. To convert from UTM to latitude and longitude:
>>> import utm >>> y = 479747.0453210057 >>> x = 5377685.825323031 >>> zone = 32 >>> band = 'U' >>> utm.to_latlon(y,x,zone,band) (48.55199390882121, 8.725555729071763)
The UTM zones are numbered horizontally. However, vertically, the bands of latitude are ordered by English alphabets with a few exceptions. The letters ...
Read now
Unlock full access