Read icons from qa_errors.json when building data

Also adds support for the following error types:
- Objects mapped as both node/area or way/area
- Power lines that lead to nowhere
- Extra nodes in power lines (which should only go from support to
support to endpoint)
- Power line supports with no power lines
This commit is contained in:
SilentSpike
2019-12-29 19:18:30 +00:00
parent 5afdfc527b
commit d4723ec9e2
6 changed files with 83 additions and 6 deletions

View File

@@ -34,7 +34,7 @@
}
},
"osmose": {
"items": ["0", "1040", "1050", "1070", "1150", "1280", "3161", "3250", "8300", "8360"],
"items": ["0", "1040", "1050", "1070", "1150", "1280", "3161", "3250", "4080", "7040", "8300", "8360"],
"errorTypes": {
"0-1": {
"icon": "maki-home"
@@ -87,6 +87,27 @@
"3250-32501": {
"icon": "maki-watch"
},
"4080-1": {
"icon": "far-dot-circle"
},
"4080-2": {
"icon": "far-dot-circle"
},
"4080-3": {
"icon": "far-dot-circle"
},
"7040-1": {
"icon": "temaki-power_tower"
},
"7040-2": {
"icon": "temaki-power"
},
"7040-4": {
"icon": "maki-marker"
},
"7040-6": {
"icon": "temaki-power"
},
"8300-20": {
"icon": "temaki-height_restrictor"
},