The swiss geometadata validator gives a standalone tool in form of a Web application and API to validate XML files encoded in ISO19115-3.2018.che against the swiss geospatial metadata profile.
The ISO19115-3.2018.che is the XML implementation of the swiss geospatial metadata profile.
Clone the repo
git clone --recurse-submodules https://github.com/geoadmin/web-swiss-geometa-validator.git
cd web-swiss-geometa-validator
Build and run the docker image
docker build -t swiss-geometa-validator .
docker run -d -p 8000:5000 --rm swiss-geometa-validator
Then visist http://localhost:8000 in your browser.
Clone the repo and install dependencies in a python virtual environment (recommended).
git clone --recurse-submodules https://github.com/geoadmin/web-swiss-geometa-validator.git
cd web-swiss-geometa-validator
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python process_schematron.py
gunicorn -c gunicorn.conf.py app:app
Then visist http://localhost:8000 in your browser.
Clone the repo and install dependencies in a python virtual environment (recommended). Using powershell :
git clone --recurse-submodules https://github.com/geoadmin/web-swiss-geometa-validator.git
cd web-swiss-geometa-validator
python -m venv .venv
.venv/scripts/Activate.ps1
pip install -r requirements.txt
python process_schematron.py
waitress-serve --host 127.0.0.1 --port 8000 --threads 20 --call app:app
Then visist http://localhost:8000 in your browser.
Clone the repo and install dependencies (using powershell) :
git clone --recurse-submodules https://github.com/geoadmin/web-swiss-geometa-validator.git
cd web-swiss-geometa-validator
& "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts\pip3" install --trusted-host github.com --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --proxy=proxy-bvcol.admin.ch:8080 -r requirements.txt
& "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts\python" process_schematron.py
& "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts\waitress-serve" --host 127.0.0.1 --port 8000 --threads 20 --call app:app
Then visist http://localhost:8000 in your browser.