False positive for "track tagged with 'bridge' in name" validator rule
Hi,
There are many false positives for the "track tagged with 'bridge' in name" validator rule. The name of the subdivsion (and thus the name tagged on the track) is Bridge Subdivsion. All the ways contained in the relation: 13232558 are getting flagged when indeed they are the proper name
https://osmose.openstreetmap.fr/en/issue/02828670-50a4-a994-f314-6a6231ebf342
maybe we should stop looking for those terms if they are at the beginning of the name. But that is indeed an unlucky corner case, so maybe it should just be accepted.
I also got this very strange validator message on a miniature railway track in a larger park in Germany (https://www.openstreetmap.org/way/124212507) with the (correct) name "Parkeisenbahn Saarbrücken".
This is really a strange case in my opinion and a quite confusing error message. It took me some time to understand why this Osmose error occurs there at all. And I had to hold back a laugh ...
For explanation: "bridge" means "Brücke" in German and "Saarbrücken" is the name of the city in which the park is located. And in Germany there are some cities that have the word “Brücke = bridge” in their name, e.g. "Zweibrücken" … Not sure if there are also such validator cases, but maybe.
Is it possible to exclude such false positive cases? This does not exactly help in building trust in the intelligence of the validator rules ...
I also have this flagged by Osmose for all ways which are part of the Hitchin-Cambridge Line, e.g. https://www.openstreetmap.org/way/23231550
Would changing the test to something like ~ '\bbridge\b'/i (and variants in other languages) remove at least some of these false positives? Obviously this wouldn't help with @wolfy1339's issue, but should help with others where it's a fairly obvious false positive.