In r5181:
The validator's "similar named ways" gives incorrect warnings in (at least) the following situations:
- "East Foothill Drive" and "West Foothill Drive": Should not report when the diffs are just leading or trailing cardinal directions. Can be tested by a second pass at reported errors. Run both args through
s/East |West |North |South | East| West| North| South//g
and then diff again. If no diff, no error should be reported.
- "5th Street" and "6th Street": Should not report when the diffs are only leading numbers. Similar to above, remove all leading numbers (
1st |2nd |First |Second |etc.
) and diff again. No diff = no report.
In the bounding box (34.0600548, -117.7425385, 34.1251634, -117.6477814) (BLTR), at least 50 of the 56 reported "similar named ways" fall into one of these two (invalid) scenarios.