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/readme_example.png

What is AIS?

Install

Requires Python version 3.9, 3.10, or 3.11. 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.5.0-cp311-none-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.11 Windows x86-64

aisdb-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

aisdb-1.5.0-cp310-none-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.10 Windows x86-64

aisdb-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

aisdb-1.5.0-cp39-none-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.9 Windows x86-64

aisdb-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

aisdb-1.5.0-cp38-none-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.8 Windows x86-64

aisdb-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

File details

Details for the file aisdb-1.5.0-cp311-none-win_amd64.whl.

File metadata

  • Download URL: aisdb-1.5.0-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 2.4 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.5.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 4d67f156b6a59e1049f98a6c2676413219712ef812cf00f6bc4678aab974f4f1
MD5 1ff150ea317a2960c9258196901684fc
BLAKE2b-256 e4dd241ce8764366161973a0266e8a93844854d867f56feff20252d04aea9ebb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f23989a5d0e277b783a320bfabd9a5bdb5d7896fb9a44f09d63dc654083a23a
MD5 4170cc31b521cd9f98f067dd4370c857
BLAKE2b-256 1be69825e0be14b9caf57fb28c64fb1c7fbf62fc0404842eb6f808f6bc003971

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aisdb-1.5.0-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 2.4 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.5.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 059b25cc4db2c4b0b3cad7ef1c8970631bb2d12f3f359c3aea2a293dd43230ac
MD5 67cd5d256391d0efcf8ae64494b06c63
BLAKE2b-256 293944718241099ec9453be4c79d90dad8658d29af20ad5b750e81277343d00d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8a09a7ec5522875c48a9d5139ae6d299d881d2b0d7d32fa9fa5eb49ea298658
MD5 f68faadb5c73ea1bc04e78f2db0a8e50
BLAKE2b-256 2693df7978e34f5d0c591fbe10d0fdbc8a122c52ae47082e4fee325c4112e4a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aisdb-1.5.0-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 2.4 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.5.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 72965f6c7c12f96c88545abd4bc2e20a9c4e39f673459627c11812669f665986
MD5 fec108c5ded0c207b0ad488f2d954938
BLAKE2b-256 c23c095186bc40a8665586a6f111bfee8d7c3f82eb40e36b594c3a3d0683d00c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 89ba836db85b7c20da810b3db1e18e0a379a3766129af1bd0f2feb3ead2dd269
MD5 0d9f77bf11efef6723cbc21a8768425a
BLAKE2b-256 37d3c89ac03eb22e99bd33f18b00997ca7d63a4a47a1f8dc4eb588d2608c1bb7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aisdb-1.5.0-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 2.4 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.5.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 b120469b53a41ee4c1a6771fcc0d4c14f9b2e00ef0d59be14626117260de4edd
MD5 9441e47ea452c834bca2269097d51e0b
BLAKE2b-256 e7ee5c2dd8d9fe1984a434e1df25a20dc59e845588d916c86a0e6968ba5de5bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aisdb-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bc72ffb369ec4b2fea96fd7add82850fd5b35782216b43bb851fecddb38fbeea
MD5 6a6a161a4bded80062023f18573f52cc
BLAKE2b-256 242bf3056cf0ab3f28c89c475f9d16d88bb71c56be9920efff0c64a12b9f9b7c

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