JavadocMD / simplelatlng

A simple, lightweight library for common latitude and longitude calculation needs in Java.
89 stars 20 forks source link

Rod conversion is inverted #12

Closed drobert closed 9 years ago

drobert commented 9 years ago

I can honestly say I never thought I'd open a ticket concerning conversion of Rods to another unit of distance...

In com.javadocmd.simplelatlng.util.LengthUnit, ROD is defined as "0.0050292 rods to the kilometer", however that scalar represents the number of kilometers per rod.

The correct value should be 198.839 rods per kilometer.

JavadocMD commented 9 years ago

Good heavens! I will address this posthaste.

JavadocMD commented 9 years ago

Fixed for release v1.3.1.