Skip to main content

aviconv-aixm

AIXM 5.1.1 and 5.2 reader (write stays 5.1.1) 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.6.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.
  • Version support: reads both AIXM 5.1.1 and 5.2 (version="auto" by default, sniffed from the document's namespace) into the same typed model — no property renames between the two dialects across any modelled feature type. The writer stays 5.1.1-only; there is no version-conversion feature. See the docs for the full support matrix.
  • TaxiwayElement, ApronElement, full Procedure leg algebra, and the ADR-23.5.0 extension surface are deferred to a future release.
  • 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

# --version [auto|5.1.1|5.2] on every read-side subcommand (not to-aixm):
aviconv aixm parse aip_5.2.xml --version 5.2 > aip.ndjson

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/.

Metadata

Release files for aviconv-aixm 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aviconv-aixm 0.6.0
File Size Uploaded Provenance Actions
aviconv_aixm-0.6.0.tar.gz 406.0 kB With provenance Details for aviconv_aixm-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aviconv-aixm 0.6.0
File Interpreter ABI Platform Actions
aviconv_aixm-0.6.0-py3-none-any.whl Python 3 none any Details for aviconv_aixm-0.6.0-py3-none-any.whl

Total release size: 847.7 kB

Release files / aviconv_aixm-0.6.0.tar.gz

Download URL aviconv_aixm-0.6.0.tar.gz
Size 406.0 kB
Tags Source
SHA-256 checksum
How to use checksums
285a7f615c1dd3838fd32199157a460d85a4adb284f0327cf74266f6295b499d
BLAKE2b-256 checksum
How to use checksums
235edda02b689f964315226bb208892f7cf3741ace51d74e9d73162e23456ef4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

Release files / aviconv_aixm-0.6.0-py3-none-any.whl

Download URL aviconv_aixm-0.6.0-py3-none-any.whl
Size 441.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74f6a1a89e985ea46848250b0fdec7f6cefc37dfbfa176dd8dcdc8dce0f92f79
BLAKE2b-256 checksum
How to use checksums
8b2f64018205aa0b7a1aad24b6c4364c0cd56f403e9e7b48e1cc5d54ab00ecec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

Security for aviconv-aixm 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aviconv_aixm-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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