You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lightweight importer for OpenFlightMaps OFMX data into PostgreSQL/PostGIS. The goal is a small, auditable pipeline that parses OFMX XML, normalizes geometries, and loads core aviation features into a spatial schema.
4
8
5
9
## Status
6
-
Importer and schema are functional for the LK sample dataset. See `TODO.md` for remaining work and `PROGRESS.md` for a running log of changes.
10
+
Importer and schema are functional for the LK sample dataset. Data is fetched on demand and CI validates parser behavior and the Docker import path.
11
+
12
+
## Design Principles
13
+
- Keep the pipeline small and auditable.
14
+
- Favor explicit schemas over implicit inference.
15
+
- Make data fetching and imports reproducible.
7
16
8
17
## Setup
9
18
-`pip install -e .` installs the package and the `psycopg` dependency.
@@ -16,6 +25,7 @@ Importer and schema are functional for the LK sample dataset. See `TODO.md` for
16
25
-`sql/migrations/` PostGIS schema migrations.
17
26
-`config/` example configuration files.
18
27
-`tests/` minimal unit tests for parser and CLI.
28
+
-`scripts/` helper scripts for fetching data and container workflows.
19
29
20
30
## Current Capabilities
21
31
- Streaming XML parsing for OFMX datasets (Ahp, Rwy, Rdn, Ase, Dpn, Ndb/Vor/Dme).
@@ -55,6 +65,12 @@ The LK sample data is fetched on demand into `data/ofmx_lk/` via `scripts/fetch_
55
65
56
66
Airspace records in the LK sample reuse `AseUid/@mid`, so `ofmx.airspaces.ofmx_id` is not unique. The schema uses a composite uniqueness constraint on `(ofmx_id, region, code_id, code_type, name)` to preserve distinct entries while keeping imports idempotent.
57
67
68
+
## Contributing
69
+
See `CONTRIBUTING.md` for workflow, style, and pull request expectations.
70
+
71
+
## Security
72
+
See `SECURITY.md` for reporting guidance.
73
+
58
74
## Roadmap
59
75
- Expand parser coverage for additional OFMX features (procedures, routes, obstacles).
60
76
- Add integration tests that validate full imports against a disposable PostGIS instance.
0 commit comments