Opened 2 years ago
Last modified 2 years ago
#23194 closed enhancement
[patch] Add disused:route to validator — at Version 2
| Reported by: | gaben | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core validator | Version: | |
| Keywords: | disused route | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Validate a
disused:routerelation. e.g. relation/9301679
What is the expected result?
No warning.
What happens instead?
A warning saying it's missing the route tag.
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2023-09-21 20:54:28 +0200 (Thu, 21 Sep 2023) Build-Date:2023-09-22 01:30:58 Revision:18841 Relative:URL: ^/trunk
-
resources/data/validator/relation.mapcss
12 12 relation[type=destination_sign][!destination], 13 13 relation[type=enforcement][!enforcement], 14 14 relation[type=public_transport][!public_transport], 15 relation[type=route][!route] ,15 relation[type=route][!route][!disused:route], 16 16 relation[type=route_master][!route_master], 17 17 relation[type=waterway][!waterway] { 18 18 throwWarning: tr("{0} relation without {0} tag", "{1.key}");
Note:
See TracTickets
for help on using tickets.



This is confusing. Your example r5189560 also has a route=train tag.