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

aircraft.json #342

Closed nzradar closed 6 years ago

nzradar commented 6 years ago

Using aircraft.json as input I seem to get no flight number.

fm1

The other thing I notice is the styling of some of the pages hanging off the Statistics page, so when viewing Statistics and then selecting aircraft or registration the page is not looking too good!

fm2

nzradar commented 6 years ago

Perhaps I should add that I'm using piaware on a rpi3 as the data source and Xubuntu to host flightairmap. By changing to port 30003 sourced data the flight info is provided OK but I lose the flightaware MLAT! Perhaps a mismatch of the json data?

Ysurac commented 6 years ago
Ysurac commented 6 years ago

If I remember correclty, for MLAT on 30003 port, you need to add --forward-mlat to Dump1090.

nzradar commented 6 years ago

$globalURL is '.'

nzradar commented 6 years ago

aircraft.json fix is perfect, than you very much :+1:

Ysurac commented 6 years ago

$globalURL should not be a '.'. Empty if no subdirectory in path or the subdirectory name.

nzradar commented 6 years ago

OK, I have set the $globalURL to the full URL of my flighairmap and all is well now. Thanks for the prompt support.

Ysurac commented 6 years ago

You only need to put /flightairmap. No need for the full URL.

nzradar commented 6 years ago

OK, will try that soon.

TomMuc1 commented 6 years ago

I think it's the problem: if your url is http://127.0.0.1/flightairmap/ then $globalURL must be /flightairmap I will add an autodetect for this value.

the autodetect fails and auto-inserts '/install/' as root what of course wont work ...

Ysurac commented 6 years ago

Should be fixed in latest commit.

TomMuc1 commented 6 years ago

you are unbelievable :) hope the way and words i post possible bugs is ok for you. if you want more/different way of input just let me know ...

pi@RaspPiADSB5:/var/www/html/flightairmap $ sudo git pull
[sudo] password for pi:
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 10 (delta 8), reused 10 (delta 8), pack-reused 0
Unpacking objects: 100% (10/10), done.
From http://github.com/ysurac/flightairmap
     master     -> origin/master
Updating 
Fast-forward
 css/style.css     | 2 +-
 index.php         | 2 +-
 install/index.php | 4 ++--
 live-geojson.php  | 6 +++---
 4 files changed, 7 insertions(+), 7 deletions(-)
pi@RaspPiADSB5:/var/www/html/flightairmap $