is GeoClue using GPSD?

Bastien Nocera hadess at hadess.net
Tue Feb 28 10:34:13 UTC 2017


On Tue, 2017-02-28 at 11:30 +0100, Zeeshan Ali (Khattak) wrote:
> Hi,
> 
> On 28 February 2017 at 11:26, Bastien Nocera <hadess at hadess.net>
> wrote:
> > On Sun, 2017-02-26 at 17:42 +0100, Zeeshan Ali (Khattak) wrote:
> > > Hi Nikolai,
> > > 
> > > On 26 February 2017 at 14:29, Nikolai Neff <nineff at gmail.com>
> > > wrote:
> > > > Hello!
> > > > 
> > > > Currently I'm trying to get Gnome Maps to display my location
> > > > based
> > > > on my
> > > > USB-GPS receiver (NL-602U). However geoclue seems to only
> > > > provide
> > > > very rough
> > > > data based on my IP address. The receiver is working fine with
> > > > GPSD
> > > > and its
> > > > clients like Navit.
> > > > 
> > > > I couldn't really find any documentation regarding the use of
> > > > GPS
> > > > in
> > > > combination with GeoClue, so that's why I'm asking here.
> > > 
> > > Unfortunately there is no support currently:
> > > https://lists.freedesktop.org/archives/geoclue/2015-June/000687.h
> > > tml
> > > (please read that thread on this topic) but the network NMEA
> > > source
> > > mentioned in there has been in place for a while now so it
> > > shouldn't
> > > be a huge task at all to get geoclue to make use of GPSD.
> > 
> > I'd recommend making it use gypsy instead:
> > http://gypsy.freedesktop.org/why-not-gpsd.html
> 
> I think more relevant fact here is that Gypsy has been completely
> unmaintained for years now so I wouldn't want to depend on it unless
> the situation changes.

The difference in quality between the two really hasn't changed, fwiw.

> > I'd recommend having an application feed data from gpsd into
> > Geoclue,
> > which would allow testing and configuring those stand-alone GPS
> > devices.
> 
> Or GPSD can be made to do that itself?

It could, but it's still an awful piece of code.


More information about the GeoClue mailing list