mrJean1 / PyGeodesy

Pure Python geodesy tools
https://mrjean1.github.io/PyGeodesy/
297 stars 58 forks source link

wrong .sizes() output #11

Closed elehcimd closed 7 years ago

elehcimd commented 7 years ago

first_geohash = geohash_freqs[‘geohash’].iloc[0] sizes = pygeodesy_geohash.sizes(first_geohash) print(first_geohash,sizes) u336xv (4890.0, 4890.0)

for precision=6 it’s returning ( 4890, 4890, 2758.887), # 5 but it should return ( 610, 1220, 486.710), # 6

mrJean1 commented 7 years ago

Thank you for reporting this issue. The fix is in PyGeodesy-17.7.18, function/method sizes now returns the correct 2-tuple (latHeight, lonWidth).