Changeset 18920 in josm


Ignore:
Timestamp:
2023-12-19T18:51:38+01:00 (6 months ago)
Author:
taylor.smock
Message:

Fix #23067: Don't warn on unisex, female, and male tag combinations for shop=hairdresser

male=* and female=* is more verbose than unisex=* and also more precise.
From the osmwiki:Key:unisex wiki page:

unisex=yes always means a gender-neutral facility. Gender segregated facilities
(e.g. toilets) should be tagged female=yes + male=yes. Usage of the unisex=yes
tag for gender segregated features contradicts with the general meaning of the
term "unisex".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/combinations.mapcss

    r18734 r18920  
    667667}
    668668
    669 /* #13144, #15536 */
    670 *[unisex=yes][female=yes][male!=yes][shop=hairdresser],
    671 *[unisex=yes][male=yes][female!=yes][shop=hairdresser] {
    672   throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    673   group: tr("suspicious tag combination");
    674 }
    675 *[unisex=yes][female=yes][male=yes][shop=hairdresser] {
    676   throwWarning: tr("{0} together with {1} and {2}. Remove {1} and {2}", "{0.tag}", "{1.tag}", "{2.tag}");
    677   group: tr("suspicious tag combination");
    678   fixRemove: "female";
    679   fixRemove: "male";
    680 }
    681 *[female=yes][male=yes][!unisex][shop=hairdresser] {
    682   throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    683   suggestAlternative: "unisex=yes";
    684   group: tr("suspicious tag combination");
    685   fixRemove: "female";
    686   fixRemove: "male";
    687   fixAdd: "unisex=yes";
    688 }
    689 
    690669/* {0.key} without {1.tag} see #13138, #14468 */
    691670way[water][natural!~/water|bay|strait/][water!=intermittent][amenity!=lavoir]!:closed, /* water=intermittent is deprecated and has an own warning */
Note: See TracChangeset for help on using the changeset viewer.