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.35-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.35-cp311-cp311-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

aisdb-1.4.35-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.35-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

aisdb-1.4.35-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.35-cp39-cp39-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

aisdb-1.4.35-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

aisdb-1.4.35-cp38-cp38-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.35-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4221612f2e02a8b5b9fc5674f2ed7d5d1cb30299f36ccffe0e7d9d8d821a206d
MD5 b9aca41bcc1593800275bbff748a4add
BLAKE2b-256 e616f71952b6484ebc6662eb9d09a873a91509fa7dc553e90e68393bb24bc156

See more details on using hashes here.

File details

Details for the file aisdb-1.4.35-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aisdb-1.4.35-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 99d6708c17f4becbc104221024b8c1dfe7b611f27a2f497e568aaf65a69fd54c
MD5 4f89a4460a7187445006af9578ce47d6
BLAKE2b-256 9c7a7decda0ffe6fa03d554329d0a746686e54bb04775afcbf5a87b765fe3a43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.35-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 86574355a44204eec8f43caa01401ea9e7aee59e22e0f1172099d255476f3fa5
MD5 276142f6215491b7cc35a87178909955
BLAKE2b-256 7cf1bedcc04a54713c1c8af79e87a187dfce2f4c24fb88918540f5e61b08e99c

See more details on using hashes here.

File details

Details for the file aisdb-1.4.35-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aisdb-1.4.35-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c649654b93bf2ad15638e252f7759c63ebc7e799820604b7478ff6ff98c45b2
MD5 5b78fbfb369cfc35809d1c279845ad64
BLAKE2b-256 bd3f4b9548b0e9fa4a881e7bd7afb51a09048507e08d837e370f3833d189c89b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.35-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b9200893b77084f04a9cb930e7d216931b6bc8348dbe9d79ad1014861330c465
MD5 6ceed4d0468a702be2695e22968913e3
BLAKE2b-256 fa8ca10859f7c3a37ec3ba8dfb2e89483974014c323d42b29b09d9e8d55b4ac6

See more details on using hashes here.

File details

Details for the file aisdb-1.4.35-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aisdb-1.4.35-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e18459508b7474bd3ec2fc19857acfb4f9f804be0b73026c92c08cbf851a809
MD5 5ac4f055d4c96e7bf56a2f555684e75a
BLAKE2b-256 ef524fa76a6646c00ffd944eb6d1dfb331fa878b1dd43aa21e22d1116412e6a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.35-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5b1e0d45870868a761f4451d4e5326043408254f7c6297a36b9e288b13cd4b06
MD5 b244ef0d506eb6ed1b0cd19dc83dbeec
BLAKE2b-256 5033632096d0bc32cabfd67b27d99b47134323bead99b073bd6b565a647a62cc

See more details on using hashes here.

File details

Details for the file aisdb-1.4.35-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aisdb-1.4.35-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 38da1ebb753cf09c853326cb014b6c686e4775366c17d1094854754673130c0b
MD5 0d499b96f5f963a6367df69da37d2745
BLAKE2b-256 ce3097b4cd8ff6da81a46538170d068f30752a6ef9d8176107af445cc38e2268

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