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

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

Uploaded Python 2 Python 3

Supported by

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