4 releases

0.2.2 Jan 29, 2022
0.2.1 Jan 29, 2022
0.2.0 Jan 29, 2022
0.1.0 Jan 29, 2022

#83 in #location

Download history 54/week @ 2024-07-21 101/week @ 2024-07-28 53/week @ 2024-08-04 17/week @ 2024-08-11 3/week @ 2024-08-18 16/week @ 2024-08-25 37/week @ 2024-09-01 6/week @ 2024-09-08 42/week @ 2024-09-15 32/week @ 2024-09-22 50/week @ 2024-09-29 114/week @ 2024-10-06 34/week @ 2024-10-13 131/week @ 2024-10-20 64/week @ 2024-10-27 74/week @ 2024-11-03

308 downloads per month

GPL-2.0-or-later

20KB
94 lines

Geoclue: The Geoinformation Service

From the GeoClue README:

Geoclue is a D-Bus geoinformation service. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.

Geoclue is Free Software, licensed under GNU GPLv2+.

Geoclue comprises the following functionalities:

  • 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)

WiFi-based geolocation makes use of Mozilla Location Service.

If geoclue is unable to find you, you can easily fix that by installing and running a simple app on your phone. For using phone GPS, you'll need to install the latest version of GeoclueShare app on your phone (currently, this is supported only on Android devices).

Geoclue was also used for (reverse-)geocoding but that functionality has been dropped in favour of the geocode-glib library.

For reverse Geocoding you can also use Nominatim-rs

Dependencies

~13–23MB
~364K SLoC