Commit Graph

107 Commits

Author SHA1 Message Date
John Wiseman
05b96b612b Strip leading and trailing whitespace from registration, squawk, callsign. 2020-09-26 17:36:45 -07:00
John Wiseman
2321468260 Merge branch 'add-rapidapi-support' into 'master'
add rapidapi support

Closes #30

See merge request jjwiseman/advisory-circular!5
2020-09-23 21:38:36 +00:00
John Wiseman
80aa4486cc tar1090.adsbexchange.com -> globe.adsbexchange.com. 2020-09-21 22:35:03 -07:00
John Wiseman
71922dd369 Use globe.adsbexchange.com instead of tar1090. 2020-09-19 23:18:15 -07:00
Michael Crenshaw
e0b021fe5b Apply 1 suggestion(s) to 1 file(s) 2020-09-15 18:43:34 +00:00
Michael Crenshaw
0b4a825917 add rapidapi support 2020-09-15 18:14:37 +00:00
John Wiseman
324bc6898d Don't log added aircraft. 2020-08-03 09:37:31 -07:00
John Wiseman
31cfd0a893 Force ICAO hex codes to upper-case.
The V2 ADSBX API returns lower case, so let's get ready.
2020-08-02 16:21:09 -07:00
John Wiseman
3e3beb9eb4 Merge branch 'master' of https://gitlab.com/jjwiseman/advisory-circular 2020-08-02 15:37:31 -07:00
John Wiseman
e2f3479a40 Temporarily log added aircraft. 2020-08-02 15:37:09 -07:00
John Wiseman
fc577cd7e4 Merge branch 'master' of https://gitlab.com/jjwiseman/advisory-circular 2020-08-02 15:31:35 -07:00
John Wiseman
2f7dd3c1b9 Change minimum airport distance from 2.5 km to 3.5 km. 2020-08-02 15:31:13 -07:00
John Wiseman
46f236039e We don't use type or mlat in the API results. 2020-08-02 15:30:26 -07:00
John Wiseman
82baa4509b Add optional attribution to screenshot. 2020-07-23 20:07:21 -07:00
John Wiseman
41d00d5707 Map attribution WIP. 2020-07-23 16:54:42 -07:00
John Wiseman
d75e557ded "recent" track is now the last 5 minutes instead of 10 minutes. 2020-07-21 19:24:29 -07:00
John Wiseman
8869c130c1 Save me from replies regarding negative altitudes. 2020-07-07 12:52:20 -07:00
John Wiseman
6225efcb86 Use geometric/corrected altitude. 2020-07-05 14:11:38 -07:00
John Wiseman
9e603728e6 "Recent" history is now 10 minutes instead of 6. 2020-07-03 20:11:04 -07:00
John Wiseman
6079f238cd Removed 300 foot minimum altitude threshold. 2020-07-01 18:40:53 -07:00
John Wiseman
df8837600a Added ICAO blocklist.
See https://twitter.com/lemonodor/status/1275093309455691776
2020-06-22 10:27:28 -07:00
John Wiseman
a62fd3964e Switched from basestation.sqb to mictronics db. 2020-06-22 09:23:07 -07:00
John Wiseman
663f954410 Updated config examples. 2020-06-11 19:45:11 -07:00
John Wiseman
022e6b86a9 Post thumbnail photo if available from airport-data. 2020-06-11 19:34:36 -07:00
John Wiseman
de67d97223 Preparing to tweet aircraft photos. 2020-06-07 14:56:53 -07:00
John Wiseman
84186f5be4 --airport-geojson now generates a circle for the region of interest. 2020-06-06 22:49:58 -07:00
John Wiseman
421c43c044 Added --airport-geojson. 2020-06-03 15:57:06 -07:00
John Wiseman
9b65ea88dd Added support for airport blocklists.
E.g., this will stop the seaplane base from being considered as a
possible circle blocker:

airport:
  blocklist:
    - New York Skyports Incorporated Seaplane Base
2020-06-02 15:27:43 -07:00
John Wiseman
8b0b1abdb3 Print timing info for pelias requests. 2020-06-02 15:27:28 -07:00
John Wiseman
a45360d806 Added support for ADSBX API whitelist codes.
If an ADSBX API whitelist code is specified, pass it in the headers of
the API request.
2020-05-28 12:35:51 -07:00
John Wiseman
2543fdc5e4 Switch to JSON from EDN. 2020-05-25 17:52:39 -07:00
John Wiseman
4ee19d1a14 Use JSON isntead of EDN for history, 10x speedup. 2020-05-25 15:39:07 -07:00
John Wiseman
80095ceed3 Added edn2json. 2020-05-25 15:36:38 -07:00
John Wiseman
dda25dbdc4 Fixed typo. 2020-05-20 15:05:53 -07:00
John Wiseman
46b863fa36 Replace - with _ in hashtags. 2020-05-20 15:04:02 -07:00
John Wiseman
5f078b4e54 Fixed kondo warnings. 2020-05-11 16:59:36 -07:00
John Wiseman
0ae3de2a0e Slightly less verbose log messages. 2020-05-11 16:52:00 -07:00
John Wiseman
bc3f3210d7 Filter out aircraft on the ground(!). 2020-05-11 16:51:46 -07:00
John Wiseman
919cbd7faa Filter out ground positions. 2020-05-09 14:28:04 -07:00
John Wiseman
3e840690be Added altitude to geojson. 2020-05-09 13:43:05 -07:00
John Wiseman
79e675b263 Accidentally left :headless? false for debugging. 2020-05-07 18:58:35 -07:00
John Wiseman
a46d8d9245 Fixed zoom. 2020-05-07 18:58:24 -07:00
John Wiseman
184cb14aa8 Added screenshot config, with zoom and layer selection. 2020-05-07 13:01:34 -07:00
John Wiseman
9d9e9ba59e Added reverse geocode description fallback: name.
Previously the bot couldn't generate a description or tweet if the
centroid wasn't in a locality or localadmin. Now there's a "name"
fallback so it will always tweet if it can reverse geocode at all.
Typically this means you'll see something like "over Los Angeles
County".
2020-05-06 13:36:37 -07:00
John Wiseman
9ab7b0616f Handle localadmin and log-prefix. 2020-05-05 17:52:11 -07:00
John Wiseman
b9c2e02ecb More unitization. 2020-05-04 14:13:48 -07:00
John Wiseman
2e0ad025a9 We don't use vrs-settings.json anymore. 2020-05-04 07:39:16 -07:00
John Wiseman
cb4b2d149f WIP. 2020-05-03 20:10:54 -07:00
John Wiseman
78dc03e970 Renaming circlebot -> advisorycircular. 2020-05-03 16:19:45 -07:00
John Wiseman
dd92df15f9 Renaming circlebot -> advisorycircular. 2020-05-03 16:18:10 -07:00