[OpenLayers-Dev] Adding nautical miles and yards to units

Ian Mayo ian at planetmayo.com
Mon Oct 8 05:16:56 EDT 2007


thanks for the support Gertjan,

the mistake just occurred in my email proposal, the code contained the
correct implementation.

The patch I submitted contained the correct units:
http://trac.openlayers.org/attachment/ticket/1065/patchfile.patch

thanks again,
Ian Mayo

On 08/10/2007, Gertjan van Oosten <gertjan at west.nl> wrote:
> 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