Ticket #23932: cycleway_buffer_2.patch
File cycleway_buffer_2.patch, 2.8 KB (added by , 4 months ago) |
---|
-
resources/data/defaultpresets.xml
1323 1323 <space /> 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:"> 1330 1333 <combo key="highway" text="Highway" values="motorway,motorway_link,trunk,trunk_link,primary,primary_link,secondary,secondary_link,tertiary,tertiary_link,unclassified,residential,living_street,service,bus_guideway,construction" values_context="Highway" values_sort="false" /> -
resources/data/validator/combinations.mapcss
1065 1065 throwWarning: tr("{0} is lower or equal to {1} on {2}", "{1.key}", "{2.key}", "{0.key}"); 1066 1066 group: tr("suspicious tag combination"); 1067 1067 } 1068 1069 /* #23932 */ 1070 way[cycleway:right=separate][cycleway:right:buffer], 1071 way[cycleway:left=separate][cycleway:left:buffer], 1072 way[cycleway:both=separate][cycleway:both:buffer], 1073 way[cycleway=separate][cycleway:buffer], 1074 way[highway=cycleway][cycleway:buffer] { 1075 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); 1076 group: tr("suspicious tag combination"); 1077 assertMatch: "way cycleway:right=separate cycleway:right:buffer=yes"; 1078 assertMatch: "way cycleway:left=separate cycleway:left:buffer=no"; 1079 assertMatch: "way cycleway:both=separate cycleway:both:buffer=yes"; 1080 assertMatch: "way cycleway=separate cycleway:buffer=no"; 1081 assertMatch: "way highway=cycleway cycleway:buffer=yes"; 1082 assertNoMatch: "way cycleway:right=lane cycleway:right:buffer=no"; 1083 assertNoMatch: "way cycleway:left=lane cycleway:left:buffer=yes"; 1084 assertNoMatch: "way cycleway:both=lane cycleway:both:buffer=no"; 1085 assertNoMatch: "way cycleway=lane cycleway:buffer=yes"; 1086 assertNoMatch: "way highway=cycleway"; 1087 }