INTERLIS Tools Collection
Project description
INTERLIS Tools Collection
Purpose
This module contains tools
- for checking interlis1 and interlis2 files by calling REST service.
- manipulate interlis1 files such as removing unused topics and tables
Install
pip install hinterlist
That's it.
Version History
Version | Release Notes |
---|---|
0.0.5 | detox either with 'keep' or 'remove' parameter |
0.0.4 | error count in result |
0.0.3 | server alias as optional parameter |
0.0.2 | detox submodule added |
0.0.1 | initial version |
Examples
Check Interlis 1 file
# import module
from hinterlist import check
# create instance of Checker with default server paths
mychecker = check.Checker(server="gugus.dada.admin.ch:6443")
# submit synchroneous job, i.e. wait until check finished
result = mychecker.run_check(
xtf=r"P:\ath\to\interlis1.itf",
ili=r"P:\ath\to\model.ili",
mode=check.Mode.SYNC,
config=check.Config.ESRI
)
# Print results
print(result.jobid)
print(result.logfile)
print(result.success)
print(result.valid)
print(result.errors)
Get Structure of Interlis 1 file
TODO
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for hinterlist-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af286022e237f63211cbcf4e0a6361fd05a94d77a9215a38470e1a3744bc4667 |
|
MD5 | d39a25d06d0889b3b9984afc9e4edc5e |
|
BLAKE2b-256 | a7f1dec2cce8746f1051bbc20541230f96c3a67f3c4157b729490e4bf5c77491 |