[Telepathy] [Bug 19586] New: Location: improve XEP-0080 so we can stay closer to it :-)

Peter Saint-Andre stpeter at stpeter.im
Thu Jan 15 08:35:54 PST 2009


bugzilla-daemon at freedesktop.org wrote:
> http://bugs.freedesktop.org/show_bug.cgi?id=19586
> 
>            Summary: Location: improve XEP-0080 so we can stay closer to it
>                     :-)
>            Product: Telepathy
>            Version: unspecified
>           Platform: Other
>         OS/Version: All
>             Status: NEW
>           Severity: enhancement
>           Priority: medium
>          Component: telepathy-spec
>         AssignedTo: pierre-luc at pierlux.com
>         ReportedBy: simon.mcvittie at collabora.co.uk
>          QAContact: telepathy at lists.freedesktop.org
> 
> 
> The Location spec currently defines some extra keys "climb" (rate of change of
> altitude in metres per second), "vertical-error-m" (some indication of vertical
> error in metres), "horizontal-error-m" (some indication of horizontal error in
> metres). These are struct fields in Geoclue, but there's no reason they
> couldn't go in the list of well-known keys in XEP-0080; someone should contact
> psa about this.

Here I am. :)

> The names "*-error-m" are ugly, but are currently there to be unambiguous. If
> we could get the XEP changed to have "horizontal-error" and "vertical-error"
> which are definitely in metres, we could lose the "-m" suffix and be happier.

Why do we need separate error/accuracy measures for horizontal and vertical?

> The XEP does contain "error" which is horizontal error in arc-minutes (1/60
> degree). Does anyone care about arc-minutes, and can we perhaps get this
> deprecated or removed or something? It seems like a win to indicate error in a
> real unit (metres) rather than something whose size varies as you move around
> the Earth!

In version 1.6 of XEP-0080 we deprecated <error/> (arc-minutes) in favor
of <accuracy/> (meters):

http://xmpp.org/extensions/xep-0080.html#appendix-revs

> We define an "accuracy-level" key in the same namespace: maybe we could ask psa
> to avoid that name in the XEP, or maybe we could even put it in the XEP as an
> enumerated thing, with values
> 'country'/'region'/'locality'/'postal-code'/'street'/'detailed'.

I don't follow.

/psa


More information about the Telepathy mailing list