Add validation rule to flag impossible oneway highways and waterways (close #6216)

This commit is contained in:
Quincy Morgan
2019-04-26 12:04:43 -07:00
parent 7d29a98a14
commit ecc217f5d8
11 changed files with 274 additions and 26 deletions
+19
View File
@@ -1403,6 +1403,23 @@ en:
unknown_road:
message: "{feature} has no classification"
reference: "Roads without a specific type may not appear in maps or routing."
impossible_oneway:
title: Impossible One-Ways
tip: "Find route issues with one-way features"
waterway:
connected:
start:
message: "{feature} flows away from a connected waterway"
end:
message: "{feature} flows against a connected waterway"
reference: "Waterway segements should all flow in the same direction."
highway:
start:
message: "{feature} is unreachable"
reference: "One-way roads must be accessible via other roads."
end:
message: "{feature} has no outlet"
reference: "One-way roads must lead to other roads."
unsquare_way:
title: Unsquare Buildings
message: "{feature} isn't quite square"
@@ -1444,6 +1461,8 @@ en:
title: Remove the tags
reposition_features:
title: Reposition the features
reverse_feature:
title: Reverse this feature
select_preset:
title: Select a feature type
select_road_type:
+14
View File
@@ -467,6 +467,20 @@
"old": {"office": "real_estate"},
"replace": {"office": "estate_agent"}
},
{
"old": {"oneway": "1"},
"replace": {"oneway": "yes"}
},
{
"old": {"oneway": "alternate"},
"replace": {"oneway": "alternating"}
},
{
"old": {"oneway": "no;yes"}
},
{
"old": {"oneway": "unknown"}
},
{
"old": {"place_name": "*"},
"replace": {"name": "$1"}
+4
View File
@@ -1801,6 +1801,10 @@
{"key": "natural", "value": "marsh", "description": "🄳 ➜ natural=wetland + wetland=marsh"},
{"key": "natural", "value": "waterfall", "description": "🄳 ➜ waterway=waterfall"},
{"key": "office", "value": "real_estate", "description": "🄳 ➜ office=estate_agent"},
{"key": "oneway", "value": "1", "description": "🄳 ➜ oneway=yes"},
{"key": "oneway", "value": "alternate", "description": "🄳 ➜ oneway=alternating"},
{"key": "oneway", "value": "no;yes", "description": "🄳"},
{"key": "oneway", "value": "unknown", "description": "🄳"},
{"key": "place_name", "description": "🄳 ➜ name=*"},
{"key": "pole", "value": "transition", "description": "🄳 ➜ location:transition=yes"},
{"key": "postcode", "description": "🄳 ➜ addr:postcode=*"},