TheBiggerGuy / docker-ads-b

Docker container for ADS-B
MIT License
30 stars 2 forks source link

VirtualRadarServer - not showing routes, silhouettes or flags #8

Open SingingDwarf opened 5 years ago

SingingDwarf commented 5 years ago

Virtual Radar Server is not displaying aircraft silhouettes, flags or routes - despite the aircraft transmitting valid ICAO and callsign.

TheBiggerGuy commented 5 years ago

Could you please confirm you have configured VRS to read from the dump1090 source? Unfortunately I have yet to make it auto configure to the correct source.

Settings can be found via: http://localhost:8080/VirtualRadar/WebAdmin/Settings.html

Screenshot from 2019-05-01 22-47-52

Screenshot from 2019-05-01 22-49-12

SingingDwarf commented 5 years ago

Yes, I have it configured correctly to the MODE-S transmission from dump1090 (not MLAT, as that is not working correctly subject to a different issue).

I see the same as you in the example posted above - under the aircraft list, i.e. no silhouette, flag or route, although the reg, ICAO, callsign, alt and speed are all displayed correctly.

I'm guessing its because the flags and silhouettes are not distributed with the build. From what I can gather on the VRS site, they need to be downloaded and stored somewhere locally.

As to the route, this appears to come from a database file, which I assume is also missing from the distribution.

Presumably both the silhouettes/flags and database could be stored outside of the docker image and mapped from it, with the path(s) then needing to be updated via the web admin plugin. Need to brush up on my docker skills and see if this is possible.

Presumably a similar issue is causing the VRS reports not to run - the data from the days flights has no database to be written to?

TheBiggerGuy commented 5 years ago

Could you please pull the latest build (eg. docker-compose pull). If it still is not working I will have to look deeper into VRS. The above screenshot was taken from the latest docker image so I cannot currently reproduce the issue.

TheBiggerGuy commented 5 years ago

Apologies I misunderstood the question. Yes silhouettes and flags are not distributed with the Docker image and at current the Docker image has no way to upload the needed files. I will look into licensing to see if they can be distributed or if there needs to be a method for each user to individually upload the data.

TheBiggerGuy commented 5 years ago

Could you please try the latest Dev build. I have updated VRS to now download and use the route DB. Please set the required lat/long vars in the variables-virtualradar.env file.

To run against the Dev branch please use: TAG=dev docker-compose pull/build/up

Please note: At current any configuration and/or plane tracking history is lost with restarts/updates. I aim to update this in future to maintain it across updates/restarts.

Screenshot from 2019-05-02 14-59-21

Notes:

TheBiggerGuy commented 5 years ago

Also of note: The route DB will not work immediately. For an unknown reason the downloaded DB is missing tables. After 24 hours the server should auto update the file and get the working results as shown above. I still need to root cause this.

TheBiggerGuy commented 5 years ago

This has been working well for me so merging into latest. https://github.com/TheBiggerGuy/docker-ads-b/pull/17 Still need to fix silhouettes and flags.