W3C home > Mailing lists > Public > public-geolocation@w3.org > June 2009

Re: WebIDL, optional attributes

From: Andrei Popescu <andreip@google.com>
Date: Wed, 10 Jun 2009 17:01:21 +0100
Message-ID: <708552fb0906100901r609c16d0o6ce706d1e0dc3e7@mail.gmail.com>
To: Marcin Hanclik <Marcin.Hanclik@access-company.com>
Cc: Anne van Kesteren <annevk@opera.com>, public-geolocation <public-geolocation@w3.org>
On Wed, Jun 10, 2009 at 1:55 PM, Marcin
Hanclik<Marcin.Hanclik@access-company.com> wrote:
> Hi Andrei,
>
>>>Yes, I will ask the question about it. Or, are you part of the WebApps
>>>WG? In that case, perhaps you could bring up the issue with them?
> Yes, I already drafted an email about it, but I am waiting for a conclusion of the discussion in this ML.
>
> It would be interesting to know whether the existing implementations are in ES or Java?
> ES Number is 64-bit anyway (so float and double have the same mapping there), but Java makes a distinction.
> The question is:
> Do we want 64-bit or 32-bit values for: latitude, longitude, altitude, accuracy, altitudeAccuracy, heading, speed?
>
> If 32 bits are enough, then I would suggest updating geolocation.
> If 64 bits are required, then WebIDL spec must be modified (I can send the proposal to WebApps after having the conclusion here).
>

With single precision floating point you can represent longitudes with
a precision of about 4 meters. This isn't enough. Please fix WebIDL.

Thanks,
Andrei
Received on Wednesday, 10 June 2009 16:01:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 18:13:32 GMT