fix: keep comparison baseline stable without junction quality
This commit is contained in:
1 parent
7e4d77afbe
commit
e2ec728af3
1 file changed
+1
-1
@@ -160,7 +160,7 @@ function compareOsm2Streets(area, model, compiled) {
|
|||||||
nativeMovementCount: compiled.movements.length,
|
nativeMovementCount: compiled.movements.length,
|
||||||
nativePublishedMovementCount: compiled.movements.filter((movement) => movement.geometryPublished).length,
|
nativePublishedMovementCount: compiled.movements.filter((movement) => movement.geometryPublished).length,
|
||||||
nativeConnectionCount: model.connections.length,
|
nativeConnectionCount: model.connections.length,
|
||||||
junctionQuality: compiled.junctionQuality || [],
|
...(compiled.junctionQuality?.length ? { junctionQuality: compiled.junctionQuality } : {}),
|
||||||
unconnectedInteriorRoadEnds: dangling.length,
|
unconnectedInteriorRoadEnds: dangling.length,
|
||||||
unconnectedEndsWithManualCandidates: dangling.filter((item) => item.manualCandidates?.length).length,
|
unconnectedEndsWithManualCandidates: dangling.filter((item) => item.manualCandidates?.length).length,
|
||||||
diagnosticsBySeverity,
|
diagnosticsBySeverity,
|
||||||
|
|||||||
Reference in new issue
Block a user