Changeset 16829 in josm for trunk


Ignore:
Timestamp:
2020-08-03T18:17:38+02:00 (4 years ago)
Author:
Klumbumbus
Message:
  • fix #19579 - Ignore generator:output:electricity and plant:output:electricity
  • fix #19589 - Don't warn about duplicate housenumbers if one is tagged on a barrier=entrance or barrier=gate node
  • fix #19604 - Warn if the value of alt_name is the same as of name (patch by Famlam)
Location:
trunk
Files:
3 edited

Legend:

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

    r16778 r16829  
    461461}
    462462
     463/* #19604 */
     464way[name][alt_name][name=*alt_name] {
     465  throwWarning: tr("Same value of {0} and {1}", "{0.key}", "{1.key}");
     466  group: tr("suspicious tag combination");
     467  fixRemove: "alt_name";
     468}
     469
    463470/* #10837 */
    464471way[destination][!oneway?][junction!=roundabout][highway] {
  • trunk/resources/data/validator/ignoretags.cfg

    r16819 r16829  
    140140E:voltage
    141141E:amperage
     142E:generator:output:electricity
     143E:plant:output:electricity
    142144E:capacity
    143145E:seats
  • trunk/src/org/openstreetmap/josm/data/validation/tests/Addresses.java

    r16824 r16829  
    128128
    129129    static boolean isPOI(OsmPrimitive p) {
    130         return p.hasKey("shop", "amenity", "tourism", "leisure", "emergency", "craft", "office", "name");
     130        return p.hasKey("shop", "amenity", "tourism", "leisure", "emergency", "craft", "office", "name") ||
     131               p.hasTag("barrier", "entrance", "gate");
    131132    }
    132133
Note: See TracChangeset for help on using the changeset viewer.