WME Validator localization for US
USA Validator Localization Pack Work in Progress
Final checks will be here, for now these are just some ideas:
Incorrect Format: Spaces in Interstate Name
Reports:
"I -10", "I 10", "I- 10" = misplaced space (must be I-# no spaces)
"I-10W", "I-23E" = must have space between route and directional (35E,W and 69E,W,C allowed)
"toI-10", "to I-10/ Baton Rouge" = must have space before and after route
Incorrect Format: Interstate Number
Reports:
"I-7" = nonexistent single digit route number
"I-05" = route number starting with zero
"I-2210" = too many digits in route number, up to three allowed
Incorrect Directional on Primary Interstate
Reports:
"I-95 E" = Odd routes should be N/S
"I-84 S" = Even routes should be E/W
"I-84 Business E" = Interstate and directional should be together
Non-Freeway Segment Named as Interstate
Reports any non-Freeway Segment where the whole street name is an interstate name:
I-84 W
I-69C W
I-485 Outer
Railroads not level -5 or at least rank 3:
Reference:
Validator Segment ${TypeRank}:
Validator Segment ${Type}:
Final checks will be here, for now these are just some ideas:
Incorrect Format: Spaces in Interstate Name
Reports:
"I -10", "I 10", "I- 10" = misplaced space (must be I-# no spaces)
"I-10W", "I-23E" = must have space between route and directional (35E,W and 69E,W,C allowed)
"toI-10", "to I-10/ Baton Rouge" = must have space before and after route
Code: Select all
${street}
(.* |^)(I -|I \d|\S+I-\d|I-(?!(\d+|35[WE]|69[WEC])( .*|$)))
Reports:
"I-7" = nonexistent single digit route number
"I-05" = route number starting with zero
"I-2210" = too many digits in route number, up to three allowed
Code: Select all
${street}
(.* |^)(I-(?!([2458]|[1-9][0-9]{1,2}|35[WE]|69[WEC])( .*|$)))
Reports:
"I-95 E" = Odd routes should be N/S
"I-84 S" = Even routes should be E/W
"I-84 Business E" = Interstate and directional should be together
Code: Select all
${street}
OLD:
/I-[0-9]?([13579][EWC]? [EW]( .*|$)|[24680] [NS]( .*|$))/
NEW:
/I-[1-9]?(([13579][EWC]?(?! ([NS]|Inner|Outer)))|([24680](?! ([EW]|Inner|Outer))))( .*|$)/
Reports any non-Freeway Segment where the whole street name is an interstate name:
I-84 W
I-69C W
I-485 Outer
Code: Select all
${typeRank}:${street}
/^([1-9]|1[0-4]):I-\d+[EWC]? ([NSEW]|Inner|Outer)$/
Code: Select all
${typeRank}:${lock}:${elevation}
^2:(?![3-6]:\-[5])
Validator Segment ${TypeRank}:
Code: Select all
1: Runway
2: Railroad
3: Stairway
4: Pedestrian Boardwalk
5: Walking Trail
6: Private Road
7: Parking Lot Road
8: Dirt Road
9: Service Road
10: Street
11: Primary Street
12: Ramp
13: Minor Highway
14: Major Highway
15: Freeway
Code: Select all
1: Street
2: Primary Street
3: Freeway
4: Ramp
5: Walking Trail
6: Major Highway
7: Minor Highway
8: Dirt road / 4X4 Trail
9:
10: Pedestrian Boardwalk
11:
12:
13:
14:
15:
16: Stairway
17: Private Road
18: Railroad
19: Runway/Taxiway
20: Parking Lot Road
21: Service Road
Re: WME Validator localization for US