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.39-cp311-none-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

aisdb-1.4.39-cp311-cp311-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

aisdb-1.4.39-cp310-none-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

aisdb-1.4.39-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

aisdb-1.4.39-cp39-none-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

aisdb-1.4.39-cp39-cp39-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

aisdb-1.4.39-cp38-none-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

aisdb-1.4.39-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.39-cp311-none-win_amd64.whl.

File metadata

  • Download URL: aisdb-1.4.39-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.7

File hashes

Hashes for aisdb-1.4.39-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 e6d59974c965dc4b7feeedbbfb7ca6767fb685b1c1ed06fe495fd8b18ecf4fc1
MD5 0d47b54f0271d69234f9d49efe7a94c4
BLAKE2b-256 6de74825ac2805d0f5d21c4531e758bf6e6dddb8c367c5c5914af24dd26b49f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.39-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c7e6be5d989235b08ae6133fb4d1f537c54167853442fd047a5beabd25410b3
MD5 4e70e8f39c023238b187d8ce8251440a
BLAKE2b-256 8de5921f6b3ac52c10d39dc891cfa058b0f52c799cfd947fc8bf5f4563e35cd4

See more details on using hashes here.

File details

Details for the file aisdb-1.4.39-cp310-none-win_amd64.whl.

File metadata

  • Download URL: aisdb-1.4.39-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.7

File hashes

Hashes for aisdb-1.4.39-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 3abd70e3abdccd7d8581b384d9ae831b8d70314432550c40ade852f667a39297
MD5 385820546e45d151c79fc432d0b31d42
BLAKE2b-256 8129c39e7b350f1d9a45ce50343319a111699db61ebe31a73d7d2593b26d6c4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.39-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4eb1cb60c4a5869907918abb927dcad23171553b61c81bc0598f912cf8ce0d2f
MD5 48cc3b19c9aaed759151d450b312252d
BLAKE2b-256 abbc7c2eb9129b9f906ee2c61c79c7f7d57d96df2af9cc786b2ea6fca026fd80

See more details on using hashes here.

File details

Details for the file aisdb-1.4.39-cp39-none-win_amd64.whl.

File metadata

  • Download URL: aisdb-1.4.39-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.7

File hashes

Hashes for aisdb-1.4.39-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 2204b391a747d15c8643d97ae17319c3f0d8c85117e3267ef4e124695b40e83d
MD5 1c95fe5eb51ae242b10d2fc91f0ef3f2
BLAKE2b-256 24c1c5996e6445ae989bbfd685d82ef0038cd2e14d54eb5126a0a9ccd7beb4b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.39-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b8f0d3fb0eb2fbbd81527a4a58765867ce763adf0a0f2b53f08317e03061f18
MD5 116ddcda322c4a5e1ee893718bd7b819
BLAKE2b-256 e585a740864069df72cf75857183dd0ca2fc4d4ef3811323ec7d5131a0e4cd2a

See more details on using hashes here.

File details

Details for the file aisdb-1.4.39-cp38-none-win_amd64.whl.

File metadata

  • Download URL: aisdb-1.4.39-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.7

File hashes

Hashes for aisdb-1.4.39-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 1f0d805977c7889dc23fc32179a9268967dfeeefcf9c0ca100bd4b2bc5a26619
MD5 2e9cac26ad2bc944e76efad01d868e51
BLAKE2b-256 6ce97abd5e2cc885e2916722eacf4f615669af1012315e30ad03778ebd47e7be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.39-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cfb875a9f0d95159dd1e871fa0b9d810ecc5ad6facc14c21791a9baef5191249
MD5 2e3d8aae376b5f5e24927b124ca0c632
BLAKE2b-256 83486eb11c716742af5af2bd35124dd2f01cb1f9342e05476daa5b1652acc1da

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