Module osm.area.assembly
OSM-specific closed-Way and multipolygon ring assembly.
The assembler joins Way members by exact OSM Node identity. It preserves outer/inner roles and source provenance, may reverse a Way's traversal direction without mutating source data, and reports incomplete, ambiguous, or invalid graph structure explicitly.
This module does not perform generic polygon validity, intersection, containment, orientation, projection, or metric operations.
Functions
| Name | Description |
|---|---|
assembleClosedWayArea(store, way)
|
Assemble one closed Store Way as an outer OSM ring. |
assembleClosedWayArea(dataset, index, way)
|
Assemble one closed Owned Way as an outer OSM ring. |
assembleMultipolygon(store, relation)
|
Assemble a Store multipolygon Relation into OSM outer/inner rings. |
assembleMultipolygon(dataset, index, relation)
|
Assemble an indexed Owned multipolygon Relation into outer/inner rings. |
Structs
| Name | Description |
|---|---|
AreaAssemblyIssue
|
One explicit issue encountered while assembling an OSM area. |
AreaAssemblyResult
|
Owning result of OSM-specific area/ring assembly. |
AreaOpenChain
|
One non-closed or ambiguity-stopped chain retained for diagnostics. |
AreaRing
|
One successfully closed OSM ring assembled by Node identity. |
AreaRingSegment
|
Provenance for one source Way contribution to an assembled path. |
AreaVertex
|
One resolved or unresolved OSM Node occurrence in an assembled path. |
Enums
| Name | Description |
|---|---|
AreaAssemblyIssueKind
|
Specific assembly condition recorded in AreaAssemblyResult. |
AreaAssemblyState
|
Aggregate outcome of one area assembly operation. |
AreaRingRole
|
Semantic role assigned to one assembled multipolygon ring. |