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

Pierre-Luc Beaudoin pierre-luc.beaudoin at collabora.co.uk
Thu Jan 15 10:17:18 PST 2009


On Thu, 2009-01-15 at 16:57 +0000, Simon McVittie wrote:
> 
> I believe the idea is that this lets you express what the accuracy of
> your location source is, even if you're using something considerably
> less accurate than GPS (e.g. a client might use GeoIP to guess from
> the IP address what country the user is in, then set the lat/long to
> somewhere in the middle of that country, without knowledge of how
> large each country is).

Exactly, a sample case is when your position is determined by your
network IP address.  Geoclue can provide you with Country/Region/City.
It will also provide a lon/lat position for that city.  Geoclue provides
an accuracy level to inform the consumer that this position is precise
to a city scale.

Such a field could be an improvement to the XEP.  Geoclue provides the
following levels:
        GEOCLUE_ACCURACY_LEVEL_NONE,
	GEOCLUE_ACCURACY_LEVEL_COUNTRY,
	GEOCLUE_ACCURACY_LEVEL_REGION,
	GEOCLUE_ACCURACY_LEVEL_LOCALITY,
	GEOCLUE_ACCURACY_LEVEL_POSTALCODE,
	GEOCLUE_ACCURACY_LEVEL_STREET,
	GEOCLUE_ACCURACY_LEVEL_DETAILED,
where horizontal and vertical error is available on _DETAILED.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20090115/4eda76f8/attachment-0001.pgp 


More information about the Telepathy mailing list