Commit graph

991 commits

Author SHA1 Message Date
Oliver Jowett 65a0f7f963 Compress vrs.csv since it's basically readonly. 2016-09-10 17:43:10 +01:00
Oliver Jowett 9b0d40fd4f CUTnnnn should be CU-Tnnnn 2016-09-10 17:39:42 +01:00
Oliver Jowett 2a3e4a0a0d Support reading multiple CSVs in csv-to-json.py 2016-09-10 17:26:55 +01:00
Oliver Jowett f45430e3b5 Warn about CSV mismatches in filter-regs.js 2016-09-10 17:26:36 +01:00
Oliver Jowett 2f12447fda Russian regs should be RA-nnnnn not RAnnnnn 2016-09-10 16:19:06 +01:00
Oliver Jowett aa916439e4 Prune the static DB with filter-regs.js 2016-09-10 16:07:38 +01:00
Oliver Jowett d1a33f4655 Add a script that filters redundant registrations from the json db 2016-09-10 15:54:59 +01:00
Oliver Jowett e5912c322f Add some mechanical hexid->registration conversions. 2016-09-09 17:16:17 +01:00
Oliver Jowett 08fba4e3b0 Add support for markers that don't rotate but have a heading arrow.
Use it for balloons.
2016-08-29 12:38:00 +01:00
Oliver Jowett fa91b24ffa Use _DEFAULT_SOURCE to get ANSI-plus-defaults rather than
_BSD_SOURCE + _POSIX_SOURCE which newer glibc doesn't like.

Fixes #143
2016-08-28 23:48:17 +01:00
Oliver Jowett 244ea9851d Add A380 and B737-800 markers. 2016-08-27 19:19:13 +01:00
Oliver Jowett 4d47ada055 Add some more type->marker mappings. 2016-08-27 19:18:57 +01:00
Oliver Jowett 4c79319145 Fix the scaling comment. 2016-08-27 16:43:17 +01:00
Oliver Jowett 158a8298fc Rearrange json DB stuff so it can work with CSV input. 2016-08-27 16:13:10 +01:00
Oliver Jowett ca57fb27f0 Add more aircraft icons courtesy Peter Lowden.
Add support for selecting an icon based on aircraft type from the json DB.
2016-08-27 15:49:04 +01:00
Oliver Jowett f152bf633e Build in C11 mode on Linux. 2016-08-27 13:15:41 +01:00
Oliver Jowett 36a5c16dd2 Initialize from static "zero" messages rather than using memset. 2016-08-26 21:39:39 +01:00
Oliver Jowett 8b8f8d7a40 Use INVALID_ALTITUDE in a few more places. 2016-08-26 21:38:06 +01:00
Oliver Jowett 08c14484cd Use the haversine formula for small greatcircle distances, rather
than clamping to zero.
2016-08-26 11:36:29 +01:00
Oliver Jowett a910454c02 Comm-D ELM is actually DF 24..31, not just 24.
This DF is formatted with the first two bits as 1, and the next 3 bits
are part of the message rather than part of the DF code. So effectively
it spans 8 DF values if you are looking at the full 5 bits.
2016-08-26 11:35:11 +01:00
Oliver Jowett 308b928f8c If maxrange is 0, we cannot do receiver-relative CPR at all. 2016-08-26 11:31:32 +01:00
Oliver Jowett 43906f994b Limit aircraft-relative CPR to 50km. 2016-08-26 11:30:46 +01:00
Oliver Jowett 568e843b9f Add --max-range to view1090, use the same defaults as dump1090. 2016-08-26 11:29:42 +01:00
Oliver Jowett 8d998b2525 Rename --hae to --gnss since it's not always HAE.
(In the baro+GNSS modes, the reported GNSS can be either HAE or geoid-corrected MSL;
in the pure GNSS mode it is HAE only)
2016-08-26 11:27:46 +01:00
Oliver Jowett bc8ba5b73a Refresh the nexrad tiles every 5 mins. 2016-08-05 01:18:23 +01:00
Oliver Jowett 8766a58811 Add a NEXRAD layer suggested in #135 2016-08-04 21:19:31 +01:00
Oliver Jowett 50fd2ac2af Store the state of each overlay layer in localStorage. 2016-08-04 21:18:54 +01:00
Oliver Jowett ca3c4979f5 Add a note about quoting keys in config.js 2016-07-24 21:15:21 +01:00
Oliver Jowett 426e77a252 Don't choke when selecting positionless planes in the table. 2016-07-24 16:58:13 +01:00
Oliver Jowett 4305c99b01 Add Bing roadmap layer (if you have a key) 2016-07-24 16:25:14 +01:00
Oliver Jowett d3565b407e Generate geodesic circles for range rings.
Turns out that OL3's circles aren't geodesic circles so the
ranges are all off if you're anywhere but on the equator.
So generate our own LineStrings that approximate a circle.

