Skip to content

Commit

Permalink
Add/ignore popular tags
Browse files Browse the repository at this point in the history
Add:
* `advertising=totem`

git-svn-id: https://josm.openstreetmap.de/svn/trunk@19256 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Nov 13, 2024
1 parent 7521f74 commit 595e5e1
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 1 deletion.
15 changes: 15 additions & 0 deletions resources/data/defaultpresets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5434,6 +5434,21 @@
<reference ref="common_advertising" />
</optional>
</item> <!-- Poster box -->
<item name="Advertising Totem" icon="presets/leisure/totem.svg" type="node,way" preset_name_label="true">
<link wiki="Tag:advertising=totem"/>
<space />
<key key="advertising" value="totem" />
<combo key="message" text="Message type" values="commercial,local,safety,legal,map,political,showbiz,non_profit,opinion,religion" />
<optional>
<reference ref="ref_operator"/>
<reference ref="common_advertising" />
<text key="width" text="Width (meters)" />
<combo key="sides" text="Sides" values="2,3,4,5,6,7,8,9,10" length="3" />
<combo key="orientation" text="Orientation" values="front,medium,parallel,opposite,multi" />
<combo key="direction" text="Direction" values="N,E,S,W,0,90,180,270" values_sort="false" />
<combo key="visibility" text="Visibility" values="street,area"/>
</optional>
</item> <!-- Totem -->
</group> <!-- Facilities -->
</group> <!-- Facilities -->
<group name="Sports" icon="presets/sport/soccer.svg">
Expand Down
54 changes: 54 additions & 0 deletions resources/images/presets/leisure/totem.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion resources/styles/standard/elemstyles.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -2370,8 +2370,13 @@ node[advertising=poster_box] {
icon-image: "presets/leisure/poster_box.svg";
set icon_z17;
}
node[advertising=totem] {
icon-image: "presets/leisure/totem.svg";
set icon_z17;
}
way[advertising=billboard],
way[advertising=poster_box] {
way[advertising=poster_box],
way[advertising=totem] {
width: 2;
color: advertising#880000;
}
Expand Down

0 comments on commit 595e5e1

Please sign in to comment.