Command-line to read metadata produced by FME scripts of Isogeo Scan, convert it into Isogeo model, apply rules and export it to a database or Isogeo.
Project description
Isogeo Scan - Metadata Processor
Middleware used to process metadata issued by Isogeo Scan.
Available as:
- Python package
- Windows executable
Requirements
- Python 3.7
Development
Quickstart
# create virtual env
py -3.7 -m venv .venv
# activate it
.\.venv\Scripts\activate
# update basic tooling
python -m pip install -U pip setuptools wheel
# install requirements
python -m pip install -U -r ./requirements.txt
# install package for development
python -m pip install --editable .
Try it
- Rename the
.env.example
into.env
and fill the settings - Launch the CLI
For example, get the help:
scan-metadata-processor --help
Check:
# for all default formats
scan-metadata-processor --label "CheckProcessConfig" --settings .\.env check
Process metadata:
scan-metadata-processor --label "ProcessInputMetadata" --settings .\.env process
There is also a clean task to automatically remove outdated logs and output files:
scan-metadata-processor --label "CleanLogs" --settings .\.env clean
Usage of the executable
Just replace scan-metadata-processor
by the executable filename:
.\Isogeo_ScanMetadataProcessor.exe --label "ProcessInputMetadata" --settings .\.env process
Deployment
Every tagged commit pushed to master
triggers a deployment to:
- Azure Storage : Isogeo/isogeoscan/app/isogeo-scan-metadata-processor/
- Python Package Index
- Github Releases
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for isogeo-scan-metadata-processor-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e7f10474cbe140cf17b10923ea9e333e2fa28a797bc44f26d79727d2767a839 |
|
MD5 | 2e531756bba0854807a170ad1bd61778 |
|
BLAKE2b-256 | c34c3d793f5ca34a53cc122f36ddd432f9d70a7b1ad4bb4cc64579695c77a347 |
Close
Hashes for isogeo_scan_metadata_processor-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f763e4a580b5b404f8151b6bb6505e10b74dbaa95f1d2625dc740b42e18f9a1 |
|
MD5 | 922dc286c72c1fe3355fb4ef4b5ce0a6 |
|
BLAKE2b-256 | 2b260aa6f2e9ea627f56206f764035cecb4354b2f27bb6eb234c3879eaf2f8ec |