-
Notifications
You must be signed in to change notification settings - Fork 0
Opening field model loses IMDF door/accessibility semantics #6
Copy link
Copy link
Open
Description
Summary
Opening feature schema is currently modeled with legacy/non-standard fields (door as numeric tri-state, accessibility as a single string) rather than IMDF opening properties.
Evidence
src/lib/imdf/featureCatalog.ts:186definesdooras a requirednumberwith enum-1/0/1.src/lib/imdf/featureCatalog.ts:194definesaccessibilityas a single optionalstring.src/lib/imdf/archiveImport.ts:318-323only accepts numericdoorand stringaccessibility.
Why this is a bug
IMDF opening uses richer property types (e.g., structured door data and accessibility arrays). The current model cannot represent valid IMDF payloads and will drop or coerce data on import/export.
Reference: https://docs.ogc.org/cs/20-094/opening/index.html
Reproduction
- Import an opening feature that contains structured door/accessibility fields per IMDF.
- Inspect imported feature properties in editor state.
- Observe fields are missing or collapsed into incompatible shapes.
Expected
- Align opening property schema with IMDF field definitions.
- Preserve full opening semantics during import/export and editing.
Impact
Data loss and reduced interoperability for opening/accessibility semantics.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels