RDFGS 2.0: Data Aggregation & Sources... Need Your Help!

Discussion in 'RDF Geographical Survey (RDFGS) 2.0 *NEW NAME TBD*' started by xydrine, Aug 26, 2018.

  1. thebravo

    thebravo Security Detachment Security Attaché Advanced User Premium Member

    Messages:
    3,414
    Likes Received:
    5,103
    Country:
    United States
    Joined:
    Dec 31, 2016
    Location:
    FL (formerly CT)
    That would be awesome!

    So I will attempt to answer the question: Each Mode S equipped aircraft are assigned a unique ICAO 24-bit address or (informally) Mode-S "hex code" and according to the API documentation on opensky :

    "In ADS-B, each aircraft (actually each transponder) is identified with a unique address, the ICAO 24-bit address. Usually this address is displayed in its 6-character hex representation (e.g. c0ffee).

    As soon as an ADS-B message of an airplane arrives at our servers, we create a record for the aircraft – the so called state vector. All information required to track the airplane, including its identity (ICAO address + call sign), time information (Unix timestamps), and spatial information (position, velocity, heading, …) will be represented in this state vector.

    Example: Let’s assume an airplane with the address c0ffee enters the airspace covered by OpenSky on March 26, 2016 at about 11:13:44. At 11:13:44.097 it tells us its speed (230 m/s) and heading (30° clock-wise from north). We then create the following record:

    “At time 1458987225, we’ve seen c0ffee flying at 230m/s into direction 30°. Velocity was updated at 1458987224.097.”
    Within the next couple of microseconds, more information arrives and the state vector becomes filled. At time 11:13:44.15, the aircraft first tells us its call-sign CONAIR. At time 11:13:44.27, we learn its latitude (51.89°), longitude (1.28°), and altitude (11.5 km). Its state vector then looks like this:

    “At time 1458987225, we’ve seen c0ffee (call-sign CONAIR) at latitude 51.89°, longitude 1.28°, and altitude 11500m flying at 230m/s into direction 30°. Velocity was updated at 1458987224.097. Position was updated at 1458987224.27.”
    You might have noticed that the first timestamp in the state vector is rounded to the next full second. This is because we keep updating this state vector until 11:13:45 and then release it to the API. Consequently, the state vector returned by the API at 11:13:45 contains the most recent information known at that time."

    So in theory you just need to watch the API for the hex code of an aircraft to appear, once it does, send notification. I can then go on the website and track it on there.

    So there are a few numbers that I'd like to be able to track:


    Tail number N773HP which is mode S Hex code: aa74e9
    Tail number: N611HP which is mode S Hex Code: a7f332
    Tail number: N531HP which is mode S Hex Code: a6b4e1
    Tail number: N25HP which is mode S Hex Code: a255e2

    If you wanted an example aircraft to play with here is a delta airlines bowing 757 aircraft that probably is up frequently:N6700 which is Hex code: a8de10.

    You are awesome! thanks for supporting us poor Floridians dodging enforcement from the sky :)
    --- Double Post Merged, Oct 4, 2018, Original Post Date: Sep 8, 2018 ---
    Actually instead ofjust the opensky feed maybe also (or instead of) use the www.adsbexchange.com: Accessing Data Collected by ADS-B Exchange – ADS-B Exchange they seem to have a lot more unfiltered data available. This would be a good thing to integrate for aircraft tracking.... and if you did write a script that could alert me about FL aircraft of interest in the post above that would be great... looks like you can directly query the feed listed at (www.adsbexchange.com: Accessing Data Collected by ADS-B Exchange – ADS-B Exchange) for the hex codes listed in the post above
     
  2. xydrine

    xydrine Vengeance. Justice. Fire and Blood. Administrator Advanced User Premium Member

    Messages:
    23,126
    Likes Received:
    18,233
    Country:
    United States
    Joined:
    Oct 28, 2010
    Location:
    /dev/null
    Cool this is actually really sweet, we'll be able to integrate a lot of this into the system no problem. I'm picturing in my mind what it will all look like, damn this is going to be complex as hell lol (well, it will have the ability to be, but it will have a beginner/intermediate/advanced mode I'm thinking, as far as data display goes - in terms of simplicity, not access levels, though access levels will have integration into the system as well).
     
    dchemist likes this.
  3. johnboy00

    johnboy00 Geaux Tigers! Advanced User Premium Member

    Messages:
    2,192
    Likes Received:
    2,745
    Country:
    United States
    Joined:
    Sep 6, 2016
    Location:
    Raleigh, NC
    JBV1 will auto flag as suspicious all those tail numbers when they're in the air and within your selected range.
     
    xydrine likes this.
  4. fitz4321

    fitz4321 Running With Scissors Advanced User Premium Member

    Messages:
    1,643
    Likes Received:
    2,319
    Country:
    United States
    Joined:
    Dec 12, 2015
    Location:
    Bay Area, CA
    There is an app on the apple app store that looks interesting called “HAAS alert”. That could be an interesting integration.
     
  5. johnboy00

    johnboy00 Geaux Tigers! Advanced User Premium Member

    Messages:
    2,192
    Likes Received:
    2,745
    Country:
    United States
    Joined:
    Sep 6, 2016
    Location:
    Raleigh, NC
    I don't think LEOs will be registering their patrol cars.

    Screenshot_20181005-095350.jpeg
     
    xydrine likes this.
  6. xydrine

    xydrine Vengeance. Justice. Fire and Blood. Administrator Advanced User Premium Member

    Messages:
    23,126
    Likes Received:
    18,233
    Country:
    United States
    Joined:
    Oct 28, 2010
    Location:
    /dev/null
    Ya and frankly we don't want anyone who is affiliated with that scene (emergency vehicles etc) on our platform anyway. We will absolutely be applying rdf's no leo rule for rdfgs 2.0 as well.

    Posted from my SM-N960U using the RDF Mobile App!
     
    hammerdown and LexusISF like this.
  7. LeftLaneInPA

    LeftLaneInPA School buses are my nemeses. Advanced User

    Messages:
    1,848
    Likes Received:
    1,771
    Country:
    United States
    Joined:
    Jun 20, 2017
    Location:
    Clue's in the name
    Honestly surprised it hasn't been mentioned yet, but how about coordinating with the devs of the V1 apps for API hooks so that RD data is fed into the database?

    Is there anyway to access the Bluetooth data of other brand's countermeasures, such as Escort?
     
  8. G37X Jockey

    G37X Jockey Premium Member Advanced User Premium Member

    Messages:
    998
    Likes Received:
    659
    Country:
    Canada
    Joined:
    Jul 22, 2012
    Location:
    Behind my Steering Wheel
    I have compiled a list of RCMP aircraft in Canada by Registration number, and could find those of the provinces with their own police forces as well to add to the 2.0 database. This would make the system truly seamless when crossing the border.

    Posted from my SM-A520W using the RDF Mobile App!