leaflet-galmon/README.md

137 lines
3.1 KiB
Markdown
Raw Permalink Normal View History

2022-06-12 18:13:39 -06:00
# Spacecruft Leaflet Galmon
2022-06-12 22:54:11 -06:00
The present repo contains scripts to process data for
viewing with Leaflet maps.
Retrieve Galmon observers and GNSS locations,
output HTML maps with Leaflet.
`galmon-gnssleaflet` is a script to retrieve Galmon
GNSS locations and feed them to Leaflet maps for visualization.
2022-06-12 19:36:51 -06:00
2022-06-12 19:41:12 -06:00
`galmon-observers2leaflet` is a script to retrieve Galmon
observer locations and feed them to Leaflet maps for visualization.
2022-06-12 18:13:39 -06:00
2022-06-12 19:36:51 -06:00
2022-06-12 18:13:39 -06:00
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."*
2022-06-12 19:36:51 -06:00
*Leaflet is the leading open-source JavaScript library for
mobile-friendly interactive maps.*
2022-06-12 18:13:39 -06:00
# Screenshots
2022-06-12 19:42:49 -06:00
Screenshots of Galmon Observers, generated by `galmon-observers2leaflet`.
2022-06-12 18:13:39 -06:00
2022-06-12 19:40:17 -06:00
*Leaflet with Galmon Observer locations.*
2022-06-12 18:13:39 -06:00
![leaflet-galmon-observers](pics/leaflet-galmon-observers.png)
2022-06-12 23:33:30 -06:00
*Leaflet with Galmon GNSS ("GPS satellite") locations.*
2022-06-12 22:54:11 -06:00
![leaflet-galmon-gnss](pics/leaflet-galmon-gnss.png)
2022-06-12 18:13:39 -06:00
# 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.
```
2022-06-12 19:36:51 -06:00
git clone https://spacecruft.org/spacecruft/leaflet-galmon
cd leaflet-galmon
2022-06-12 20:32:09 -06:00
./galmon-observers2leaflet > ./html/observers.html
2022-06-12 22:54:11 -06:00
./galmon-gnss2leaflet > ./html/gnss.html
2022-06-12 19:36:51 -06:00
# View in browser or serve with webserver:
2022-06-12 22:54:11 -06:00
firefox ./html/gnss.html
2022-06-12 20:32:09 -06:00
firefox ./html/observers.html
2022-06-12 18:13:39 -06:00
```
# 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/
2022-06-12 19:36:51 -06:00
## Leaflet
* https://leafletjs.com
2022-06-12 20:11:27 -06:00
* https://github.com/Leaflet/Leaflet
2022-06-12 19:36:51 -06:00
Serving Leaflet images and javascript directly. Files from:
2022-06-12 22:24:40 -06:00
* https://unpkg.com/leaflet@1.8.0/dist/leaflet.js
2022-06-12 19:36:51 -06:00
2022-06-12 22:24:40 -06:00
* https://unpkg.com/leaflet@1.8.0/dist/leaflet.css
2022-06-12 19:36:51 -06:00
2022-06-12 18:13:39 -06:00
# Status
2022-06-12 19:36:51 -06:00
Works.
2022-06-12 18:13:39 -06:00
# License / Copyright
2022-06-12 22:56:22 -06:00
Source:
* https://spacecruft.org/spacecruft/leaflet-galmon
2022-06-12 18:13:39 -06:00
Unofficial project, not part of Leaflet or Galmon.
Upstream sources under their respective copyrights.
Copyright (C) 2022 Jeff Moe.
2022-06-12 19:36:51 -06:00
License: AGPLv3 or any later version.
2022-06-12 18:13:39 -06:00