Skip to content

USA-only datachecks #351

Description

@yakra
  • C++: Rather than have each datacheck function check whether country == USA, check once then call all the functions.
  • If I really wanna get jiggy wit it, no need to dereference a bunch of pointers and then iterate thru & compare up to 3 chars of the country string when we know beforehand whether a route's system is in the USA, and can set a bool USA_flag...
    • C++: construct in Route::read_wpt; no need to recalculate for every point (easier, slightly less efficient)
    • C++: pass to Route::read_wpt from main & ReadWptThread; no need to recalculate for every route (more involved, more efficient)
    • Python: ...in the outermost datacheck loop
  • Resurrect US_BANNER (as US_LETTER?)
    forrgin`ls | grep -v _`;do grep -sv '^+'$rg/*/*.wpt | cut -f1 -d''| egrep ':\*?US[0-9]+[AB][/_(]|:\*?US[0-9]+[AB]$';done
    • Python
    • C++
    • descriptor table
    • datacheck_always_error
    • wptedit
    • syserr.php
    • datacheck.php
    • add "letter " here
  • INTERSTATE_NO_HYPHEN does not account for leading *

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions