Announcement

Collapse
No announcement yet.

Click option on dump1090 partial data for airport-data.com or other pics/info

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Click option on dump1090 partial data for airport-data.com or other pics/info

    I've searched the forums for stuff about this, or anything similar, but found nothing - maybe I'm not using the right search terms. But this is what I want to do:

    I'm interested in the planes which don't have enough data to show on FR24 but appear on my dump1090 screen (port 8080). It's mainly military stuff - I live in a Tactical Training Area in UK. They will normally show an ICAO, squawk and altitude, occasionally a flight, but little else. But the ICAO can be used to find out what's playing around up there.

    My manual mode is to put the ICAO into http://www.airframes.org/ which will give me some details. But that site doesn't allow bots so I found http://www.airport-data.com/api/doc.php which does, and actually provides scripts.

    So I added an Airport-data button in script.js in /home/pi/dump1090/public_html which comes up in pretty blue alongside FR24/FlightStats/FlightAware when a plane is selected and if clicked it opens a new web page showing something like:

    {"status":200,"count":1,"data":[{"image":"http://www.airport-data.com/images/aircraft/thumbnails/001/208/001208145.jpg","link":"http://www.airport-data.com/aircraft/photo/001208145.html","photographer":"Guitarist"}]}

    So OK, I could use the "http://www.airport-data.com/aircraft/photo/001208145.html" link to find out what the plane was.

    But that's not what I want!!!! Because those buttons only come up if the plane has enough data for FR24 to display it and I can look at the FR24 web page anyway then!

    So what I'm after is a way of clicking on a plane that doesn't have a full data set and getting a pic and/or some info about it. That way I'll know what's lurking up there un-plotted by FR24. It doesn't have to be airport-data.com. It can be from anywhere provided it isn't a manual operation.

    I can't believe I'm not re-inventing the wheel here. So has anyone set something like that up? If so how? Or even better will you share it?!?!

    Thanks.
Working...
X