Skip to content

Commit

Permalink
Add leisure=bike_park preset
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Aug 7, 2024
1 parent 25a6b7d commit 7e93516
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 3 deletions.
4 changes: 3 additions & 1 deletion beautified_icons.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,8 @@ sport_disc_golf_tee=${ICONPATH}sport_empty.${ICONTYPE}
sport_disc_golf_hole=${ICONPATH}sport_empty.${ICONTYPE}
sport_disc_golf_basket=${ICONPATH}sport_empty.${ICONTYPE}
sport_minature_golf=${ICONPATH}sport_minature_golf.${ICONTYPE}
sport_bike_park=${ICONPATH}sport_bike_park.${ICONTYPE}
sport_pump_track=${ICONPATH}sport_bmx_21178.${ICONTYPE}
sport_rowing=${ICONPATH}sport_rowing_21113.${ICONTYPE}
sport_multi=${ICONPATH}sport_multi_21054.${ICONTYPE}
sport_bowling_9pin=${ICONPATH}sport_bowling_21179.${ICONTYPE}
Expand All @@ -666,7 +668,7 @@ sport_iceskating=${ICONPATH}sport_iceskating.${ICONTYPE}
sport_curling=${ICONPATH}sport_curling.${ICONTYPE}
sport_roller_skating=${ICONPATH}sport_empty.${ICONTYPE}
sport_skateboard=${ICONPATH}sport_skateboard_21059.${ICONTYPE}
sport_pump_track=${ICONPATH}sport_bmx_21178.${ICONTYPE}
sport_bmx=${ICONPATH}sport_bmx_21178.${ICONTYPE}
sport_swimming=${ICONPATH}sport_swimming_outdoor.${ICONTYPE}
sport_scuba_diving=${ICONPATH}sport_scuba_diving_21080.${ICONTYPE}
sport_skiing_downhill=${ICONPATH}sport_skiing_downhill.${ICONTYPE}
Expand Down
Binary file added icons/png/sport_bike_park.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
95 changes: 95 additions & 0 deletions icons/svg-osm-icons/sport/bike_park.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion josm_icons.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,8 @@ sport_disc_golf_tee=
sport_disc_golf_hole=
sport_disc_golf_basket=
sport_minature_golf=presets/sport/miniature_golf.svg
sport_bike_park=
sport_pump_track=
sport_rowing=presets/sport/multi.svg
sport_multi=presets/sport/multi.svg
sport_bowling_9pin=presets/sport/9pin.svg
Expand All @@ -675,7 +677,7 @@ sport_iceskating=presets/sport/ice_skating.svg
sport_curling=
sport_roller_skating=presets/sport/roller_skating.svg
sport_skateboard=presets/sport/skateboard.svg
sport_pump_track=
sport_bmx=
sport_swimming=presets/sport/swimming.svg
sport_scuba_diving=presets/sport/scuba_diving.svg
sport_skiing_downhill=presets/sport/skiing.svg
Expand Down
13 changes: 12 additions & 1 deletion master_preset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9905,6 +9905,16 @@
<key key="leisure" value="miniature_golf"/>
<reference ref="name_oh_wheelchair"/>
</item> <!-- Miniature Golf -->
<item name="Bike park" icon="${sport_bike_park}" type="node,closedway,multipolygon" preset_name_label="true">
<link wiki="Key:leisure"/>
<space/>
<key key="leisure" value="bike_park"/>
<key key="sport" value="mtb"/>
<text key="name" text="Name"/>
<reference ref="oh"/>
<reference ref="link_contact_address_payment"/>
<preset_link preset_name="Pump track" text="Similar but different tags:" alternative="true" />
</item> <!-- Bike park -->
<item name="Pump track" icon="${sport_pump_track}" type="node,closedway,multipolygon" preset_name_label="true">
<link wiki="Tag:cycling=pump_track"/>
<space/>
Expand All @@ -9915,6 +9925,7 @@
<reference ref="sport_surface" />
<reference ref="oh"/>
<reference ref="link_contact_address_payment"/>
<preset_link preset_name="Bike park" text="Similar but different tags:" alternative="true" />
</item> <!-- Pump track -->
</group> <!-- Sport Facilities -->
<group name="Sport" icon="${sport_rowing}">
Expand Down Expand Up @@ -10196,7 +10207,7 @@
<reference ref="oh"/>
<reference ref="link_contact_address_payment"/>
</item> <!-- Skateboard -->
<item name="BMX" icon="${sport_pump_track}" type="node,closedway,multipolygon" preset_name_label="true">
<item name="BMX" icon="${sport_bmx}" type="node,closedway,multipolygon" preset_name_label="true">
<link wiki="Tag:sport=bmx"/>
<space/>
<key key="sport" value="bmx"/>
Expand Down

0 comments on commit 7e93516

Please sign in to comment.