Skip to main content

AIS Database and Processing Utils

Project description

https://git-dev.cs.dal.ca/meridian/aisdb/badges/master/pipeline.svg https://img.shields.io/gitlab/coverage/meridian/aisdb/master?gitlab_url=https%3A%2F%2Fgit-dev.cs.dal.ca&job_name=python-test https://img.shields.io/gitlab/v/release/meridian/aisdb?gitlab_url=https%3A%2F%2Fgit-dev.cs.dal.ca&include_prereleases&sort=semver

Description

Package features:
  • SQL database for storing AIS position reports and vessel metadata

  • Vessel position cleaning and trajectory modeling

  • Utilities for streaming and decoding AIS data in the NMEA binary string format (See Base Station Deployment)

  • Integration with external datasources including depth charts, distances from shore, vessel geometry, etc.

  • Network graph analysis, MMSI deduplication, interpolation, and other processing utilities

  • Data visualization

https://aisdb.meridian.cs.dal.ca/doc/_images/scriptoutput.png

What is AIS?

Install

Requires Python version 3.8, 3.9, or 3.10. Requires SQLite (included by default in most versions of Python).

python -m venv env_ais && source ./env_ais/*/activate
pip install aisdb

Installing from Source

See Installing from Source

Code examples

  1. Parsing raw format messages into a database

  2. Automatically generate SQL database queries

  3. Compute trajectories from database rows

  4. Vessel trajectory cleaning and MMSI deduplication

  5. Compute network graph of vessel movements between polygons

  6. Integrating data from web sources, such as depth charts, shore distance, etc.

Collecting AIS Data

  1. Decode incoming AIS data and log to SQLite database

from aisdb.receiver import start_receiver

start_receiver(connect_addr='aisdb.meridian.cs.dal.ca:9920', dbpath='AIS.sqlitedb', stdout=True)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

aisdb-1.4.40-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

aisdb-1.4.40-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

aisdb-1.4.40-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

aisdb-1.4.40-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

File details

Details for the file aisdb-1.4.40-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aisdb-1.4.40-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d8d556761007f75f515fa907679fe68154072c3c62cb16a61301da75415e08ce
MD5 b3a93f72bf114fe56b2deb53d132316f
BLAKE2b-256 9575496fdcf1a3fd38cf27a7204e14bc73cd91498d80db7c0368efd8e3221dd0

See more details on using hashes here.

File details

Details for the file aisdb-1.4.40-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aisdb-1.4.40-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 120acc17ee1d52eef5400bd104a57e62466377ee110faf4dc0a078c5d512e29e
MD5 05e6ac29bf90b188f1ea98ae1bfea721
BLAKE2b-256 7facd20c2ae1296daa8299219311f8ebae1b5d60d3c24fc156ed154829dbbf83

See more details on using hashes here.

File details

Details for the file aisdb-1.4.40-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aisdb-1.4.40-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 352fdd2354394291047adc7a856f29ab660ac40df1891e6656426dfc26a9bf42
MD5 6b2612d39a058154099e1683b161499a
BLAKE2b-256 74c4f8d1335fc4010dde588fbf9317f105397754e8dfbb71605d874b2ecb0d96

See more details on using hashes here.

File details

Details for the file aisdb-1.4.40-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aisdb-1.4.40-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 439b19a1fa0a796688597b2f8d15d32bde3c2bc5fdc1f4a25893ba7eed356378
MD5 20136f627205f1b692c6776229126d7f
BLAKE2b-256 724758a7501870021efaf8bead5a37e10959dd46c0a072ddd9faa206b8f26ad7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page