histogis
histogis copied to clipboard
A Geographical Information System, workbench and repository to retrieve, collect, create, enrich and preserve historical temporalized spatial data
HistoGIS
About
HistoGIS is a Geographical Information System, workbench and repository to retrieve, collect, create, enrich and preserve historical temporalized spatial data sets. HistoGIS is based upon django, geodjango and djangobaseproject
Install
- Download or clone this repository.
- Adapt the information in
webpage/metadata.pyaccording to your needs. - Create and activate a virtual environment and run
pip install -r requirements.txt.
useful commands
cleanup
removes not used vocabs and sources without shapes
python manage.py cleanup
update administrative divisions
updates administrative_division fields according to this google spreadsheet
python manage.py update_amd
building the image
docker build -t histogis:latest .
docker build -t histogis:latest --no-cache .
running the image
To run the image you should provide an docker.env file to pass in needed environment variables; see example docker.env in this repo:
docker run -it --network="host" --rm --env-file .env histogis:latest
or use published image:
docker run -it -p 8020:8020 --rm --env-file docker.env acdhch/histogis:latest