Skip to content

Commit

Permalink
fix #22574 - Add amenity=animal_breeding (icon from https://freesvg…
Browse files Browse the repository at this point in the history
….org/colt-and-a-mother-vector-illustration, modified by Hufkratzer; PD and CC0 licensed)

git-svn-id: https://josm.openstreetmap.de/svn/trunk@18627 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
Klumbumbus authored and Klumbumbus committed Jan 9, 2023
1 parent 6b94628 commit 073de3b
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
10 changes: 10 additions & 0 deletions resources/data/defaultpresets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5116,6 +5116,16 @@
<reference ref="common_advertising" />
</optional>
</item> <!-- Poster box -->
<separator/>
<item name="Animal breeding" icon="presets/misc/animal_breeding.svg" type="node,closedway,multipolygon" preset_name_label="true">
<link wiki="Tag:amenity=animal_breeding" />
<space />
<key key="amenity" value="animal_breeding" />
<reference ref="name_operator" />
<multiselect key="animal_breeding" text="Animals bred" values="alpaca;bird;cat;chicken;cow;dog;donkey;fish;goat:sheep;horse;pig;poultry;rabbit" values_context="animal_breeding" />
<reference ref="oh_wheelchair" />
<reference ref="link_contact_address_payment" />
</item> <!-- Animal breeding -->
</group> <!-- Facilities -->
</group> <!-- Facilities -->
<group name="Sports" icon="presets/sport/soccer.svg">
Expand Down
43 changes: 43 additions & 0 deletions resources/images/presets/misc/animal_breeding.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions resources/styles/standard/elemstyles.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -3204,6 +3204,7 @@ node[amenity=fountain] {
set icon_z17;
}
area[amenity=animal_boarding],
area[amenity=animal_breeding],
area[amenity=place_of_worship],
area[amenity=monastery],
area[amenity=grave_yard],
Expand All @@ -3223,6 +3224,10 @@ node[amenity=animal_boarding] {
icon-image: "presets/accommodation/animal_boarding.svg";
set icon_z17;
}
node[amenity=animal_breeding] {
icon-image: "presets/misc/animal_breeding.svg";
set icon_z17;
}
node[amenity=place_of_worship] {
icon-image: "presets/religion/religion.svg";
set icon_z17;
Expand Down

0 comments on commit 073de3b

Please sign in to comment.