Location: reinstate vertical-accuracy, climb?
Submitted by Simon McVittie
Assigned to Telepathy bugs list
Description
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.
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.
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!
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'.