Changeset 6863 in josm
- Timestamp:
- 2014-02-17T19:56:28+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/RelationChecker.java
r6735 r6863 115 115 } 116 116 } 117 if (allroles.isEmpty()) { 117 if (allroles.isEmpty() && n.hasTag("type", "route") 118 && n.hasTag("route", "train", "subway", "monorail", "tram", "bus", "trolleybus", "aerialway", "ferry")) { 119 errors.add(new TestError(this, Severity.WARNING, 120 tr("Route scheme (public_transport or legacy) is unspecified. Add {0}", "public_transport:version"), 121 RELATION_UNKNOWN, n)); 122 } else if (allroles.isEmpty()) { 118 123 errors.add( new TestError(this, Severity.WARNING, tr("Relation type is unknown"), 119 124 RELATION_UNKNOWN, n) );
Note:
See TracChangeset
for help on using the changeset viewer.