UTM v0.1.0 UTM View Source
Link to this section Summary
Link to this section Functions
Converts from WGS84 to UTM
Examples:
iex> UTM.from_wgs84(59.805241567229885, 11.40618711509996)
%{east: 634980.0000762338, north: 6632172.011406599}
iex> UTM.from_wgs84(63.50614385818526, 9.200909996819014)
%{east: 5.1e5, north: 7042000.012790729}
iex> UTM.from_wgs84(-31.953512, 115.857048)
%{east: 391_984.4643429378, north: 6_464_146.921846279}
Converts from UTM to WGS84
Examples:
iex> UTM.to_wgs84(634980.0, 6632172.0, 32, :north)
%{lat: 59.805241567229885, lon: 11.40618711509996}
iex> UTM.to_wgs84(510000, 7042000, 32, :north)
%{lat: 63.50614385818526, lon: 9.200909996819014}
iex> UTM.to_wgs84(391_984.4643429378, 6_464_146.921846279, 50, :south)
%{lat: -31.95351191012423, lon: 115.8570480011093}