Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
#PARSER PQL
#RUNQUERY             

/// Access the data from San Francisco
input = ACCESS({
            source='SanFranciscoAIS',
            wrapper='GenericPush',
            transport='TCPClient',
            protocol='NMEA',
            datahandler='keyValueObject',
            options=[
              ['host', 'ais.exploratorium.edu'],
              ['port', '80']
            ]                                                                                  
          }                                                                      
        )

A message you receive could look similar to the following:

Code Block
{"rateOfTurn":0,"navigationStatus":"UnderwayUsingEngine","maneuverIndicator":"NotAvailable","trueHeading":274,"positionAccurate":false,"latitude":37.56334666666667,"courseOverGround":272.3,"speedOverGround":13.4,"sourceMmsi":367134000,"longitude":-123.107605,"second":18,"raimFlag":false};1488537437230|oo


Filling a Spatio-Temporal Index

...