Skip to content

LABEL_SELFREF improvements (DataProcessing) - #497

Merged
jteresco merged 1 commit into
TravelMapping:masterfrom
yakra:lsr_squash
Feb 21, 2022
Merged

jteresco merged 1 commit into
TravelMapping:masterfrom
yakra:lsr_squash

Conversation

@yakra

@yakra yakra commented Feb 21, 2022 •

Copy link
Copy Markdown
Contributor

Finally, here it is!

https://forum.travelmapping.net/index.php?topic=4716.msg27025#msg27025
33 commits (including 3 merges) squashed into one.
Several new functions help us along...

  • Python gets 3 new functions in the Waypoint class, plus 2 new list comprehensions.
  • C++ doesn't do list comprehensions, so it gets 5 new Waypoint functions. Plus 2 more functions for some nitty-gritty string searches & comparisons.

As for Waypoint::label_selfref() itself, it's a whole new Ship of Theseus.
The rundown of what's changed:

* inspect colocated routes, detect FPs, catecorize what's left
* more micro-optimizations where practicable
* require banner match
* cope with banner after slash
* flag named routes after slash
* ignore banners starting with `-`, e.g. FRA depts
* cope with closed waypoints
* ignore same number different prefix
* account for abbrev
* ignore "Old" designations
@yakra yakra added datacheck robustness data quality LABEL_SELFREF This is a temporary tag, as several open issues concern this specific datacheck. labels Feb 21, 2022
@jteresco
jteresco merged commit a44e8ca into TravelMapping:master Feb 21, 2022
@jteresco

Copy link
Copy Markdown
Contributor

Merged, and running a site update with it now.

@yakra
yakra deleted the lsr_squash branch February 22, 2022 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data quality datacheck LABEL_SELFREF This is a temporary tag, as several open issues concern this specific datacheck. robustness

Projects

None yet

2 participants