Skip to content

How does it work?

Mohamed RACHID edited this page Feb 19, 2017 · 3 revisions

Connection to GPS device

The program connects to a GPSD server: it is a GPSD client.

Physically, the GPSD server is a daemon that runs on a GPS device connected to an IP network. This device can be your smartphone, a tablet, a GPS navigator with WiFi, etc.

In the case of a smartphone, the IP network can be created by connection sharing (mostly using WiFi or USB) and the GPSD daemon will probably be an application such as Share GPS on Android.

Once connected

As connection to a GPSD server is not something very common, this application relays the GPS data in order to make it available to easily usable formats.

The GPSD to JavaScript relay transforms GPSD information into JavaScript code and JSON code. It pushes these codes into a file or into the built-in HTTP server.

The example Web pages that you can download will contact the built-in HTTP server to request the latest GPS data at the specified rate. They are editable to your taste and your needs. Such pages are really good to use as HTML overlay, ideal for OBS Studio!

Clone this wiki locally