Turbo87 / utm

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

Improve accuracy of `to_latlon()` #49

Closed chlxt closed 4 years ago

chlxt commented 4 years ago

c should be calculated using E_P2 rather _E, refer to USGS 1395

This bug will reduce the accuracy in some cases when converting from UTM X/Y to Lat/Lon, as has been discussed in #36 .

codecov[bot] commented 4 years ago

Codecov Report

Merging #49 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   95.09%   95.09%           
=======================================
  Files           3        3           
  Lines         163      163           
=======================================
  Hits          155      155           
  Misses          8        8           
Impacted Files Coverage Δ
utm/conversion.py 94.96% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ffad1de...17e570c. Read the comment docs.