This is a dissertation project. For more information see in my portfolio: http://www.livia.geo-blog.com/msc-thesis.html
Tested with Python version 3.6.4
Using a virtual environment for python (e.g. virtualenv) is recommended.
git init
git clone https://github.com/liviajakob/data-sharing-platform
cd data-sharing-platform/data-sharing
pip3 install -r requirements.txt --user
You might have to follow this (https://pypi.org/project/GDAL/) installation guide to install GDAL.
- Run
python write_config.py
Optional
- Open
write_config.py
file in current folder and change database configuration, data input path, data output path or other settings, run it as described above - When using Oracle make the changes in
data-display/models.py
suggested in the comments
The software comes with two example data files in data-sharing/data/input/
Example for file Greenland_1000DEM.tif located in data input folder
python add_dataset.py dem.tif dem 2017-06-26
Add another layer to the dataset with id 1:
python add_layer.py 1 rate.tif rate 2017-06-27
python add_dataset.py --help
python add_layer.py --help
python app.py
Access on localhost:5000
python api.py
Access on localhost:5002