Skip to content

Architecture: Transformation

Stefan de Konink edited this page Nov 14, 2024 · 1 revision
sequenceDiagram
title PyNeTExConv: Transformation (generalisation)

participant NeTEx XML Source
participant DuckDB Source
participant DuckDB Target

participant NeTEx XML Target

NeTEx XML Source->>DuckDB Source: Parse XML into database<br /><br />execute: netex_to_db.py

DuckDB Source->>DuckDB Target: Apply transformations and<br />introduce new objects:<br /> 1. changes to the timingmodel<br /> 2. calendars vs availabilitycondions<br /> 3. geographic projections<br /><br />execute: *_db_to_db.py

DuckDB Target->>NeTEx XML Target: Query both databases<br />for the objects which the target<br />database has created, or<br />exists as-is in the source.<br /><br />execute: *_db_to_xml.py
DuckDB Source->>NeTEx XML Target: .

Loading
Clone this wiki locally