Flask-based server for some of our geovalidation tools:
These 2 should be installed and compiled, also the python scripts inside val3dity/resources/...
are used (to convert GML to another format.)
The recommended way to install the geovalidation server is using virtualenv
and pip
.
Assuming you have working python (3.7+) installation with these utilities, run these commands:
virtualenv venv
source venv/bin/activate
pip install git+https://github.com/tudelft3d/geovalidation.server.git
Edit the configuration file geovalidation.cfg
for you server and export them:
export GEOVALIDATION_SETTINGS=/path/to/geovalidation.cfg
cd val3dity
mkdir uploads
mkdir reports
python runserver.py
Although for production use, you should use a proper WSGI server such as gunicorn.