mutability / dump1090

Dump1090 is a simple Mode S decoder for RTLSDR devices
529 stars 137 forks source link

Add additional plane data to gmap #69

Closed j0nson closed 8 years ago

j0nson commented 9 years ago

Added the manufacturer, model, and owner of aircraft to the GMAP when using BasicAircraftLookup.sqb, and added the ability to parse BaseStation.sqb, which adds a huge number of additional ICAOs. The default is to use BasicAircraftLookup.sqb, additional work by the user needs to be done to utilize BaseStation.sqb, including manually downloading the database from http://planebase.biz/bstnsqb and altering the cron update script to use the database.

The new DB update script must be run before testing this patch:

/usr/share/dump1090-mutability/vrs-basicaircraft-to-json.py /var/cache/dump1090-mutability/sqb/BasicAircraftLookup.sqb /var/cache/dump1090-mutability/db/

skyhawk180 commented 9 years ago

Excellent. I'll be testing this on my dev-pi this evening.

leeclemens commented 9 years ago

I believe this error was caused by this PR:

  File "./debian/dump1090-mutability/usr/share/dump1090-mutability/vrs-basicaircraft-to-json.py", line 20
    if "BaseStation.sqb" in dbfile:
    ^
IndentationError: unexpected indent
steel101 commented 8 years ago

cant download database

mutability commented 8 years ago

"Since September 2015 PlaneBase has no longer provided a freely available pre-populated SQB file to download.", unfortunately.

steel101 commented 8 years ago

Does any one have a copy of that database On Feb 16, 2016 1:48 PM, "Oliver Jowett" notifications@github.com wrote:

Closed #69 https://github.com/mutability/dump1090/pull/69.

— Reply to this email directly or view it on GitHub https://github.com/mutability/dump1090/pull/69#event-552553396.