| | 67 | *[source:maxspeed="HU:living_street"][maxspeed!=20].itthon, |
| | 68 | *[source:maxspeed="HU:urban"][maxspeed!=50].itthon, |
| | 69 | *[source:maxspeed="HU:rural"][maxspeed!=90].itthon, |
| | 70 | *[source:maxspeed="HU:trunk"][maxspeed!=110].itthon, |
| | 71 | *[source:maxspeed="HU:motorway"][maxspeed!=130].itthon { |
| | 72 | group: "[HU] specifikus szabályok"; |
| | 73 | throwWarning: "a maximálisan megengedett sebesség és a sebességforrás nem egyezik"; |
| | 74 | } |
| | 75 | |
| | 76 | *[maxspeed:type="HU:urban"][!maxspeed].itthon, |
| | 77 | *[source:maxspeed="HU:urban"][!maxspeed].itthon { |
| | 78 | group: "[HU] specifikus szabályok"; |
| | 79 | throwWarning: "hiányzó maximális sebesség: 50"; |
| | 80 | fixAdd: "maxspeed=50"; |
| | 81 | } |
| | 82 | |
| | 83 | *[maxspeed:type="HU:rural"][!maxspeed].itthon, |
| | 84 | *[source:maxspeed="HU:rural"][!maxspeed].itthon { |
| | 85 | group: "[HU] specifikus szabályok"; |
| | 86 | throwWarning: "hiányzó maximális sebesség: 90"; |
| | 87 | fixAdd: "maxspeed=90"; |
| | 88 | } |
| | 89 | |
| | 90 | *[maxspeed:type][source:maxspeed].itthon { |
| | 91 | group: "[HU] specifikus szabályok"; |
| | 92 | throwWarning: "{0.key} és {1.key} ugyanazon az objektumon, távolítsd el az egyiket"; |
| | 93 | } |
| | 94 | |
| | 125 | *[memorial=war_memorial][!memorial:conflict][name=~/(?i)(?<!I)(I\. világ)/].itthon { |
| | 126 | group: "[HU] specifikus szabályok"; |
| | 127 | throwWarning: "I. világháborús emlékműhöz használd a memorial:conflict=WW1 címkézést"; |
| | 128 | fixAdd: "memorial:conflict=WW1"; |
| | 129 | /* FIXME: doesn't work for some reason |
| | 130 | assertMatch: "node memorial=war_memorial name=\"I. világháborús emlékmű\""; */ |
| | 131 | assertNoMatch: "node memorial=war_memorial name=\"II. világháborús emlékmű\""; |
| | 132 | } |
| | 133 | |
| | 134 | *[memorial=war_memorial][!memorial:conflict][name=~/(?i)II\. világ/].itthon { |
| | 135 | group: "[HU] specifikus szabályok"; |
| | 136 | throwWarning: "II. világháborús emlékműhöz használd a memorial:conflict=WW2 címkézést"; |
| | 137 | fixAdd: "memorial:conflict=WW2"; |
| | 138 | /* FIXME: doesn't work for some reason |
| | 139 | assertMatch: "node memorial=war_memorial name=\"II. világháborús emlékmű\""; */ |
| | 140 | assertNoMatch: "node memorial=war_memorial name=\"I. világháborús emlékmű\""; |
| | 141 | } |
| | 142 | |
| 121 | | *[source:maxspeed="HU:living_street"][maxspeed!=20].itthon, |
| 122 | | *[source:maxspeed="HU:urban"][maxspeed!=50].itthon, |
| 123 | | *[source:maxspeed="HU:rural"][maxspeed!=90].itthon, |
| 124 | | *[source:maxspeed="HU:trunk"][maxspeed!=110].itthon, |
| 125 | | *[source:maxspeed="HU:motorway"][maxspeed!=130].itthon { |
| 126 | | group: "[HU] specifikus szabályok"; |
| 127 | | throwWarning: "a maximálisan megengedett sebesség és a sebességforrás nem egyezik"; |
| 128 | | } |
| 129 | | |