Should fix #133
2016-07-24 16:13:04 +01:00
Oliver Jowett a06b13d42a Relax the A/C quiet threshold; this seems to pick up a lot more A/C messages. 2016-07-24 15:05:52 +01:00
Oliver Jowett 1e5a6fd854 Don't touch the GPS setting (I had it backwards anyway). 2016-07-13 10:56:54 +01:00
Oliver Jowett 474b564385 Try to configure whatever faup1090 connects to for the settings we want. 2016-07-13 10:02:15 +01:00
Oliver Jowett b2aaa23984 Remove the last vestiges of the update-aircraft-db cronjob. 2016-07-10 12:22:32 +01:00
Oliver Jowett ad3d0e4d74 Upgrade the lighttpd dependency to Recommends 2016-07-10 12:13:49 +01:00
Oliver Jowett 9012b46ee1 Make the lighttpd enable/disable a bit more automatic. 2016-07-10 12:12:09 +01:00
Oliver Jowett ebfa6f63be Strip out the config options for the internal webserver. 2016-07-10 11:58:46 +01:00
Oliver Jowett e4ceea33da Disable the internal webserver at build time. 2016-07-10 11:56:31 +01:00
Oliver Jowett 9a10ef4886 Remove a stray "fi" in the initscript. Should fix #127. 2016-07-10 11:41:02 +01:00
Oliver Jowett 68ef9ce3be Add a note about the map API change. 2016-07-05 22:25:31 +01:00
Oliver Jowett b05510ccc5 Merge branch 'ol3'
This switches from Google's map API to OpenLayers, as using Google's API
now requires an API key which most users won't have (and it's not
practical to distribute a key with the project, as the free quota would
run out pretty fast)

This unfortunately means that we can't use Google's tiles, even with a key.
The map now defaults to OpenStreetMap; Bing and Mapzen tiles are also
available if keys are provided in config.js.
2016-07-05 22:21:09 +01:00
Oliver Jowett 6e1372708c Switch to OL 3.17.1; include a copy locally. 2016-07-05 22:07:26 +01:00
Oliver Jowett b93ada6196 Explain where to get map keys. 2016-07-05 21:54:24 +01:00
Oliver Jowett ae6a7acb67 Move aircraft icons above aircraft trails. 2016-07-03 14:54:36 +01:00
Oliver Jowett abab5f5440 Fix initial baselayer selection if no type was stored. 2016-07-03 14:54:14 +01:00
Oliver Jowett 2bbc117528 Base64-encode the SVG markers, seems to make Firefox happier. 2016-07-03 14:44:05 +01:00
Oliver Jowett 381ce5f280 Lots of layer cleanups.
Move layer config into a separate file.
Add a Mapzen vector tile layer.
Make the overlay layers toggleable.
2016-07-03 13:56:58 +01:00
Oliver Jowett 6676bc8172 Allow forEachRecursive to work on a collection/array. 2016-07-03 13:36:32 +01:00
Oliver Jowett 4862010d42 Don't gratuitously reverse the layer order in the switcher. 2016-07-03 13:35:54 +01:00