Skip to content

UJehle/data_preparation

 
 

Repository files navigation

Data preparation

This is a repository containing the data preparation steps for GOAT.

Start Database Docker Container and Connect

  1. Rename .env_template file to .env
  2. Run docker-compose up -d
  3. Connect using the credentials defined in .env
  4. Go inside container and work from it.
  5. Use command line to prepare database python prepare.py -db.

Prepare Layers and Store it in Local Database

  1. Configure preparation settings in src/config/config.yaml *See documentation
  2. Use command line to prepare layers in database tables python prepare.py -prepare LAYERNAME (pois, network, landuse, buildings)

(Optional) Fuse Custom Data with Stored One

  1. Configure fusion settings in src/config/config.yaml *See documentation
  2. In case of use of data from a remote database, specify credidentials defined in .env for remote database
  3. Use command line to fuse data and store in layers in database tables python prepare.py -fuse LAYERNAME (pois)

Check Documentation for Data Preparation

In terminal execute cammand mkdocs serve. Open webbrowser http://127.0.0.1:8000/

About

GOAT data preparation scripts

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages