Skip to main content

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

If you're not sure about the file name format, learn more about wheel file names.

hinterlist-0.0.5-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hinterlist-0.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: hinterlist-0.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/2.7.18

File hashes

Hashes for hinterlist-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 af286022e237f63211cbcf4e0a6361fd05a94d77a9215a38470e1a3744bc4667
MD5 d39a25d06d0889b3b9984afc9e4edc5e
BLAKE2b-256 a7f1dec2cce8746f1051bbc20541230f96c3a67f3c4157b729490e4bf5c77491

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page