Skip to content

Commit

Permalink
Add/ignore documented popular tags
Browse files Browse the repository at this point in the history
Add
* osmwiki:Tag:emergency=life_ring
* osmwiki:Tag:emergency=lifeguard (fixes #22852)
  lifeguard isn't actually a popular tag (yet), but it is documented and similar
  enough to life_ring that I'm adding it to make it easier for people to avoid
  making mistakes.

git-svn-id: https://josm.openstreetmap.de/svn/trunk@19178 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Aug 12, 2024
1 parent b29a864 commit 740ce65
Show file tree
Hide file tree
Showing 4 changed files with 558 additions and 0 deletions.
20 changes: 20 additions & 0 deletions resources/data/defaultpresets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4991,6 +4991,26 @@
<reference ref="name_ref_operator" />
</item> <!-- Suction point -->
<separator />
<item name="Life Ring" icon="presets/emergency/life_ring.svg" type="node" preset_name_label="true">
<link wiki="Tag:emergency=life_ring" />
<space />
<key key="emergency" value="life_ring" />
<reference ref="ref_operator" />
<combo key="support" text="Support" values="pole,pillar,wall_mounted,fence" values_context="mounting/support" />
<reference ref="color" />
<preset_link preset_name="Life Guard" text="Similar but different tags:" />
</item>
<item name="Life Guard" icon="presets/emergency/lifeguard.svg" type="node,closedway,multipolygon" preset_name_label="true" >
<link wiki="Tag:emergency=lifeguard" />
<space />
<key key="emergency" value="lifeguard" />
<combo key="lifeguard" text="Type" values="tower,base" values_context="Tag:emergency=lifeguard" />
<reference ref="name_ref_operator" />
<reference ref="oh" />
<check key="seasonal" text="Seasonal" disable_off="true" />
<preset_link preset_name="Life Ring" text="Similar but different tags:" />
</item>
<separator />
<item name="Assembly Point" icon="presets/emergency/assembly_point.svg" type="node" preset_name_label="true">
<link wiki="Tag:emergency=assembly_point" />
<space />
Expand Down
227 changes: 227 additions & 0 deletions resources/images/presets/emergency/life_ring.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 740ce65

Please sign in to comment.