You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
requires a full match, which means some labels (e.g. with directional suffixes, or abbrevs) could slip thru the cracks.
I'll cook up a few test cases and test them out.
The Python version has no region class, so... grumble, I guess turn all_regions into a dict, keys = region codes, values = the existing lists of fields. Where we now iterate through all_regions, we can iterate through all_regions.values(). A simple enough conversion.
Potential for FPs: usai;TX;I-69;;Bus;Buster Keaton, TX;tx.i069bus; ;)
Solution: check for intersecting route; abbrev
Nope. Because the C++ version performs this datacheck while reading .wpt files from disk, there's potential for *colocated to not be populated yet. It's not worth making another pass thru the data to do this. On the rare theoretical occasion this would occur, it can just be marked FP.
Activity
yakra commentedon Nov 27, 2019
Overlooks route "numbers" such as 35W, 35E, 69W, 69C, 69E
yakra commentedon Nov 27, 2019
Case sensitive = potential for false negatives. How about all regexes in siteupdate.py?
Their C++ equivalents?
yakra commentedon Nov 27, 2019
Only flag these when country is USA.
Potential for FPs:
usai;TX;I-69;;Bus;Buster Keaton, TX;tx.i069bus;;)Solution: check for intersecting route; abbrev
yakra commentedon Jun 12, 2020
Just slap a
.*at the end and we're good to go.yakra commentedon Jun 12, 2020
all_regionsinto a dict, keys = region codes, values = the existing lists of fields. Where we now iterate throughall_regions, we can iterate throughall_regions.values(). A simple enough conversion.Nope. Because the C++ version performs this datacheck while reading .wpt files from disk, there's potential for
*colocatedto not be populated yet. It's not worth making another pass thru the data to do this. On the rare theoretical occasion this would occur, it can just be marked FP.BUS_WITH_I datacheck improvements
yakra commentedon Jun 15, 2020
Does not account for starred labels.
I'll fix wptedit first, and get this afterwards.