Skip to content

Support geoclue for location provider on LInux #4334

@craftyguy

Description

@craftyguy

Is your feature request related to a problem? Please describe.

Some devices do not have GPS hardware, or it may not be supported by GPSD. Often times fine location isn't actually required by stellarium, and having course data about your location (i.e. within a few hundred meters) is good enough.

Describe the solution you'd like

It would be great if stellarium could use a location provider that is able to determine some level of location accuracy from sources other than GPS hw (which may not even be present)

Describe alternatives you've considered

Geoclue is a great alternative to gpsd since it can provide some info about a device's location in many more cases than gpsd.
From the geoclue wiki:

The aim of project is to utilize all possible sources of geolocation to best find user's location:

WiFi-based geolocation (accuracy: in meters)
GPS(A) receivers (accuracy: in centimeters)
GPS of other devices on the local network, e.g smartphones (accuracy: in centimeters)
3G modems (accuracy: in kilometers, unless modem has GPS)
GeoIP (accuracy: city-level)

https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home

Additional context

Using geoclue would allow stellarium to get location data on more devices (i.e. those without GPS, or GPS hw not supported by gpsd).

Metadata

Metadata

Assignees

Labels

featureEntirely new featureos: linuxSpecific issues for Linux-family OS

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions