Changeset 17023 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-09-12T21:00:17+02:00 (5 years ago)
Author:
stoecker
Message:

fix #19714, patch by gaben, don't complain about direction reversal in case of two_sided=yes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/corrector/ReverseWayNoTagCorrector.java

    r16939 r17023  
    5858            if (isDirectional) {
    5959                final boolean cannotBeCorrected = ReverseWayTagCorrector.getTagCorrections(tag).isEmpty();
    60                 if (cannotBeCorrected) {
     60
     61                if (cannotBeCorrected && !way.isKeyTrue("two_sided")) {
     62                    // two_sided=yes is a special (documented) barrier=city_wall attribute, see #197140
    6163                    collection.add(tag);
    6264                }
Note: See TracChangeset for help on using the changeset viewer.