Created
February 22, 2021 15:10
-
-
Save SkyWriter/fd5d014535a9471e51a2b457c2a29f43 to your computer and use it in GitHub Desktop.
Revisions
-
SkyWriter created this gist
Feb 22, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # Steps 0. Install the dependencies: curl and jq. 1. Generate locations CSV file: $ curl -sS 'https://api.bran... 2. Upload it to https://www.gpsvisualizer.com/map_input?form=googleearth to generate a KMZ file. 3. Use Google Earth to browse waypoints. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #!/usr/bin/env bash curl -sS 'https://api.brandmeister.network/v1.0/repeater/?action=LIST&callback=jQuery21409266752848243749_1614003744281&_=1614003744283' | sed 's#^jQuery[0-9_]*(##g' | sed 's#)$##g' | jq '.[] | select(.pep != null) | select((.pep | tonumber) > 1.0) | select(.status == "3") | {name: .callsign, desc: "\(.repeaterid) \(.callsign) RX\(.rx) TX\(.tx) CC\(.colorcode)", latitude: .lat, longitude: .lng}' | jq -s | jq -r '(map(keys) | add | unique) as $cols | map(. as $row | $cols | map($row[.])) as $rows | $cols, $rows[] | @csv' > repeaters.csv