Changeset 19257 in josm for trunk/resources/data
- Timestamp:
- 2024-11-15T09:04:45+01:00 (3 weeks ago)
- Location:
- trunk/resources/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/defaultpresets.xml
r19256 r19257 1324 1324 <optional text="Cycleway Lane Attributes"> 1325 1325 <combo key="cycleway:both:lane" text="Lane type (both)" values_context="cycleway" values="advisory,exclusive"/> 1326 <check key="cycleway:both:buffer" text="Has buffer between automobiles and cycleway (both)" /> 1326 1327 <combo key="cycleway:left:lane" text="Lane type (left)" values_context="cycleway" values="advisory,exclusive"/> 1328 <check key="cycleway:left:buffer" text="Has buffer between automobiles and cycleway (left)" /> 1327 1329 <combo key="cycleway:right:lane" text="Lane type (right)" values_context="cycleway" values="advisory,exclusive"/> 1330 <check key="cycleway:right:buffer" text="Has buffer between automobiles and cycleway (right)" /> 1328 1331 </optional> 1329 1332 <optional text="Edit Highway Attributes:"> -
trunk/resources/data/validator/combinations.mapcss
r19165 r19257 1066 1066 group: tr("suspicious tag combination"); 1067 1067 } 1068 1069 /* #23932 */ 1070 way[cycleway:right][cycleway:right!=lane][cycleway:right!=separate][/^cycleway(:right|:both|):buffer/], 1071 way[cycleway:left][cycleway:left!=lane][cycleway:left!=separate][/^cycleway(:left|:both|):buffer/], 1072 way[cycleway:both][cycleway:both!=lane][cycleway:both!=separate][/^cycleway(:right|:left|:both|):buffer/], 1073 way[cycleway][cycleway!=lane][cycleway!=separate][/^cycleway(:right|:left|:both|):buffer/] { 1074 throwWarning: tr("{0} together with {1}", "{0.tag}", "{3.tag}"); 1075 group: tr("suspicious tag combination"); 1076 assertMatch: "way cycleway:right=separate cycleway:right:buffer=yes"; 1077 assertMatch: "way cycleway:left=shared_lane cycleway:buffer=no"; 1078 assertMatch: "way cycleway:both=track cycleway:left:buffer=yes"; 1079 assertMatch: "way cycleway=shared_busway cycleway:buffer=no"; 1080 assertNoMatch: "way cycleway:right=lane cycleway:right:buffer=no"; 1081 assertNoMatch: "way cycleway:right=separate cycleway:right:buffer=yes"; 1082 assertNoMatch: "way cycleway:left=lane cycleway:left:buffer=yes"; 1083 assertNoMatch: "way cycleway:both=lane cycleway:both:buffer=no"; 1084 assertNoMatch: "way cycleway:both=lane cycleway:left:buffer=yes"; 1085 assertNoMatch: "way cycleway:both=lane cycleway:buffer=no"; 1086 assertNoMatch: "way cycleway=lane cycleway:buffer=yes"; 1087 assertNoMatch: "way cycleway=lane cycleway:right:buffer=no"; 1088 assertNoMatch: "way cycleway=lane cycleway:both:buffer=no"; 1089 } 1090 1091 way[cycleway:right=separate][/^cycleway(:right|:both):./], 1092 way[cycleway:left=separate][/^cycleway(:left|:both):./], 1093 way[cycleway:both=separate][/^cycleway(:right|:left|:both):./], 1094 way[cycleway=separate][/^cycleway(:right|:left|:both):./] { 1095 throwWarning: tr("{0} together with {1}. Remove {1}.", "{0.tag}", "{1.tag}"); 1096 group: tr("suspicious tag combination"); 1097 assertMatch: "way cycleway:right=separate cycleway:right:surface=asphalt"; 1098 assertMatch: "way cycleway:right=separate cycleway:both:buffer=yes"; 1099 assertMatch: "way cycleway:left=separate cycleway:left:surface=asphalt"; 1100 assertMatch: "way cycleway:left=separate cycleway:both:buffer=yes"; 1101 assertMatch: "way cycleway:both=separate cycleway:right:surface=asphalt"; 1102 assertMatch: "way cycleway:both=separate cycleway:left:surface=asphalt"; 1103 assertMatch: "way cycleway:both=separate cycleway:both:buffer=yes"; 1104 assertMatch: "way cycleway=separate cycleway:right:surface=asphalt"; 1105 assertMatch: "way cycleway=separate cycleway:left:surface=asphalt"; 1106 assertMatch: "way cycleway=separate cycleway:both:buffer=yes"; 1107 assertNoMatch: "way cycleway:right=separate cycleway:left:surface=asphalt"; 1108 assertNoMatch: "way cycleway:left=separate cycleway:right:buffer=yes"; 1109 assertNoMatch: "way cycleway:both=separate"; 1110 assertNoMatch: "way cycleway=separate"; 1111 } 1112 1113 way[/^cycleway:right:/][!cycleway:right][!cycleway:both][!cycleway], 1114 way[/^cycleway:left:/][!cycleway:left][!cycleway:both][!cycleway], 1115 way[/^cycleway:both:/][!cycleway:both][!cycleway][!cycleway:left][!cycleway:right], 1116 way[/^cycleway(?!:right|:left|:both|:lanes):/][!cycleway][!cycleway:both][!cycleway:left][!cycleway:right][segregated!=yes] { 1117 throwWarning: tr("{0} without {1}", "{0.key}", "{1.key}"); 1118 group: tr("missing tag"); 1119 suggestAlternative: "{0.tag} + {1.key}=*"; 1120 assertMatch: "way cycleway:right=lane cycleway:left:buffer=yes"; 1121 assertMatch: "way cycleway:right:buffer=yes"; 1122 assertMatch: "way cycleway:right:surface=asphalt"; 1123 assertMatch: "way cycleway:left=lane cycleway:right:buffer=no"; 1124 assertMatch: "way cycleway:left:buffer=yes"; 1125 assertMatch: "way cycleway:left:surface=asphalt"; 1126 assertMatch: "way cycleway:both:buffer=yes"; 1127 assertMatch: "way cycleway:both:surface=asphalt"; 1128 assertMatch: "way cycleway:buffer=no"; 1129 assertNoMatch: "way cycleway:right=lane cycleway:right:buffer=yes"; 1130 assertNoMatch: "way cycleway:left=lane cycleway:left:buffer=yes"; 1131 assertNoMatch: "way cycleway:both=lane cycleway:both:buffer=yes"; 1132 assertNoMatch: "way cycleway=lane cycleway:buffer=yes"; 1133 assertNoMatch: "way cycleway:left=lane cycleway:right=lane cycleway:both:buffer=yes"; 1134 assertNoMatch: "way cycleway:left=lane cycleway:right=lane cycleway:buffer=no"; 1135 assertNoMatch: "way cycleway=lane cycleway:surface=asphalt"; 1136 assertNoMatch: "way cycleway:both=lane cycleway:both:surface=asphalt"; 1137 assertNoMatch: "way highway=path segregated=yes cycleway:surface=needles footway:surface=paving_stones"; 1138 assertNoMatch: "way highway=primary oneway=yes bicycle:lanes=no|designated|yes cycleway:lanes=|lane|no"; 1139 }
Note:
See TracChangeset
for help on using the changeset viewer.