https://github.com/void4main/ais-data-to-mongodb
Read AIS data from UDP broadcast and write to MongoDB (quick and dirty)
https://github.com/void4main/ais-data-to-mongodb
ais broadcast mongodb pyais snippet udp
Last synced: about 1 month ago
JSON representation
Read AIS data from UDP broadcast and write to MongoDB (quick and dirty)
- Host: GitHub
- URL: https://github.com/void4main/ais-data-to-mongodb
- Owner: void4main
- Created: 2021-03-06T20:47:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-06T21:04:40.000Z (over 4 years ago)
- Last Synced: 2025-04-11T18:07:21.165Z (6 months ago)
- Topics: ais, broadcast, mongodb, pyais, snippet, udp
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AIS-Data-to-MongoDB
Read AIS data from UDP broadcast and write to MongoDB (quick and dirty)Looks like that in the database (redundant data are intentional):
{"_id":{"$oid":"5f25d51fcef27e42d0937b19"},
"nmea":{"ais_id":1,"raw":"!AIVDM,1,1,,B,139a8jPP030ea5PN`ovM;?vt0@BC,0*72","talker":"AI","msg_type":"VDM","count":1,"index":1,"seq_id":"","channel":"B","data":"139a8jPP030ea5PN`ovM;?vt0@BC","checksum":114,"bit_array":"000001000011001001101001001000110010100000100000000000000011000000101101101001000101100000011110101000110111111110011101001011001111111110111100000000010000010010010011"},
"decoded":{"type":1,"repeat":0,"mmsi":211437770,"status":0,"turn":-128,"speed":0.3,"accuracy":false,"lon":9.97064,"lat":53.54494833333333,"course":337.20000000000005,"heading":511,"second":30,"maneuver":0,"raim":false,"radio":66707},
"date":"2020-08-01 20:48:31.272159"}