Changeset 18460 in josm for trunk/resources/data


Ignore:
Timestamp:
2022-05-27T11:45:28+02:00 (2 years ago)
Author:
Klumbumbus
Message:

fix #22076 - Add nohousenumber=yes checkbox, warn about combinations of nohousenumber=yes + addr:housenumber=* and noref=yes + ref=* (based on patch by taylor.smock)

Location:
trunk/resources/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r18455 r18460  
    91059105            <space />
    91069106            <text key="addr:housenumber" text="House number" match="key" auto_increment="-2,-1,+1,+2" />
     9107            <check key="nohousenumber" text="House has no house number" disable_off="true"/>
    91079108            <text key="addr:street" text="Street name" use_last_as_default="force" match="key" alternative_autocomplete_keys="name" />
    91089109            <optional>
  • trunk/resources/data/validator/combinations.mapcss

    r18450 r18460  
    286286}
    287287
    288 /* {0.tag} together with {1.key}, see #17664, #17707, #16464, #10837, #14034, #9389, #11977, #13156, #16888, #20530, #21736 */
     288/* {0.tag} together with {1.key}, see #17664, #17707, #16464, #10837, #14034, #9389, #11977, #13156, #16888, #20530, #21736, #22076 */
    289289*[power=plant][/^generator:/],
    290290*[power=generator][/^plant:/],
     
    296296*[amenity=vending_machine][shop],
    297297*[noname?][name],
     298*[noref?][ref],
     299*[nohousenumber?][addr:housenumber],
    298300*[actuator][handle][actuator !~ /(^|;)manual(;|$)/],
    299301*[mechanical_driver][handle][mechanical_driver !~ /(^|;)manual(;|$)/],
Note: See TracChangeset for help on using the changeset viewer.