AIS
From wiki.opennauticalchart.org
Contents
AIS sources
NMEA
- https://www.aishub.net
- https://www.kystverket.no/en/sea-transport-and-ports/ais/access-to-ais-data/ (Norway)
- tcp://153.44.253.27:5631
- http://ssia-ais.erau.edu/ (Florida)
- tcp://ssia-ais.erau.edu:4000
API
- https://www.aishub.net
- https://aisstream.io
-
wscat -c wss://stream.aisstream.io/v0/stream -w 300 -x '{"APIKey": "***", "BoundingBoxes": [[[-180, -90],[180, 90]]], "FilterMessageTypes":["SafetyBroadcastMessage","LongRangeAisBroadcastMessage","BinaryBroadcastMessage","GroupAssignmentCommand"]}'
-
- ...
Historic
- ...
AIS decoders
Ais Decoder
gpsdecode
- https://gpsd.gitlab.io/gpsd/gpsdecode.html
-
nc 153.44.253.27 5631 | gpsdecode | grep '"type":8'
{"class":"AIS","device":"stdin","type":8,"repeat":0,"mmsi":257057800,"scaled":true,"dac":200,"fid":10,"vin":"00000000","length":215,"beam":60,"shiptype":8440,"shiptype_text":"Illegal ship type value.","hazard":5,"hazard_text":"Unknown","draught":0,"loaded":0,"loaded_text":"N/A (default)","speed_q":false,"course_q":false,"heading_q":false}
pyais
- https://github.com/M0r13n/pyais
-
pipx install pyais -
pipx ensurepath -
nc 153.44.253.27 5631 | ais-decode --json | grep '"msg_type": 8'
{"msg_type": 8, "repeat": 0, "mmsi": 257057800, "dac": 200, "fid": 10, "vin": "00000000", "length": 21.5, "beam": 6.0, "shiptype": 8440, "hazard": 5, "draught": 0.0, "loaded": 0, "speed_q": false, "course_q": false, "heading_q": false}
aisdecode
- https://github.com/madpsy/aisdecode/
-
./aisdecode-linux-amd64 -log-all-decodes decoded
AIS-catcher
- input: https://docs.aiscatcher.org/configuration/input/tcp/
- output: https://docs.aiscatcher.org/configuration/output/console/
- web view: https://docs.aiscatcher.org/configuration/output/web-viewer/
-
AIS-catcher -t txt://153.44.253.27:5631 -o 5 -N 8101 GEOJSON false MESSAGE true REALTIME false