119 lines
2.6 KiB
Markdown
119 lines
2.6 KiB
Markdown
# Spacecruft Leaflet Galmon
|
|
Retrieve Galmon observers, output HTML map with leaflet.
|
|
|
|
|
|
`galmon-observers2leaflet` is a script to retrieve Galmon
|
|
observer locations and feed them to Leaflet maps for visualization.
|
|
|
|
|
|
The Galmon GNSS Monitoring Project's
|
|
*"goals are to monitor the major Global Navigation Satellite Systems,
|
|
including GPS, GLONASS, Galileo and BeiDou, but also Space Base
|
|
Augmentation Systems like WAAS, EGNOS and GAGAN. Galmon is an open
|
|
source & open data project with a community of over 30 station operators
|
|
running more than 50 receivers."*
|
|
|
|
|
|
*Leaflet is the leading open-source JavaScript library for
|
|
mobile-friendly interactive maps.*
|
|
|
|
# Screenshots
|
|
Screenshots of Galmon Observers, generated by `leaflet-galmon-observers`.
|
|
|
|
*Leaflet with Galmon Observer locations.*
|
|
![leaflet-galmon-observers](pics/leaflet-galmon-observers.png)
|
|
|
|
|
|
# Install
|
|
Install thusly.
|
|
|
|
If you want to generate your own files:
|
|
```
|
|
# Quick & dirty Python setup
|
|
sudo apt update
|
|
sudo apt install python3-pip
|
|
pip install --user --upgrade pip
|
|
pip install --user -r requirements.txt
|
|
```
|
|
|
|
# Run
|
|
Run thusly.
|
|
|
|
Retrieve Galmon observers, output for Leaflet.
|
|
```
|
|
git clone https://spacecruft.org/spacecruft/leaflet-galmon
|
|
cd leaflet-galmon
|
|
./galmon-observers2leaflet > ./html/galmon.html
|
|
# View in browser or serve with webserver:
|
|
firefox ./html/galmon.html
|
|
```
|
|
|
|
# Galmon Data
|
|
Galmon data can be retrieved from the website in JSON format.
|
|
Available URLs:
|
|
|
|
Global, overview of data collection:
|
|
* https://galmon.eu/global.json
|
|
|
|
Service Vehicles (Satellites):
|
|
* https://galmon.eu/svs.json
|
|
|
|
Almanac. Can also be queried with `t` time flag:
|
|
* https://galmon.eu/almanac.json
|
|
* https://galmon.eu/almanac.json?t=1653332121
|
|
|
|
Observers (Ground Stations):
|
|
* https://galmon.eu/observers.json
|
|
|
|
Coverage:
|
|
* https://galmon.eu/cov.json
|
|
* https://galmon.eu/cov.json?gps=0&galileo=1&beidou=0&glonass=0
|
|
|
|
SBAS:
|
|
* https://galmon.eu/sbas.json
|
|
|
|
# See Also
|
|
## Spacecruft
|
|
Spacecruft:
|
|
|
|
* https://spacecruft.org/spacecruft/celestia-gnss
|
|
|
|
* https://spacecruft.org/spacecruft/gnss-earth
|
|
|
|
## Galmon
|
|
Galmon main page:
|
|
* https://galmon.eu
|
|
|
|
Galmon web map:
|
|
* https://galmon.eu/geo/
|
|
|
|
Source code:
|
|
* https://github.com/berthubert/galmon
|
|
|
|
Observers:
|
|
* https://berthub.eu/articles/posts/galmon-project/
|
|
|
|
## Leaflet
|
|
|
|
* https://leafletjs.com
|
|
|
|
Serving Leaflet images and javascript directly. Files from:
|
|
|
|
* https://unpkg.com/leaflet@1.7.1/dist/leaflet.js
|
|
|
|
* https://unpkg.com/leaflet@1.7.1/dist/leaflet.css
|
|
|
|
|
|
# Status
|
|
Works.
|
|
|
|
|
|
# License / Copyright
|
|
Unofficial project, not part of Leaflet or Galmon.
|
|
Upstream sources under their respective copyrights.
|
|
|
|
Copyright (C) 2022 Jeff Moe.
|
|
|
|
License: AGPLv3 or any later version.
|
|
|