Skip to content

erikssommer/geolife-gps-trajectory-dataset-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geolife-gps-trajectory-dataset-mongodb

TDT4225 - Very Large, Distributed Data Volumes

Group: 99

Database: MongoDB

Dataset

Modified dataset based on Geolife GPS Trajectory dataset

The dataset should be located in the root of the project folder and be named 'dataset'

Setup

pip3 install -r requirements.txt

Build and run MongoDB database

# Navigate to the docker folder from root
cd docker
# Build the docker image
docker-compose up --build -V

Run the script in seperate shell

Initialize the database with data and run queries

# Navigate to the src folder from root
cd src 
# Run the script with flag -i to initialize the database
python3 main.py -i

Run only queries, requires database to be initialized

# Navigate to the src folder from root
cd src
# Run the script without flag
python3 main.py

Docker prune

Prune volumes if running docker-compose build command multiple times

docker volume prune

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published