Changeset 33510 in osm
- Timestamp:
- 2017-08-21T11:19:20+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/SortPTRouteMembersAction.java
r33509 r33510 101 101 } 102 102 103 if (rel.hasTag("fixme:relation", "order members")) { 104 rel.remove("fixme:relation"); 105 } 106 103 107 List<RelationMember> members = new ArrayList<>(); 104 108 List<RelationMember> oldMembers = rel.getMembers(); -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/RouteChecker.java
r33509 r33510 64 64 protected void performSortingTest() { 65 65 66 if (relation.hasTag("fixme:relation", "order members")) { 67 Builder builder = TestError.builder(this.test, Severity.WARNING, PTAssistantValidatorTest.ERROR_CODE_SORTING); 68 builder.message(tr("PT: Route needs to be sorted, found tag fixme:relation=order members")); 69 builder.primitives(relation); 70 TestError e = builder.build(); 71 this.errors.add(e); 72 return; 73 } 74 66 75 final List<RelationMember> waysToCheck = new ArrayList<>(); 67 76 for (RelationMember rm : relation.getMembers()) {
Note:
See TracChangeset
for help on using the changeset viewer.