User:Xanderb/VScripts View history

No edit summary
Line 35: Line 35:


/1:7:([0-4]?[0-9])$/
/1:7:([0-4]?[0-9])$/
= Road Locking =
Highlights segments not locked where they should be according to Road Type
Custom Template:
${typeRank}:${lock}
Custom RegExp:
D!/^(15:5|14:3|13:3|12:5|11:2|10:1|2:2|[1,3-9]:\d+)$/

Revision as of 05:30, 2 March 2015

This is just a storage space for some of the custom Validator scripts that I use.

Highway Renaming Project

This script will Highlight incorrect or old Street Names and Alt Names in Indiana, Kentucky, and Tennessee. I use this primarily for the State Highway renaming project.

Custom Template:

#${street}#${altStreet[#]}#

Custom RegExp:

/State Hwy|SR-|SH-|State Rd|Cs-|CS-|Ky-|Tn-|In-|County Hwy|County Rd|Cr-/

Saint / Street TTS

This will highlight streets that incorrectly begin with "St " which TTS reads as "Street".
eg. St Catherine St is read "Street Catherine Street" in the app.

Custom Template:

#${street}#${altStreet[#]}#

Custom RegExp:

/^St /

Short Parking Lots

Highlights Dead end Parking Lot Roads that are shorter than 50m.

Custom Template:

${deadEnd}:${typeRank}:${length}

Custom RegExp:

/1:7:([0-4]?[0-9])$/

Road Locking

Highlights segments not locked where they should be according to Road Type

Custom Template:

${typeRank}:${lock}

Custom RegExp:

D!/^(15:5|14:3|13:3|12:5|11:2|10:1|2:2|[1,3-9]:\d+)$/