Commit b4af8b7
see #21836 - Add some power/voltage validation rules:
- `voltage:primary/secondary/tertiary` without `transformer`
- `voltage:primary/secondary/tertiary` on a way
- `voltage:primary/secondary/tertiary` not in correct number format (should be in volts with no units/delimiter/spaces)
- don't warn about unknown numeric values of `voltage:primary/secondary/tertiary`
- `transformer` together with `voltage` on nodes
- `voltage:secondary` is lower than `voltage:primary` on `transformer=generator`
- deprecate `voltage-high` and `voltage-low` in favor of `voltage:primary/secondary`
git-svn-id: https://josm.openstreetmap.de/svn/trunk@18535 0c6e7542-c601-0410-84e7-c038aed88b3b1 parent 458c2ec commit b4af8b7
File tree
5 files changed
+32
-2
lines changed- resources/data/validator
5 files changed
+32
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
345 | 348 | | |
346 | 349 | | |
347 | 350 | | |
348 | | - | |
| 351 | + | |
| 352 | + | |
349 | 353 | | |
350 | 354 | | |
351 | 355 | | |
| |||
1060 | 1064 | | |
1061 | 1065 | | |
1062 | 1066 | | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2381 | 2381 | | |
2382 | 2382 | | |
2383 | 2383 | | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
| 2389 | + | |
| 2390 | + | |
| 2391 | + | |
| 2392 | + | |
2384 | 2393 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
138 | 141 | | |
139 | 142 | | |
140 | 143 | | |
| |||
726 | 729 | | |
727 | 730 | | |
728 | 731 | | |
| 732 | + | |
| 733 | + | |
729 | 734 | | |
730 | 735 | | |
731 | 736 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
376 | 379 | | |
377 | 380 | | |
378 | 381 | | |
| |||
0 commit comments