Skip to content

l-haenchen-ioer/data_preparation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.7%
  • PLpgSQL 5.9%
  • Other 0.4%