Opened 6 years ago

Last modified 5 years ago

#19012 closed enhancement

Tagging presets: Possibility to set "match" negative — at Initial Version

Reported by: skyper Owned by: team
Priority: normal Milestone: 21.03
Component: Core Version:
Keywords: template_report tagging preset match false Cc: Klumbumbus

Description

I need an option to exclude generic presets from Tags/Memberships panel and only show specific ones if objects contain certain tags. See wiki:Presets/MastAndTower for a real life example and ticket:6157:josm_6157_Preset_Debug.zip for a condensed one.

What steps will reproduce the problem?

  1. Have a general preset and a specific preset for the same main tag with both including same secondary tags
  2. Add main tag to object
  3. Add secondary tag to object

What is the expected result?

  • After 2. the general preset is linked to from Tags/Memberships panel
  • After 3. only the specific preset is linked

What happens instead?

After 3. generic and specific presets both are linked

Please provide any additional information below. Attach a screenshot if possible.

I could live with `match="false" for now but I wonder how I could add a tag not present in the preset to match negative.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-03-30 07:18:28 +0200 (Mon, 30 Mar 2020)
Revision:16220
Build-Date:2020-03-30 23:25:33
URL:https://josm.openstreetmap.de/svn/trunk

Change History (0)

Note: See TracTickets for help on using tickets.