feat: expose junction region quality metrics
This commit is contained in:
1 parent
bde28c8743
commit
efb7de6a83
1 file changed
+4
@@ -526,6 +526,10 @@ function buildComplexJunctionGeometry(model, cluster, helpers) {
|
||||
approach_headings: sorted.map((item) => Math.round(item.heading * 10) / 10),
|
||||
boundary_refs: coreClosure.sharedEdgeRefs,
|
||||
closure_count: coreClosure.closureCount,
|
||||
shared_seam_error_m: coreClosure.maxSharedSeamErrorMeters,
|
||||
shared_seam_errors: coreClosure.sharedSeamErrors,
|
||||
exclusion_hole_count: (coreClosure.holes || []).length,
|
||||
region_status: coreClosure.holes?.length ? 'supported-with-holes' : 'supported',
|
||||
provenance: 'native-road-complex-junction/v7-shared-entry-core',
|
||||
},
|
||||
geometry: { type: 'Polygon', coordinates: [coreRing, ...(coreClosure.holes || [])] },
|
||||
|
||||
Reference in new issue
Block a user