Ticket #20102: josm_20102.patch
File josm_20102.patch, 45.3 KB (added by , 2 years ago) |
---|
-
resources/data/defaultpresets.xml
250 250 <combo key="access" text="General Access" values="yes,private,customers,permissive,permit,no" values_sort="false" /> 251 251 </chunk> 252 252 <chunk id="path_access_modes"> 253 <combo key="ski" text="Ski" values="yes,official,designated,permissive,permit,private, no" values_sort="false" />254 <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,permit,private, no" values_sort="false" />253 <combo key="ski" text="Ski" values="yes,official,designated,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> 254 <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 255 255 <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,permit,private,no" values_sort="false" match="key" /> 256 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,permit,private, no" values_sort="false" />256 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 257 257 <space /> 258 258 <label text="Tags which are implied and do not need to be set are `motor_vehicle=no` and `emergency=destination`." /> 259 259 <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> … … 1007 1007 <reference ref="link_road_access_restrictions" /> 1008 1008 </item> <!-- Construction --> 1009 1009 <separator/> 1010 <item name="Road Restrictions" icon="presets/vehicle/restriction/maxspeed.svg" type="node,way,closedway,multipolygon" preset_name_label="true" > <!-- There are links from MP relations to this preset -->1011 <link wiki="Key:access" />1012 <space />1013 <checkgroup columns="3" >1014 <check key="oneway" text="Oneway" />1015 <check key="toll" text="Toll" />1016 <check key="noexit" text="No exit (cul-de-sac)" disable_off="true" />1017 <check key="winter_road" text="Winter road" disable_off="true" />1018 <check key="ice_road" text="Ice road" disable_off="true" />1019 </checkgroup>1020 <text key="maxspeed" text="Max. speed (km/h)" />1021 <text key="maxspeed:forward" text="Max. speed in way direction" />1022 <text key="maxspeed:backward" text="Max. speed opposed to way direction" />1023 <text key="maxspeed:hgv" text="Max. speed Heavy Goods Vehicles (km/h)" match="key" />1024 <text key="maxspeed:advisory" text="Signposted advisory max. speed (km/h)" />1025 <text key="minspeed" text="Min. speed (km/h)" match="key" />1026 <space />1027 <reference ref="highway_max" />1028 <space />1029 <combo key="overtaking" text="Overtaking" values="yes,both,forward,backward,no" values_context="overtaking" values_sort="false" match="key" />1030 <preset_link preset_name="Access Restrictions" />1031 </item> <!-- Road Restrictions -->1032 <item name="Access Restrictions" icon="presets/vehicle/restriction/restrictions.svg" type="node,way,closedway,multipolygon,relation" preset_name_label="true"> <!-- There are links from MPs and route relations to this preset -->1033 <link wiki="Key:access" />1034 <space />1035 <label text="Some road types already imply some access restrictions which should not be set again." />1036 <space />1037 <label text="Transport mode restrictions" />1038 <combo key="access" text="General Access" values="yes,destination,delivery,permissive,permit,private,customers,agricultural,forestry,no" values_searchable="true" values_sort="false" match="key" />1039 <combo key="foot" text="Foot" values="yes,official,designated,permissive,destination,delivery,permit,private,use_sidepath,no" values_sort="false" match="key" />1040 <reference ref="wheelchair" />1041 <combo key="ski" text="Ski" values="yes,official,designated,permissive,permit,private,no" values_sort="false" />1042 <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,permit,private,no" values_sort="false" match="key" />1043 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,permit,private,no" values_sort="false" match="key" />1044 <space />1045 <label text="Vehicles per type" />1046 <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1047 <combo key="bicycle" text="Bicycle" values="yes,official,designated,permissive,destination,delivery,permit,private,use_sidepath,no" values_sort="false" match="key" />1048 <combo key="carriage" text="Carriage" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1049 <combo key="motor_vehicle" text="Motor vehicles" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1050 <combo key="motorcycle" text="Motorcycle" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1051 <combo key="moped" text="Moped" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1052 <combo key="mofa" text="Mofa" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1053 <combo key="motorcar" text="Motorcar" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1054 <combo key="goods" text="Light Commercial Vehicles (goods)" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1055 <combo key="hgv" text="Heavy Goods Vehicles (hgv)" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1056 <combo key="bdouble" text="B-double road train" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1057 <combo key="agricultural" text="Agricultural Vehicles (with restrictions e.g. max. 25 km/h)" values="yes,official,designated,destination,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" />1058 <combo key="4wd_only" text="4WD only" values="yes,recommended,no" values_sort="false" match="key" />1059 <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,permit,private,no" values_sort="false" />1060 <combo key="golf_cart" text="Golf cart" values="yes,official,designated,permissive,destination,delivery,permit,private,no" values_sort="false" match="key" />1061 <space />1062 <label text="Vehicles per use" />1063 <combo key="emergency" text="Emergency vehicles" values="yes,official,designated,destination,no" values_sort="false" match="keyvalue" />1064 <combo key="disabled" text="Disabled" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" />1065 <combo key="hov" text="High-occupancy vehicles (hov)" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" />1066 <combo key="psv" text="Public Service Vehicles (psv)" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" />1067 <combo key="bus" text="Public Transportation Bus" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" />1068 <combo key="taxi" text="Taxi" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" />1069 <combo key="tourist_bus" text="Tourist buses" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" />1070 <combo key="hazmat" text="Hazmat" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" />1071 <preset_link preset_name="Road Restrictions" />1072 </item> <!-- Access Restrictions -->1073 <separator/>1074 1010 <item name="Roundabout" icon="presets/vehicle/restriction/roundabout_right.svg" type="node,way,closedway" preset_name_label="true"> 1075 1011 <link wiki="Tag:junction=roundabout" /> 1076 1012 <space /> … … 1137 1073 <combo key="motor_vehicle" text="Motor vehicles" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> 1138 1074 <combo key="motorcycle" text="Motorcycle" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> 1139 1075 <combo key="motorcar" text="Motorcar" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> 1140 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,permit,private, no" values_sort="false" />1076 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1141 1077 </optional> 1142 1078 <reference ref="link_road_access_restrictions" /> 1143 1079 </item> <!-- Track --> … … 1162 1098 <check key="segregated" text="Segregated" /> 1163 1099 <check key="informal" text="Informal" disable_off="true" /> 1164 1100 </checkgroup> 1165 <combo key="foot" text="Foot" values="yes,official,designated,permissive,destination,delivery,permit,private, no" values_sort="false" />1101 <combo key="foot" text="Foot" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1166 1102 <reference ref="wheelchair" /> 1167 <combo key="bicycle" text="Bicycle" values="yes,official,designated,permissive,destination,delivery,permit,private, no" values_sort="false" />1103 <combo key="bicycle" text="Bicycle" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1168 1104 <reference ref="path_access_modes" /> 1169 1105 </optional> 1170 1106 <reference ref="link_road_access_restrictions" /> … … 1182 1118 <space /> 1183 1119 <label text="Depending on the country, several access tags are implied and do not need to be set." /> 1184 1120 <label text="Globally, `horse=designated` and `motor_vehicle=no` are implied." /> 1185 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,permit,private, no" values_sort="false" />1121 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1186 1122 <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,permit,private,no" values_sort="false" match="key" /> 1187 <combo key="foot" text="Foot" values="yes,permissive,destination,delivery,permit,private, no" values_sort="false" />1123 <combo key="foot" text="Foot" values="yes,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1188 1124 <reference ref="wheelchair" /> 1189 <combo key="bicycle" text="Bicycle" values="yes,permissive,destination,delivery,permit,private, no" values_sort="false" />1125 <combo key="bicycle" text="Bicycle" values="yes,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1190 1126 <combo key="ski" text="Ski" values="yes,permissive,private,no" values_sort="false" /> 1191 <combo key="snowmobile" text="Snowmobile" values="yes,permissive,destination,delivery,permit,private, no" values_sort="false" />1127 <combo key="snowmobile" text="Snowmobile" values="yes,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1192 1128 <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> 1193 1129 <combo key="motor_vehicle" text="Motor vehicles" values="yes,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1194 1130 </optional> … … 1220 1156 <label text="Globally, `bicycle=designated` is implied." /> 1221 1157 <combo key="foot" text="Pedestrians" values="yes,designated,permissive,destination,delivery,permit,private,no" values_sort="false" /> 1222 1158 <reference ref="wheelchair" /> 1223 <combo key="ski" text="Ski" values="yes,official,designated,permissive,p rivate,no" values_sort="false" />1224 <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,permit,private, no" values_sort="false" />1159 <combo key="ski" text="Ski" values="yes,official,designated,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> 1160 <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1225 1161 <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,permit,private,no" values_sort="false" match="key" /> 1226 <combo key="horse" text="Horse" values="yes,permissive,destination,delivery,permit,private, no" values_sort="false" />1162 <combo key="horse" text="Horse" values="yes,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1227 1163 <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> 1228 1164 <combo key="motor_vehicle" text="Motor vehicles" values="yes,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1229 1165 </optional> … … 1275 1211 <space /> 1276 1212 <label text="Depending on the country, several access tags are implied and do not need to be set." /> 1277 1213 <label text="Globally, `foot=designated` is implied." /> 1278 <combo key="bicycle" text="Bicycle" values="yes,designated,permissive,destination,delivery,permit,private, no" values_sort="false" />1279 <combo key="ski" text="Ski" values="yes,official,designated,permissive,p rivate,no" values_sort="false" />1280 <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,permit,private, no" values_sort="false" />1214 <combo key="bicycle" text="Bicycle" values="yes,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1215 <combo key="ski" text="Ski" values="yes,official,designated,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> 1216 <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1281 1217 <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,permit,private,no" values_sort="false" match="key" /> 1282 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,permit,private, no" values_sort="false" />1218 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1283 1219 <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> 1284 1220 <combo key="motor_vehicle" text="Motor vehicles" values="yes,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1285 1221 </optional> … … 1316 1252 </optional> 1317 1253 </item> <!-- Steps --> 1318 1254 </group> <!-- Ways --> 1255 <group name="Passageways" icon="presets/transport/passage/tunnel.svg"> 1256 <item name="Tunnel" icon="presets/transport/passage/tunnel.svg" type="way" preset_name_label="true"> 1257 <link wiki="Key:tunnel" /> 1258 <key key="tunnel" value="yes" /> 1259 <optional> 1260 <text key="name" text="Name" /> 1261 <combo key="layer" text="Layer" values="5,4,3,2,1,-1,-2,-3,-4,-5" default="-1" length="3" values_sort="false" /> 1262 <text key="width" text="Width (meters)" /> 1263 <text key="maxheight" text="Max. height (meters)" /> 1264 <text key="maxwidth" text="Max. width (meters)" match="key" /> 1265 <space /> 1266 <text key="maxspeed" text="Max. speed (km/h)" /> 1267 <text key="maxspeed:forward" text="Max. speed in way direction" /> 1268 <text key="maxspeed:backward" text="Max. speed opposed to way direction" /> 1269 <space /> 1270 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 1271 <check key="toll" text="Toll" /> 1272 </optional> 1273 </item> <!-- Tunnel --> 1274 <item name="Building Passage" icon="presets/transport/passage/tunnel_building_passage.svg" type="way" preset_name_label="true"> 1275 <link wiki="Key:tunnel" /> 1276 <key key="tunnel" value="building_passage" /> 1277 <optional> 1278 <reference ref="name_layer" /> 1279 <text key="width" text="Width (meters)" /> 1280 <text key="maxheight" text="Max. height (meters)" /> 1281 <text key="maxspeed" text="Max. speed (km/h)" /> 1282 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 1283 </optional> 1284 </item> <!-- Building Passage --> 1285 <item name="Arcade" icon="presets/transport/passage/arcade.svg" type="way" preset_name_label="true"> 1286 <link wiki="Key:covered" /> 1287 <space /> 1288 <key key="covered" value="arcade" /> 1289 <check key="arcade:left" value_on="open" text="Open on left side" disable_off="true" /> 1290 <check key="arcade:right" value_on="open" text="Open on right side" disable_off="true" /> 1291 <optional> 1292 <reference ref="name_layer" /> 1293 <text key="width" text="Width (meters)" /> 1294 </optional> 1295 </item> <!-- Arcade --> 1296 <item name="Colonnade" icon="presets/transport/passage/colonnade.svg" type="way" preset_name_label="true"> 1297 <link wiki="Key:covered" /> 1298 <space /> 1299 <key key="covered" value="colonnade" /> 1300 <check key="colonnade:left" value_on="open" text="Open on left side" disable_off="true" /> 1301 <check key="colonnade:right" value_on="open" text="Open on right side" disable_off="true" /> 1302 <optional> 1303 <reference ref="name_layer" /> 1304 <text key="width" text="Width (meters)" /> 1305 </optional> 1306 </item> <!-- Colonnade --> 1307 <item name="Avalanche Protector" icon="presets/transport/passage/tunnel_avalanche_protector.svg" type="way" preset_name_label="true"> 1308 <link wiki="Key:tunnel" /> 1309 <space /> 1310 <key key="tunnel" value="avalanche_protector" /> 1311 <check key="avalanche_protector:left" value_on="open" text="Open on left side" disable_off="true" /> 1312 <check key="avalanche_protector:right" value_on="open" text="Open on right side" disable_off="true" /> 1313 <optional> 1314 <reference ref="name_layer" /> 1315 <text key="width" text="Width (meters)" /> 1316 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 1317 </optional> 1318 </item> <!-- Avalanche Protector --> 1319 </group> <!-- Passageways --> 1320 <item name="Road Restrictions" icon="presets/vehicle/restriction/maxspeed.svg" type="node,way,closedway,multipolygon" preset_name_label="true" > <!-- There are links from MP relations to this preset --> 1321 <link wiki="Key:access" /> 1322 <space /> 1323 <checkgroup columns="3" > 1324 <check key="oneway" text="Oneway" /> 1325 <check key="toll" text="Toll" /> 1326 <check key="noexit" text="No exit (cul-de-sac)" disable_off="true" /> 1327 <check key="winter_road" text="Winter road" disable_off="true" /> 1328 <check key="ice_road" text="Ice road" disable_off="true" /> 1329 </checkgroup> 1330 <text key="maxspeed" text="Max. speed (km/h)" /> 1331 <text key="maxspeed:forward" text="Max. speed in way direction" /> 1332 <text key="maxspeed:backward" text="Max. speed opposed to way direction" /> 1333 <text key="maxspeed:hgv" text="Max. speed Heavy Goods Vehicles (km/h)" match="key" /> 1334 <text key="maxspeed:advisory" text="Signposted advisory max. speed (km/h)" /> 1335 <text key="minspeed" text="Min. speed (km/h)" match="key" /> 1336 <space /> 1337 <reference ref="highway_max" /> 1338 <space /> 1339 <combo key="overtaking" text="Overtaking" values="yes,both,forward,backward,no" values_context="overtaking" values_sort="false" match="key" /> 1340 <preset_link preset_name="Access Restrictions" /> 1341 </item> <!-- Road Restrictions --> 1342 <item name="Access Restrictions" icon="presets/vehicle/restriction/restrictions.svg" type="node,way,closedway,multipolygon,relation" preset_name_label="true"> <!-- There are links from MPs and route relations to this preset --> 1343 <link wiki="Key:access" /> 1344 <space /> 1345 <label text="Some road types already imply some access restrictions which should not be set again." /> 1346 <space /> 1347 <label text="Transport mode restrictions" /> 1348 <combo key="access" text="General Access" values="yes,destination,delivery,permissive,permit,private,customers,agricultural,forestry,no" values_searchable="true" values_sort="false" match="key" /> 1349 <combo key="foot" text="Foot" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,use_sidepath,no" values_sort="false" match="key" /> 1350 <reference ref="wheelchair" /> 1351 <combo key="ski" text="Ski" values="yes,official,designated,permissive,permit,private,agricultural,forestry,no" values_sort="false" /> 1352 <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,permit,private,no" values_sort="false" match="key" /> 1353 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1354 <space /> 1355 <label text="Vehicles per type" /> 1356 <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1357 <combo key="bicycle" text="Bicycle" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,use_sidepath,no" values_sort="false" match="key" /> 1358 <combo key="carriage" text="Carriage" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1359 <combo key="motor_vehicle" text="Motor vehicles" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1360 <combo key="motorcycle" text="Motorcycle" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1361 <combo key="moped" text="Moped" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1362 <combo key="mofa" text="Mofa" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1363 <combo key="motorcar" text="Motorcar" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1364 <combo key="goods" text="Light Commercial Vehicles (goods)" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1365 <combo key="hgv" text="Heavy Goods Vehicles (hgv)" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1366 <combo key="bdouble" text="B-double road train" values="yes,official,designated,destination,delivery,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1367 <combo key="agricultural" text="Agricultural Vehicles (with restrictions e.g. max. 25 km/h)" values="yes,official,designated,destination,permissive,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1368 <combo key="4wd_only" text="4WD only" values="yes,recommended,no" values_sort="false" match="key" /> 1369 <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" /> 1370 <combo key="golf_cart" text="Golf cart" values="yes,official,designated,permissive,destination,delivery,permit,private,agricultural,forestry,no" values_sort="false" match="key" /> 1371 <space /> 1372 <label text="Vehicles per use" /> 1373 <combo key="emergency" text="Emergency vehicles" values="yes,official,designated,destination,no" values_sort="false" match="keyvalue" /> 1374 <combo key="disabled" text="Disabled" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" /> 1375 <combo key="hov" text="High-occupancy vehicles (hov)" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" /> 1376 <combo key="psv" text="Public Service Vehicles (psv)" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" /> 1377 <combo key="bus" text="Public Transportation Bus" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" /> 1378 <combo key="taxi" text="Taxi" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" /> 1379 <combo key="tourist_bus" text="Tourist buses" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" /> 1380 <combo key="hazmat" text="Hazmat" values="yes,official,designated,destination,permissive,permit,private,no" values_sort="false" match="key" /> 1381 <preset_link preset_name="Road Restrictions" /> 1382 </item> <!-- Access Restrictions --> 1383 <separator/> 1319 1384 <group name="Waypoints" icon="presets/vehicle/waypoints.svg"> 1320 1385 <item name="Motorway Junction" icon="presets/vehicle/motorway_junction.svg" type="node" preset_name_label="true"> 1321 1386 <link wiki="Tag:highway=motorway_junction" /> … … 1927 1992 <preset_link preset_name="Access Restrictions" /> 1928 1993 </item> <!-- Sally Port --> 1929 1994 </group> <!-- Barriers --> 1930 <group name="Passageways" icon="presets/transport/passage/tunnel.svg"> 1931 <item name="Tunnel" icon="presets/transport/passage/tunnel.svg" type="way" preset_name_label="true"> 1932 <link wiki="Key:tunnel" /> 1933 <key key="tunnel" value="yes" /> 1934 <optional> 1935 <text key="name" text="Name" /> 1936 <combo key="layer" text="Layer" values="5,4,3,2,1,-1,-2,-3,-4,-5" default="-1" length="3" values_sort="false" /> 1937 <text key="width" text="Width (meters)" /> 1938 <text key="maxheight" text="Max. height (meters)" /> 1939 <text key="maxwidth" text="Max. width (meters)" match="key" /> 1940 <space /> 1941 <text key="maxspeed" text="Max. speed (km/h)" /> 1942 <text key="maxspeed:forward" text="Max. speed in way direction" /> 1943 <text key="maxspeed:backward" text="Max. speed opposed to way direction" /> 1944 <space /> 1945 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 1946 <check key="toll" text="Toll" /> 1947 </optional> 1948 </item> <!-- Tunnel --> 1949 <item name="Building Passage" icon="presets/transport/passage/tunnel_building_passage.svg" type="way" preset_name_label="true"> 1950 <link wiki="Key:tunnel" /> 1951 <key key="tunnel" value="building_passage" /> 1952 <optional> 1953 <reference ref="name_layer" /> 1954 <text key="width" text="Width (meters)" /> 1955 <text key="maxheight" text="Max. height (meters)" /> 1956 <text key="maxspeed" text="Max. speed (km/h)" /> 1957 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 1958 </optional> 1959 </item> <!-- Building Passage --> 1960 <item name="Arcade" icon="presets/transport/passage/arcade.svg" type="way" preset_name_label="true"> 1961 <link wiki="Key:covered" /> 1962 <space /> 1963 <key key="covered" value="arcade" /> 1964 <check key="arcade:left" value_on="open" text="Open on left side" disable_off="true" /> 1965 <check key="arcade:right" value_on="open" text="Open on right side" disable_off="true" /> 1966 <optional> 1967 <reference ref="name_layer" /> 1968 <text key="width" text="Width (meters)" /> 1969 </optional> 1970 </item> <!-- Arcade --> 1971 <item name="Colonnade" icon="presets/transport/passage/colonnade.svg" type="way" preset_name_label="true"> 1972 <link wiki="Key:covered" /> 1973 <space /> 1974 <key key="covered" value="colonnade" /> 1975 <check key="colonnade:left" value_on="open" text="Open on left side" disable_off="true" /> 1976 <check key="colonnade:right" value_on="open" text="Open on right side" disable_off="true" /> 1977 <optional> 1978 <reference ref="name_layer" /> 1979 <text key="width" text="Width (meters)" /> 1980 </optional> 1981 </item> <!-- Colonnade --> 1982 <item name="Avalanche Protector" icon="presets/transport/passage/tunnel_avalanche_protector.svg" type="way" preset_name_label="true"> 1983 <link wiki="Key:tunnel" /> 1995 <separator/> 1996 <item name="Highway Area" icon="presets/transport/way/way_residential.svg" type="closedway,multipolygon" preset_name_label="true"> 1997 <link wiki="Key:area:highway" /> 1984 1998 <space /> 1985 <key key="tunnel" value="avalanche_protector" /> 1986 <check key="avalanche_protector:left" value_on="open" text="Open on left side" disable_off="true" /> 1987 <check key="avalanche_protector:right" value_on="open" text="Open on right side" disable_off="true" /> 1999 <combo key="area:highway" text="Type of highway" values_context="highway" values_searchable="true" values_sort="false" match="key!"> <!-- FIXME: two icons missing --> 2000 <list_entry value="motorway" display_value="Motorway" icon="presets/transport/way/way_motorway.svg" /> 2001 <list_entry value="motorway_link" display_value="Motorway Link" icon="presets/transport/way/way_motorway_link.svg" /> 2002 <list_entry value="trunk" display_value="Trunk" icon="presets/transport/way/way_trunk.svg" /> 2003 <list_entry value="trunk_link" display_value="Trunk Link" icon="presets/transport/way/way_trunk_link.svg" /> 2004 <list_entry value="primary" display_value="Primary" icon="presets/transport/way/way_primary.svg" /> 2005 <list_entry value="primary_link" display_value="Primary Link" icon="presets/transport/way/way_primary_link.svg" /> 2006 <list_entry value="secondary" display_value="Secondary" icon="presets/transport/way/way_secondary.svg" /> 2007 <list_entry value="secondary_link" display_value="Secondary" icon="presets/transport/way/way_secondary_link.svg" /> 2008 <list_entry value="tertiary" display_value="Tertiary" icon="presets/transport/way/way_tertiary.svg" /> 2009 <list_entry value="tertiary_link" display_value="Tertiary Link" icon="presets/transport/way/way_tertiary_link.svg" /> 2010 <list_entry value="unclassified" display_value="Unclassified" icon="presets/transport/way/way_unclassified.svg" /> 2011 <list_entry value="residential" display_value="Residential" icon="presets/transport/way/way_residential.svg" /> 2012 <list_entry value="living_street" display_value="Living Street" icon="presets/transport/way/way_living_street.svg" /> 2013 <list_entry value="pedestrian" display_value="Pedestrian" icon="presets/transport/way/way_pedestrian.svg" /> 2014 <list_entry value="bus_guideway" display_value="Bus Guideway" icon="presets/transport/railway/bus_guideway.svg" /> 2015 <list_entry value="busway" display_value="Bus Rapid Transit" /> 2016 <list_entry value="service" display_value="Service" icon="presets/transport/way/way_service.svg" /> 2017 <list_entry value="escape" display_value="Escape" icon="presets/transport/way/way_escape.svg" /> 2018 <list_entry value="raceway" display_value="Raceway" icon="presets/sport/raceway.svg" /> 2019 <list_entry value="road" display_value="Road (Unknown Type)" icon="presets/transport/way/way_road.svg" /> 2020 <list_entry value="construction" display_value="Construction" icon="presets/transport/way/way_construction.svg" /> 2021 <list_entry value="track" display_value="Track" icon="presets/transport/way/track.svg" /> 2022 <list_entry value="path" display_value="Path" icon="presets/transport/way/path.svg" /> 2023 <list_entry value="bridleway" display_value="Dedicated Bridleway" icon="presets/transport/way/dedicated_bridleway.svg" /> 2024 <list_entry value="cycleway" display_value="Dedicated Cycleway" icon="presets/transport/way/dedicated_cycleway.svg" /> 2025 <list_entry value="footway" display_value="Dedicated Footway" icon="presets/transport/way/dedicated_footway.svg" /> 2026 <list_entry value="steps" display_value="Steps" icon="presets/transport/way/steps.svg" /> 2027 <list_entry value="shoulder" display_value="Shoulder" /> 2028 <list_entry value="traffic_island" display_value="Traffic Island" icon="presets/vehicle/island.svg" /> 2029 <list_entry value="passing_place" display_value="Passing Place" icon="presets/vehicle/passing_place.svg" /> 2030 <list_entry value="turning_circle" display_value="Turning Circle" icon="presets/vehicle/turning_circle.svg" /> 2031 <list_entry value="turning_loop" display_value="Turning Loop" icon="presets/vehicle/turning_loop.svg" /> 2032 </combo> 1988 2033 <optional> 1989 <reference ref="name_layer" /> 1990 <text key="width" text="Width (meters)" /> 1991 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 2034 <combo key="junction" text="Junction" values_searchable="true" values_sort="false"> 2035 <list_entry value="roundabout" display_value="Roundabout" icon="presets/vehicle/restriction/roundabout_right.svg" /> 2036 <list_entry value="circular" display_value="Circular junction" icon="presets/vehicle/restriction/junction_circular.svg" /> 2037 <list_entry value="mini_roundabout" display_value="Mini-Roundabout" icon="presets/vehicle/restriction/mini_roundabout_left.svg" /> 2038 <list_entry value="yes" display_value="Junction" name_context="junction=yes" icon="presets/vehicle/junction.svg" /> 2039 </combo> 2040 <combo key="layer" text="Layer" values="5,4,3,2,1,-1,-2,-3,-4,-5" length="3" values_sort="false" /> 2041 <check key="covered" text="Covered" disable_off="true" /> 1992 2042 </optional> 1993 </item> <!-- Avalanche Protector --> 1994 </group> <!-- Passageways --> 2043 </item> <!-- Highway Area --> 1995 2044 </group> <!-- Highways --> 1996 2045 <group name="Water" name_context="main group" icon="presets/nautical/waterway_river.svg"> 1997 2046 <group name="Water" name_context="sub group" icon="presets/nautical/waterway_river.svg"> -
resources/styles/standard/elemstyles.mapcss
71 71 default: false; 72 72 } 73 73 74 setting::area_highway_opacity { 75 type: double; 76 label: tr("area:highway opacity"); 77 default: 0.1; 78 } 79 74 80 /*********************/ 75 81 /* turn restrictions */ 76 82 /*********************/ … … 530 536 set icon_z17; 531 537 } 532 538 539 /*********************/ 540 /* area:highway tags */ 541 /*********************/ 542 543 area["area:highway"="motorway"]:closed { 544 fill-color: motorway#809bc0; 545 fill-opacity: setting("area_highway_opacity"); 546 width: 1; 547 dashes: 9,3; 548 } 549 area["area:highway"="motorway_link"]:closed { 550 fill-color: motorway#809bc0; 551 fill-opacity: setting("area_highway_opacity"); 552 width: 1; 553 dashes: 9,3; 554 } 555 area["area:highway"="trunk"]:closed { 556 fill-color: trunk#7fc97f; 557 fill-opacity: setting("area_highway_opacity"); 558 width: 1; 559 dashes: 9,3; 560 } 561 area["area:highway"="trunk_link"]:closed { 562 fill-color: trunk#7fc97f; 563 fill-opacity: setting("area_highway_opacity"); 564 width: 1; 565 dashes: 9,3; 566 } 567 area["area:highway"="primary"]:closed { 568 fill-color: primary#fb805f; 569 fill-opacity: setting("area_highway_opacity"); 570 width: 1; 571 dashes: 9,3; 572 } 573 area["area:highway"="primary_link"]:closed { 574 fill-color: primary#fb805f; 575 fill-opacity: setting("area_highway_opacity"); 576 width: 1; 577 dashes: 9,3; 578 } 579 area["area:highway"="secondary"]:closed { 580 fill-color: secondary#fdbf6f; 581 fill-opacity: setting("area_highway_opacity"); 582 width: 1; 583 dashes: 9,3; 584 } 585 area["area:highway"="secondary_link"]:closed { 586 fill-color: secondary#fdbf6f; 587 fill-opacity: setting("area_highway_opacity"); 588 width: 1; 589 dashes: 9,3; 590 } 591 area["area:highway"="tertiary"]:closed { 592 fill-color: tertiary#f7f496; 593 fill-opacity: setting("area_highway_opacity"); 594 width: 1; 595 dashes: 9,3; 596 } 597 area["area:highway"="tertiary_link"]:closed { 598 fill-color: tertiary#f7f496; 599 fill-opacity: setting("area_highway_opacity"); 600 width: 1; 601 dashes: 9,3; 602 } 603 area["area:highway"="unclassified"]:closed { 604 fill-color: street#c0c0c0; 605 fill-opacity: setting("area_highway_opacity"); 606 width: 1; 607 dashes: 9,3; 608 } 609 area["area:highway"="residential"]:closed { 610 fill-color: street#c0c0c0; 611 fill-opacity: setting("area_highway_opacity"); 612 width: 1; 613 dashes: 9,3; 614 } 615 area["area:highway"="road"]:closed { 616 fill-color: highway_road#770000; 617 fill-opacity: setting("area_highway_opacity"); 618 width: 1; 619 dashes: 9,3; 620 } 621 area["area:highway"="living_street"]:closed { 622 fill-color: street#c0c0c0; 623 fill-opacity: setting("area_highway_opacity"); 624 width: 1; 625 dashes: 9,3; 626 dashes-background-color: livingdashed#00ff00; 627 } 628 area["area:highway"="pedestrian"]:closed { 629 fill-color: foot#00ff00; 630 fill-opacity: setting("area_highway_opacity"); 631 width: 1; 632 dashes: 9,3; 633 } 634 area["area:highway"="raceway"]:closed { 635 fill-color: raceway#ff80ff; 636 fill-opacity: setting("area_highway_opacity"); 637 width: 1; 638 dashes: 9,3; 639 } 640 area["area:highway"="service"]:closed { 641 fill-color: service#809bc0; 642 fill-opacity: setting("area_highway_opacity"); 643 width: 1; 644 dashes: 9,3; 645 } 646 area["area:highway"="cycleway"]:closed { 647 fill-color: bicycle#b100ff; 648 fill-opacity: setting("area_highway_opacity"); 649 width: 1; 650 dashes: 9,3; 651 } 652 area["area:highway"="footway"]:closed { 653 fill-color: foot#00ff00; 654 fill-opacity: setting("area_highway_opacity"); 655 width: 1; 656 dashes: 9,3; 657 } 658 area["area:highway"="track"]:closed { 659 fill-color: highway_track#6e541c; 660 fill-opacity: setting("area_highway_opacity"); 661 width: 1; 662 dashes: 9,3; 663 } 664 area["area:highway"="bridleway"]:closed { 665 fill-color: horse#a18559; 666 fill-opacity: setting("area_highway_opacity"); 667 width: 1; 668 dashes: 9,3; 669 } 670 area["area:highway"="path"]:closed { 671 fill-color: foot#00ff00; 672 fill-opacity: setting("area_highway_opacity"); 673 width: 1; 674 dashes: 9,3; 675 } 676 area["area:highway"="construction"]:closed { 677 fill-color: construction#ffff00; 678 fill-opacity: setting("area_highway_opacity"); 679 width: 1; 680 dashes: 9,3; 681 } 682 area["area:highway"="steps"]:closed { 683 fill-color: foot#00ff00; 684 fill-opacity: setting("area_highway_opacity"); 685 width: 1; 686 dashes: 9,3; 687 } 688 area["area:highway"="bus_guideway"]:closed { 689 fill-color: rail#404040; 690 fill-opacity: setting("area_highway_opacity"); 691 width: 1; 692 dashes: 9,3; 693 } 694 area["area:highway"="escape"]:closed { 695 fill-color: street#c0c0c0; 696 fill-opacity: setting("area_highway_opacity"); 697 width: 1; 698 dashes: 9,3; 699 } 700 area["area:highway"="traffic_island"]:closed { 701 fill-color: street#c0c0c0; 702 fill-opacity: setting("area_highway_opacity"); 703 width: 1; 704 dashes: 9,3; 705 } 706 area["area:highway"="platform"]:closed { 707 fill-color: highway_platform#c0c0c0; 708 fill-opacity: setting("area_highway_opacity"); 709 width: 1; 710 dashes: 9,3; 711 } 712 area["area:highway"="bus_stop"]:closed { 713 fill-color: bus#89cbeb; 714 fill-opacity: setting("area_highway_opacity"); 715 width: 1; 716 dashes: 9,3; 717 } 718 area["area:highway"="busway"]:closed { 719 fill-color: bus#89cbeb; 720 fill-opacity: setting("area_highway_opacity"); 721 width: 1; 722 dashes: 9,3; 723 } 724 area["area:highway"="shoulder"]:closed { 725 fill-color: street#c0c0c0; 726 fill-opacity: setting("area_highway_opacity"); 727 width: 1; 728 dashes: 9,3; 729 } 730 area["area:highway"="emergency_bay"]:closed { 731 fill-color: street#c0c0c0; 732 fill-opacity: setting("area_highway_opacity"); 733 width: 1; 734 dashes: 9,3; 735 } 736 area["area:highway"="passing_place"]:closed { 737 fill-color: street#c0c0c0; 738 fill-opacity: setting("area_highway_opacity"); 739 width: 1; 740 dashes: 9,3; 741 } 742 area["area:highway"="turning_circle"]:closed { 743 fill-color: street#c0c0c0; 744 fill-opacity: setting("area_highway_opacity"); 745 width: 1; 746 dashes: 9,3; 747 } 748 area["area:highway"="turning_loop"]:closed { 749 fill-color: street#c0c0c0; 750 fill-opacity: setting("area_highway_opacity"); 751 width: 1; 752 dashes: 9,3; 753 } 754 755 533 756 /****************/ 534 757 /* highway tags */ 535 758 /****************/ … … 726 949 way[highway=raceway][area?], relation[type=multipolygon][highway=raceway] { 727 950 fill-color: raceway#ff80ff; 728 951 } 729 area[junction=yes] { 730 fill-color: junction#c0c0c0; 731 } 732 node[junction=yes] { 733 icon-image: "presets/vehicle/junction.svg"; 734 set icon_z17; 735 } 952 736 953 node[highway=traffic_mirror] { 737 954 icon-image: "presets/vehicle/traffic_mirror.svg"; 738 955 set icon_z17; … … 975 1192 /* junction tag */ 976 1193 /****************/ 977 1194 1195 area["junction"][!"junction"?!] { 1196 set junctionArea; 1197 } 1198 1199 node[junction=yes] { 1200 icon-image: "presets/vehicle/junction.svg"; 1201 set icon_z17; 1202 } 1203 978 1204 node[junction=roundabout] { 979 1205 icon-image: "presets/vehicle/restriction/roundabout_left.svg"; 980 1206 set icon_z17; … … 984 1210 set icon_z17; 985 1211 } 986 1212 1213 area.junctionArea[!"area:highway"] { 1214 fill-color: junction#c0c0c0; 1215 } 1216 1217 /********************************/ 1218 /* area:highway + junction tags */ 1219 /********************************/ 1220 1221 area.junctionArea["area:highway"]:closed { 1222 dashes-background-color: junction#c0c0c0; 1223 } 1224 area.junctionArea["area:highway"]:clockwise:closed { 1225 right-casing-width: 10; 1226 right-casing-color: junction#c0c0c0; 1227 right-casing-linejoin: miter; 1228 right-casing-opacity: setting("area_highway_opacity") + 0.1; 1229 } 1230 area.junctionArea["area:highway"]:anticlockwise:closed { 1231 left-casing-width: 10; 1232 left-casing-color: junction#c0c0c0; 1233 left-casing-linejoin: miter; 1234 left-casing-opacity: setting("area_highway_opacity") + 0.1; 1235 } 1236 987 1237 /*****************/ 988 1238 /* cycleway tags */ 989 1239 /*****************/