[josm-dev] match attribute in JOSM Presets

Kate Chapman kate at maploser.com
Thu Jun 21 05:31:38 BST 2012


Hi All,

I'm curious what the match tag does in JOSM presets.

The description is (1):

The match attribute allows to change the matching process, i.e.,
determining whether
the tags of an OSM object fit into this preset.
- none: neutral, i.e., do not consider this item for matching
- key: positive if key matches, neutral otherwise
- key!: positive if key matches, negative otherwise
- keyvalue: positive if key and value matches, negative otherwise
Note that for a match, at least one positive and no negative is required.

I'm not really sure what this means.

Thanks!

-Kate

http://josm.openstreetmap.de/browser/trunk/data/defaultpresets.xml



More information about the josm-dev mailing list