add validation for almost junction

but avoid connect when the edge goes in parallel to the other road.
also added tests for the validation.
This commit is contained in:
Xiaoming Gao
2018-12-20 15:08:23 -05:00
parent 70d5529a58
commit ecacab3ffe
7 changed files with 314 additions and 2 deletions

View File

@@ -930,6 +930,9 @@ en:
crossing_ways:
message: Crossing ways without connection
tooltip: "Roads are crossing other roads, buildings, railroads, or waterways without connection nodes or a bridge tag."
highway_almost_junction:
message: Almost junction
tooltip: "This node is very close but not connected to way {wid}."
fix:
delete_feature:
title: Delete this feature