-
Notifications
You must be signed in to change notification settings - Fork 0
Archive export writes non-standard relationship payloads #5
Copy link
Copy link
Open
Description
Summary
Archive export emits relationship features in a non-standard custom format (contains, numeric direction, references[]) instead of IMDF relationship properties.
Evidence
src/lib/imdf/archiveExport.ts:602-616generates relationship features with:category: "contains"direction: 1references: [{id, feature_type}, ...]
src/lib/imdf/archiveExport.ts:606forces relationship geometry tonull.
Why this is a bug
This does not match IMDF relationship property structure (origin, optional intermediary, destination, string direction enum). Exported archives may fail downstream validation or lose interoperability with IMDF tooling.
Reference: https://docs.ogc.org/cs/20-094/relationship/index.html
Reproduction
- Export a building archive with features that produce containment relationships.
- Inspect
relationship.geojson. - Observe custom
references[]+ numeric direction payload instead of IMDF relationship fields.
Expected
Export relationships in IMDF-compliant structure so archives are portable across IMDF consumers.
Impact
Generated datasets are not fully interoperable and can be rejected by standards-based importers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels