This server is a Python API that allows GET, POST, PUT, and DELETE operations on MobilityDB. The server utilizes the PyMEOS library. This implementation follows the OGC API - Moving Features Standard
This Python API server provides endpoints for interacting with MobilityDB, a temporal extension for PostgreSQL. It allows users to perform CRUD operations (Create, Read, Update, Delete) on MobilityDB data using HTTP methods.
- Supports GET, POST, PUT, and DELETE operations.
- Integrates the PyMEOS library for seamless interaction with MobilityDB.
- Provides endpoints for managing data stored in MobilityDB.
- Linux (ubuntu)
- A recent version of Pyhton
- Make script executable: chmod +x run.sh
- Run only the server: ./run.sh
- Run with integration tests: ./run.sh --with-tests (note: this takes a while due to data preprocessing - expect 23 min if the json data file is not present, 21 sec otherwise )
- If necessary, download ships datasets from: Denmark Ships DataSets aisdk_2024-08-07.zip in data folder
- Manual get requests links on demo.txt
Send http requests to the api using any http service. As an example, your can use the ais.sql that will create ships and ship2 tables containing ships data. To do that you will have to change the path in the script to the path of your .csv file. Here is a link to download ships datasets: Denmark Ships DataSets
This project is in progress.
##Poetry poetry install