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

Christopher Schmidt crschmidt at metacarta.com
Mon Oct 8 12:09:38 EDT 2007


On Mon, Oct 08, 2007 at 10:59:41AM +0200, Gertjan van Oosten 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...

Yeah, I think he did, in the patch.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list