[OpenLayers-Dev] Adding nautical miles and yards to units
Gertjan van Oosten
gertjan at West.NL
Mon Oct 8 04:59:41 EDT 2007
As quoted from Ian Mayo <ian at planetmayo.com>:
> On 05/10/2007, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> > On Fri, Oct 05, 2007 at 03:32:06PM +0100, Ian Mayo wrote:
> > > // a nautical mile is 1852 yards (http://en.wikipedia.org/wiki/Nautical_mile)
> >
> > here you use '1852 * m', but it seems like this should be 1852 * yd.
>
> duh.
Ehrm, you should fix the comment, not the calculation: a nautical mile
is 1852 *meters*, not yards...
--
-- Gertjan van Oosten, gertjan at West.NL, West Consulting B.V., +31 15 2191 600
More information about the Dev
mailing list