Skip to main content

aviconv-aixm

Bidirectional AIXM 5.1.1 reader/writer for full AIP datasets, plus GeoJSON export, AIRAC-cycle diff, and a temporality flattener that materialises a snapshot at any date T.

Part of the aviconv monorepo.

Install

pip install aviconv-aixm

This pulls in aviconv-core (shared XML / coords / errors) and brings the aviconv aixm … subcommands under the umbrella aviconv CLI.

Status

  • v0.4.0 covers the AIP feature core: AirportHeliport, Runway, RunwayDirection, Navaid (VOR/DME/NDB/ILS/TACAN), DesignatedPoint, Airspace + AirspaceVolume, Route + RouteSegment, Procedure (envelope), Obstacle, Organisation, Unit.
  • TaxiwayElement, ApronElement, full Procedure leg algebra, and the ADR-23.5.0 extension surface are deferred to 0.4.x.
  • Streaming reader (constant memory on 100MB+ datasets) via lxml.iterparse. Writer streams via lxml.etree.xmlfile.

Library

from aviconv_aixm import (
    read_aixm, read_aixm_dataset,
    write_aixm,
    to_geojson,
    diff_datasets,
    snapshot_at,
)

# Stream features one at a time (constant memory on 100MB+ inputs)
for feature in read_aixm("aip.xml"):
    print(feature.gml_identifier.value, type(feature).__name__)

# Materialise the whole dataset (random access for diff/flatten)
ds = read_aixm_dataset("aip.xml")
print(len(ds.features), "features")

CLI

aviconv aixm parse      aip.xml > aip.ndjson
aviconv aixm to-aixm    aip.ndjson -o roundtrip.xml
aviconv aixm to-geojson aip.xml -o aip.geojson
aviconv aixm diff       cycle_2603.xml cycle_2604.xml --format json
aviconv aixm flatten    aip.xml --at 2026-05-09T00:00Z -o snapshot.xml
aviconv aixm validate   aip.xml --strict

Round-trip semantics

AIXM round-trip is field-level, not byte-stable: namespace prefix choices and gml:id values are intentionally not preserved on read. gml:identifier (the stable feature ID) is preserved, as are all modelled feature properties and time-slice metadata.

Licence

MIT. The vendored AIXM 5.1.1 / GML 3.2.1 / ISO 19139 / xlink schemas retain their upstream licences — see LICENSES/.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aviconv_aixm-0.5.0.tar.gz (329.8 kB view details)

Uploaded Source

Built Distribution

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

aviconv_aixm-0.5.0-py3-none-any.whl (362.7 kB view details)

Uploaded Python 3

File details

Details for the file aviconv_aixm-0.5.0.tar.gz.

File metadata

  • Download URL: aviconv_aixm-0.5.0.tar.gz
  • Upload date:
  • Size: 329.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aviconv_aixm-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7f8142b849ebace9c33dcbdfa0bfc0b0723964a45be6858ba48037580bf9327b
MD5 6ef73da5644cceb35d01648ca36f0ffc
BLAKE2b-256 2318f160e2063f43f24df80cd0c97b7ac2abf5f4741745093ab2b24a26b74747

See more details on using hashes here.

Provenance

The following attestation bundles were made for aviconv_aixm-0.5.0.tar.gz:

Publisher: release.yml on ams-mmd/aviconv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aviconv_aixm-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: aviconv_aixm-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 362.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aviconv_aixm-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0705f764b0c6bf07cb9bca374f851f35a79caaf4126d5968324ec32563f448d2
MD5 02dbebd1e80e589b11b9a9e1fcb81d42
BLAKE2b-256 910f126a29b2cdd43be24b03dfdf8bdad993cb3494249e7d6d13c48c2e5aaad4

See more details on using hashes here.

Provenance

The following attestation bundles were made for aviconv_aixm-0.5.0-py3-none-any.whl:

Publisher: release.yml on ams-mmd/aviconv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.6.0

2 files

This release

0.5.0 This release

2 files

0.4.1

2 files

0.4.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page