QGIS project file and associated data to generate various georeferenced PDFs used by the Nordic Centre.
Pushes to the master
branch will trigger an export of all QGIS Layouts and upload to a public-readable Google Drive account.
https://drive.google.com/drive/folders/1BnA7QL0c6nEB3kifgzp8bWXU3SjuD2rf
Previous exports are named according to commit SHA. The following links will always reference the latest file versions:
Map data edits should be managed via issues and merged to the master
branch via Pull Request.
To begin development execute scripts/setup.sh
. Note: this will install several pip dependencies and should be executed within a virtual environment. Assumes Python 3.9.7 or higher.
Pre-commit hooks execute flake8
, black
, and mypy
against updated code.
Execute cicd/export/scripts/test.sh
to generate all outputs locally in output/
. Append upload=1
to upload the local directory to Google Drive. GDRIVE_UPLOAD_SERVICE_ACCT_INFO
env var must be set to a valid JSON key for a Google Service Account.
Satellite imagery is required for the stadium/Print export. Execute cicd/export/scripts/update-all.sh
to download the required imagery if it is missing. This script is run as part of scripts/setup.sh
.
Execute cicd/compare/scripts/test.sh before=[[ base commit SHA (full) ]] after=[[ head commit SHA (full) ]]
. Append upload=1
to upload the local directory to Google Drive. GDRIVE_UPLOAD_SERVICE_ACCT_INFO
env var must be set to a valid JSON key for a Google Service Account.