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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

Uploaded CPython 3.8 Windows x86-64

aisdb-1.4.23-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.23-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.23-cp311-none-win_amd64.whl.

File metadata

  • Download URL: aisdb-1.4.23-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.23-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 d7b8541f3755a7ce0bee77abffaf0caef7f89784b22b3a4278286fafca7e4133
MD5 88fe24b470de6af422bcb9f0369026d8
BLAKE2b-256 eef3bc152a55af1dfcf4607e367059d2ab48bb74de41a1a62f57b9bcf367d48c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2b88ff1f2e7f33f08597d46b601d1e3ae793f7eedd69b9f24a79ec37fb8a3ab8
MD5 eb8499fa1093eedb32e07dc974c875c5
BLAKE2b-256 551c81e5b85a87339da512c96e85c2f92bfe2669d1d60cf9be4745d8b0de521d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.23-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c4e86f8418a4c24d5ee1a7fd9214973970de50b993c436b2a67752d24d4908ab
MD5 0367d3631a6eae7a1c0a6616feb702da
BLAKE2b-256 683413184eddaf2cc70e0b810f28502bd67aea3ee5072d8245e7a9ed31ae1e2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aisdb-1.4.23-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.23-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 7ba529ab99408cc1a6febddee4c00d846e8c4b2061c71a8458906baa2509fe83
MD5 f2d9eed23ac038f4d8f3a4294b6daf8d
BLAKE2b-256 c8505b8294cfaff80809b4dd0bf36382545c4fa14c7a18f2158c287c29615c12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 68ce7092bf1d24c8f3787a88dd4645497695110a6882a9c3931da5b5dfb11292
MD5 fde2ef4661985cd50483cee130da69a7
BLAKE2b-256 03cef8f90dce48949d80fc3408dd5529549aef58e82d33fb47950566076e255e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.23-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d9669e85856399b3de64d12472c70f06d8754d1385c4ecdc335ace8b162d526
MD5 ea2cb6467ba1a43e8c68cf23a0ac3334
BLAKE2b-256 d4f4c5fddc7c79f40da92b6fb0cb30fb5a7c4bca73ebf2a00d4aa15c5998df2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aisdb-1.4.23-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.23-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 bfe55a6b7260091f65ab5f762beb876b93bafd87744ddd07cf5af2fbba745d99
MD5 e6ca8ec7d1222dc0dd6ba6e9b39f8d49
BLAKE2b-256 36bd77e25a8f864e949eed3f01c4a27a9b4d1c1d8c024b6bef6a6322402d8d34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 03ca0f7665a13a681697db86a4c1dd2db8f293305f8af15e131786d98569170a
MD5 390da68a3e3e009daba960419042575b
BLAKE2b-256 4782204186f7b2ac6ba4c25616092dca74398c72efe82c16d7a68a4c66452b3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.23-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 462cddd5c2fd6006fea751227f06ede415420c90a1f9ecba8b93c3ebab5cfdce
MD5 296fbc3c62cf02775224f33ea3b17978
BLAKE2b-256 149b5b99085de32c5f77a06f68bf44a1a2e0d0645aa92bfb1db125b490fe4310

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aisdb-1.4.23-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.23-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 4a40115bd35a5a7bc2a8875ce09cb8293ff801d130fb9f7c9cd2c450c1040a86
MD5 d2a8109674684903d8849f3486629b5b
BLAKE2b-256 1c2da8c7557d64574ccd00f7737d83925c4579a8bf6c7af4cccec097f17df396

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 edc5f7c7025736a6bbf8df823af84e44adc4013090844dbb0d59c7d38429e11a
MD5 7941a720e5474652a002e0fc77ca5c7d
BLAKE2b-256 301afe990d8d3e240d338d570d06f7e0302043f588b12e92df201d6b5938187d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.4.23-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4115a11d0f0ecdf56f3340d3d2ae7e9224b6e09e4a05f206c6b96081728f90c
MD5 46059b86bfac893eb816734f5dcf260b
BLAKE2b-256 c2654494204b3bea045dee246f515148041a5bce24ef548c92afd2a2ef5ff616

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