Ysurac / FlightAirMap

Open source project displaying live aircrafts, ships or trackers on 2D/3D map. Browse through the data based on a particular aircraft, airline, airport, tracker or vessel to search through the database or see extensive statistics. Can use ADS-B in SBS1 format (dump1090, Radarcape,...), VRS, VA (VATSIM, IVAO whazzup.txt, phpvms,...), ACARS (acarsdec, acarsdeco2), APRS, AIS as datasource.
https://www.flightairmap.com/
GNU Affero General Public License v3.0
516 stars 157 forks source link

Inaccurate Flight Plans #326

Closed koliha closed 7 years ago

koliha commented 7 years ago

Most flight plans (when pulled) are correct, but there are quite a few that come up with stale data? I think one of them that I checked was listing info for a flight that occured ~3hr ago on the web interface. I was questioning the sources that were in the array (within settings.php) so I removed 2 of 4 (leaving behind flightradar24 and flightaware).

Still seeing the issue though?

Example: screen shot 2017-07-07 at 9 06 47 pm screen shot 2017-07-07 at 9 06 37 pm screen shot 2017-07-07 at 9 06 25 pm

Ysurac commented 7 years ago

Schedules sources are not called each times. KATL is a route stop, I have an error here.

Ysurac commented 7 years ago

In fact I have correct flight plan in DB, I think it's because you didn't use web install, you have some old schedule source in table.

Ysurac commented 7 years ago

You can run in SQL:

TRUNCATE routes;

And then run scripts/update_db.php again.

koliha commented 7 years ago

Truncating the routes tables seems to have solved this -- thanks :)