Add support for even more Osmose error types

- Conflicting tags
- Orthographic errors (excess whitespace and all capital names)
- Deprecated tagging
- Bad use of the "area" tag
This commit is contained in:
SilentSpike
2019-12-31 22:23:09 +00:00
parent 406264c37e
commit 9fca611ec1
7 changed files with 75 additions and 7 deletions
+21 -1
View File
@@ -868,7 +868,7 @@ en:
description: '{0} should be on the highway or part of an "enforcement" relation.'
2110-21101:
title: 'Unknown Named Object'
description: '{0} has a name but no main tag.'
description: '{0} has a name but no feature tag.'
2110-21102:
title: 'Missing Relation Type'
description: '{0} is missing a "type" tag.'
@@ -881,15 +881,35 @@ en:
3161:
title: 'Missing Parking Access'
description: 'There is no highway leading to {0}.'
3200:
title: 'Invalid Area Tagging'
3200-32001:
description: '{0} is tagged "area=yes", but this feature is an area by default.'
3200-32002:
description: '{0} has an "area" tag, but no feature tag.'
3200-32003:
description: '{0} is tagged "area=no", but this feature already isn''t an area.'
3220:
title: 'All Access Allowed'
description: '{0} has an "access=yes" or "access=permissive" tag which permits use by all transport modes (ski, horse, hazmat, etc.).'
3250-32501:
title: 'Invalid Opening Hours'
description: '{0} has an invalid value for the "opening_hours" tag.'
4010:
title: 'Deprecated Tagging'
description: '{0} uses tag "{1}" which is deprecated in favour of "{2}".'
4030-900:
title: 'Conflicting Tags'
description: '{0} is tagged with both "{1}" and "{2}".'
4080:
title: 'Object Mapped Twice'
description: '{0} and {1} both appear to represent the same object.'
5010:
title: 'Orthographic Error'
5010-803:
description: 'The "name" of {0} is written in all capitals.'
5010-903:
description: 'The "name" of {0} has excessive space characters.'
5070-50703:
title: 'Unexpected Symbol'
description: '{0} has an unexpected symbol, {2}, in the "{1}" tag.'
+13
View File
@@ -23,11 +23,16 @@
"3040",
"3090",
"3161",
"3200",
"3220",
"3250",
"4010",
"4030",
"4080",
"5010",
"7040",
"7090",
"5010",
"5070",
"8300",
"8360",
@@ -57,12 +62,20 @@
"3090-3090": "fas-calendar-alt",
"3161-1": "maki-parking",
"3161-2": "maki-parking",
"3200-32001": "fas-vector-square",
"3200-32002": "fas-vector-square",
"3200-32003": "fas-vector-square",
"3220-32200": "maki-roadblock",
"3220-32201": "maki-roadblock",
"3250-32501": "maki-watch",
"4010-4010": "maki-waste-basket",
"4010-40102": "maki-waste-basket",
"4030-900": "fas-yin-yang",
"4080-1": "far-dot-circle",
"4080-2": "far-dot-circle",
"4080-3": "far-dot-circle",
"5010-803": "fas-sort-alpha-up",
"5010-903": "fas-rocket",
"5070-50703": "fas-tint-slash",
"5070-50704": "fas-code",
"5070-50705": "fas-question",