User:Xanderb/VScripts View history

Line 32: Line 32:
/State Hwy|SR-|SH-|State Rd|Cs-|CS-|Ky-|Tn-|In-|County Hwy|County Rd|Cr-|KY=|IN=|TN=|State Rte|Co Rd/
/State Hwy|SR-|SH-|State Rd|Cs-|CS-|Ky-|Tn-|In-|County Hwy|County Rd|Cr-|KY=|IN=|TN=|State Rte|Co Rd/


= Saint / Street TTS =
= TTS Issues=
This will highlight streets that incorrectly  begin with "St " which TTS reads as "Street". <br>eg. ''St Catherine St'' is read "Street Catherine Street" in the app.
Street name with Dr (Doctor), St (Saint) or Jr (Junior) need to have a period after the abbreviation. <br>eg. ''St Catherine St'' is read "Street Catherine Street" in the app.


Custom Template:
Custom Template:
Line 41: Line 41:
Custom RegExp:
Custom RegExp:


/^St /
/^St |^Dr |Jr /


= Short Parking Lots =  
= Short Parking Lots =  

Revision as of 20:40, 28 March 2015

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

Validator Localization

Localization scripts allow you to customize results in Validator that you always want to use while leaving the two manual entries free for more scripts you want to use temporarily(I am currently using the custom entries for the color variance. You will need to have the Validator extension loaded before using these additions.

Kentucky

Localization for Kentucky contains the following:

  • Highway Renaming Project
  • City or County Roads
  • Saint / Street and Doctor / Drive warning
  • Short, Dead End Parking Lots
  • Not Kentucky - Many rural roads have the wrong state listed and it is helpful for letting you know you are getting close to a state border.
  • Incorporated city names - It doesn't check boundaries, but if a segment has a city name that is not an incorporated city in Kentucky it will highlight. (This is being tested only in KY localization currently)

Indiana

Localization for Indiana contains the same checks as the Kentucky script currently. MeridianHills will be testing it and possibly adding more if he feels something should be added for Indiana.

Tennessee

Localization for Tennessee contains the same checks as the Kentucky script currently. UberGeek will be testing it and possibly adding more if he feels something should be added for Tennessee.

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-|KY=|IN=|TN=|State Rte|Co Rd/

TTS Issues

Street name with Dr (Doctor), St (Saint) or Jr (Junior) need to have a period after the abbreviation.
eg. St Catherine St is read "Street Catherine Street" in the app.

Custom Template:

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

Custom RegExp:

/^St |^Dr |Jr /

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:

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