| 5 | | I didn't add the values to the validator directly. I added them to the "Movable bridge" preset. The validator checks all tags if they look "very similar" to the tags in the presets. That test aims to find typos like highway=resident**ai**l. "tilt" looked very similar to "lift" (only one character changed and order changed). Therefore it was reported. "retractable" didn't look very similar to one of the values "bascule,drawbridge,lift,submersible,swing,transporter". Therefore it was not reported. (Deeper theory what "very similar" means see https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java and https://en.wikipedia.org/wiki/Levenshtein_distance) |
| | 5 | I didn't add the values to the validator directly. I added them to the "Movable bridge" preset. The validator checks all tags if they look "very similar" to the tags in the presets. That test aims to find typos like highway=resident**ai**l. "tilt" looked very similar to "lift" (only one character changed and order changed). Therefore it was reported. "retractable" didn't look very similar to one of the values "bascule,drawbridge,lift,submersible,swing,transporter". Therefore it was not reported. (Deeper theory what "very similar" means see ~~https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java~~ https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java and https://en.wikipedia.org/wiki/Levenshtein_distance) |