Skip to content

Commit

Permalink
Add roller coaster components
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Apr 22, 2024
1 parent ceef74a commit cacc870
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions beautified_icons.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ tourist_theme_park=${ICONPATH}tourist_theme_park.${ICONTYPE}
leisure_water_park=${ICONPATH}sport_swimming_indoor.${ICONTYPE}
tourist_water_slide=${ICONPATH}tourist_empty.${ICONTYPE}
tourist_ride=${ICONPATH}tourist_ride.${ICONTYPE}
tourist_roller_coaster=${ICONPATH}tourist_theme_park.${ICONTYPE}
leisure_escape_game=${ICONPATH}tourist_empty.${ICONTYPE}
leisure_resort=${ICONPATH}tourist_empty.${ICONTYPE}
tourist_beach_resort=${ICONPATH}tourist_beach_resort_21003.${ICONTYPE}
Expand Down
1 change: 1 addition & 0 deletions josm_icons.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ tourist_theme_park=presets/leisure/theme_park.svg
leisure_water_park=presets/leisure/water_park.svg
tourist_water_slide=presets/attraction/water_slide.svg
tourist_ride=
tourist_roller_coaster=
leisure_escape_game=
leisure_resort=presets/leisure/resort.svg
tourist_beach_resort=presets/leisure/beach_resort.svg
Expand Down
15 changes: 14 additions & 1 deletion master_preset.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<presets version="5.51.1" xmlns="http://josm.openstreetmap.de/tagging-preset-1.0" shortdescription="Default OpenStreetMap Preset for Vespucci and JOSM"
description="General purpose OpenStreetMap preset for Vespucci and JOSM, based on the original JOSM version"
object_keys="advertising,attraction,area:highway,building:part,cemetery,club,departures_board,disc_golf,disused:amenity,disused:leisure,disused:man_made,disused:shop,golf,ford,harbour,hazard,noexit,indoor,playground,pipeline,piste:type,police,public_transport,seamark:type,traffic_calming,traffic_sign,traffic_sign:backward,traffic_sign:forward,marker,mountain_pass,telecom">
object_keys="advertising,attraction,area:highway,building:part,cemetery,club,departures_board,disc_golf,disused:amenity,disused:leisure,disused:man_made,disused:shop,golf,ford,harbour,hazard,noexit,indoor,playground,pipeline,piste:type,police,public_transport,seamark:type,traffic_calming,traffic_sign,traffic_sign:backward,traffic_sign:forward,marker,mountain_pass,telecom,roller_coaster">
<!--
Icons have been derived from mainly from

Expand Down Expand Up @@ -7275,6 +7275,19 @@
<reference ref="wikipedia_wikidata_images" />
</optional>
</item> <!-- Rides -->
<item name="Roller coaster components" icon="${tourist_roller_coaster}" type="node,way,closedway,multipolygon" preset_name_label="true">
<link wiki="Key:roller_coaster"/>
<space/>
<combo key="roller_coaster" text="Component" values_searchable="true" values_context="leisure" match="keyvalue">
<list_entry value="track" display_value="Track"/>
<list_entry value="station" display_value="Station"/>
<list_entry value="support" display_value="Support"/>
</combo>
<optional>
<text key="name" text="Name"/>
<reference ref="layer" />
</optional>
</item>
<item name="Escape game" icon="${leisure_escape_game}" type="node,closedway,multipolygon" preset_name_label="true">
<link wiki="Tag:leisure=escape_game"/>
<space/>
Expand Down

0 comments on commit cacc870

Please sign in to comment.