User:PesachZ/SyncScratch View history

m (Copying text of wiki page for coparison with the "Template:Lock Standard State" page)
m (Copying text of wiki page for coparison with the "Template:Lock Standard State/doc" page)
Line 1: Line 1:
<noinclude>
{{doc subpage}}
{{Documentation}}
<!-- ADD DOCUMENTATION BELOW THIS LINE -->
</noinclude>
{{mbox|type=critical|text=This template is transcluded into many state pages to define their locking standards. Any errant changes to this page can affect lots of state wiki pages relying on this template. '''Please be sure you fully comprehend this template and how [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23switch parser switch functions] work before editing it. If you need help please ask someone.
<includeonly>{{#switch: {{uc:{{{1|}}}{{{st|}}}{{{ST|}}}{{{St|}}}{{{sT|}}}}}
| NH
| VT
| MA
| RI
| CT
| ME
| NEW ENGLAND<!-- per Regional SM HO discussion with OrbitC on 2/11/16 https://www.waze.com/forum/viewtopic.php?f=945&t=177664&p=1328584#p1328582 -->
| NJ
| DE
| PA
| NORTHEAST = {{Locking Standard<!-- per Regional SM Hangout discussion with OrbitC https://www.waze.com/forum/viewtopic.php?f=569&t=177663 -->
    |title=Statewide
    |Fwy=5
    |Ramp=Highest rank of connected segments
    |MH=3
    |mH=3
    |PS=1 (Auto)
    |Street=1 (Auto)
    |Private=1 (Auto)
    |note={{Red|Do Not Mass Edit just to update locks to these standards}}, these can adjusted as you find while editing other aspects of the segments such as FC, speed limits, naming, etc.


Some segments still warrant higher locks and care should be taken when setting segment lock to these standards to look for and protect these special setups with higher locks. Some examples; segments which are part of [[Detour Prevention Mechanisms/USA|BDP]], [[Uturn prevention|U-turn prevention]], or using [[Glossary#mDL|micro-doglegs]], or other complex intersection setups.}}
| NY = {{Locking Standard <!-- https://www.waze.com/forum/viewtopic.php?f=569&t=177663 -->
    |title=NYC Only
    |Fwy=5|Ramp=Highest rank of connected segment|MH=5|mH=4|PS=3|Street=1 (Auto)
    |title2=Everywhere Else
    |MH2=3|mH2=3|PS2=1 (Auto)|Street=1 (Auto)|Private=1 (Auto)
    |note={{Red|Do Not Mass Edit just to update locks to these standards}}, these can adjusted as you find while editing other aspects of the segments such as FC, speed limits, naming, etc.


Some segments still warrant higher locks and care should be taken when setting segment lock to these standards to look for and protect these special setups with higher locks. Some examples; segments which are part of [[Detour Prevention Mechanisms/USA|BDP]], [[Uturn prevention|U-turn prevention]], or using [[Glossary#mDL|micro-doglegs]], or other complex intersection setups.}}<!--A/p wiki-->
Please do not make changes to any state or regions defined settings without first getting consensus in the local forum, or approval from the RC.'''}}
| TX = {{Locking Standard
  |lede=In Texas we have a set minimum standard for locking roads based on segment type. Any road of a certain segment type must be locked '''at least''' to the rank (level) in the chart below. Roads may be locked higher for protection and special situations (areas with construction, tricky design, frequent mistakes, imaging inaccuracies, and the like), but should not be locked lower. If you find a road locked to a higher level than its minimum, please leave it locked no lower than that level when you have finished editing.
  |title=Lock Level
  |Fwy=5
  |Ramp=4
  |MH=4
  |mH=3
  |PS=2
  |Private=2
  |Street=Automatic (1)}}


| CA = {{Locking Standard
This template<noinclude>, [[Template:Lock Standard State]],</noinclude> simplifies calls to the [[Template:Locking Standard|Locking Standard]] template. The parameter list is somewhat long, and easy to confuse should there be multiple variations of locking standards within the state. To simplify this, a second template -- this one -- can be used to ''can'' the call for each area. You put all the complex code for your states locks in here, and just add the simple one line code to call this template on your states page.
  |title=Metro Areas
  |title2=Rural
  |Fwy=5
  |Ramp=5
  |MH=3
  |MH2=2
  |mH=2
  |PS=2
  |Street=1}}
| UT = {{Locking Standard <!-- Per Jemay, 2015-11-19. Temporary lowering from 54-4/3-3/2-2 to 4H322 per herrchin/AoTB/Bretmcvey 2016-06-01-->
  |caption=Utah locking standard
  |title=Statewide
  |Fwy=4
  |Ramp=Highest rank of connected segments
  |MH=3
  |mH=2
  |PS=2
  |Street=1
  |lede=In {{RootPage2}} we have a set minimum standard for locking roads based on segment type. Any road of a certain segment type must be locked '''at least''' to the rank (level) in the chart below. Roads may be locked higher for protection and special situations (areas with construction, tricky design, frequent mistakes, imaging inaccuracies, and the like), but should not be locked lower.
  }}
| NV = {{Locking Standard <!-- As per State Forum discussions, SuperDave1426, 2015-01-28 -->
  |title=Urban Areas
  |title2=Rural Areas
  |Fwy=5|Fwy2=4
  |Ramp=5|Ramp2=4
  |MH=3
  |mH=2
  |PS=2
  |Street=Automatic (1)
  |Private=Automatic (1)
  |PLR=Automatic (1)
  }}
| CO = {{Locking Standard <!-- per Random sample from the map - 2015-11-25 -->
  |Fwy=5|Ramp=Highest Rank of Connected Segment|MH=3|mH=2|PS=2|Street=1}}
| NM
| SOUTHWEST = {{Locking Standard <!-- per Jemay - 2015-11-25 -->
  |Fwy=5|Ramp=4|MH=4|mH=3|PS=2|Street=1
  |lede=Actual locks used may be more or less than values in the table, depending on area circumstance. Please consult RC, SM, or appropriate AM for guidance.
}}
| AZ = {{Locking Standard <!-- per nnote - 2017-01-25 -->
  |Fwy=4|Ramp=4|MH=4|mH=3|PS=2|Street=1}}


You call this template as follows:<br/>


| MO = {{Locking Standard <!-- a/p BlueTiger68 MO SM -->
{{tlx|Lock Standard State|XY}}<br/>
  |title=Statewide|Fwy=4|Ramp=4|MH=3|mH=3|PS=2|Street=1}}
...where XY is use a USPS state abbreviation or the like. But the list of abbreviations "and the like" must be predefined in this template.


| KS = {{Locking Standard <!-- KC-guardrail KS SM -->
  |title=Statewide|Fwy=4|Ramp=4|MH=3|mH=3|PS=2|Street=1}}


| MN = {{Locking Standard
==Defining a new states locks==
    |title=Urban<ref>This includes any city over [http://www.city-data.com/city/Minnesota.html 6,000 people]</ref>|Fwy=5|Ramp=Highest rank of connected segments|MH=4|mH=3|PS=2<ref>Increase lock level to 3 if [[House_numbers|House Numbering]] is correct</ref>|Street=1<ref>Increase lock level to 2 if [[House_numbers|House Numbering]] is correct</ref>
    |title2=Rural<ref>This includes any area considered a township or a small town</ref>|Fwy2=5|Ramp2=Highest rank of connected segments|MH2=3|mH2=2|PS2=2|Street2=1<ref>Increase lock level to 2 if [[House_numbers|House Numbering]] is correct</ref>
|lede=In {{RootPage2}} we have a set minimum standard for [[Best_map_editing_practice#Locking_Segments|locking roads]] based on the segment type. Any road of a certain segment type must be locked to '''at least''' the [[Your_Rank_and_Points#Map_Editing_Rank|rank (level)]] in the chart below. Roads may be locked higher for protection and special situations (areas with construction, tricky design, frequent mistakes, imaging inaccuracies, and the like), but should not be locked lower.


A great time to implement these locks is while performing the [[Functional_Classification|FC Upgrade]] of an area. Lock the roads based on the type after they've been set to [[Road_types/USA#Quick_reference_chart|FC standards]].
The template is a large [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23switch "switch"] statement that shows all the "states" (or provinces, regions, etc.) for which it is programmed.
}}


| WV = {{Locking Standard  <!-- 2015-07-06, stephenr1966, as discussed within state -->
To program a new state, you must first know how to use the {{Tl|Locking Standard}} template -- this template doesn't eliminate that work. This template just self-documents the resulting code, makes your states wiki page code look much cleaner, and less likely to accidentally break. '''(However, anyone touching the code here can break a lot of state pages!)'''
  |caption=West Virginia Locking Rank Standard Guideline
  |Fwy=5|Ramp=4|MH=3|mH=2|PS=1
  |lede=Actual locks used may be more or less than values in the table below, depending on area circumstance
    Please consult RC, SM, or appropriate AM for guidance
    }}
| VA = {{Locking Standard
  |caption=Virginia Locking Rank Standard Guideline
  |title=Urban|Fwy=5|MH=4|mH=3|PS=2
  |title2=Rural|MH2=3|mH2=2|PS2=1
  |lede=Actual locks used may be more or less than values in the table below, depending on area circumstance
    Please consult RC, SM, or appropriate AM for guidance
    }}
| WASHDC = {{Locking Standard
  |caption=Washington, DC Locking Rank Standard Guideline
  |Fwy=5|MH=4|mH=3|PS=2
  |lede=Actual locks used may be more or less than values in the table below, depending on area circumstance
    Please consult RC, SM, or appropriate AM for guidance
    }}
| SOUTHERN = {{Locking Standard
  |caption=Standard for locking roads in the southeast region:
  |Fwy=5|Ramp=5|MH=5|mH=4|PS=3
  |lede=
    There are some cases that do not adhere to this standard, such as military base gates (6), and any theme park type areas in Orlando (5/6).
  }}
| PR
| VI
| AS
| GUAM
| NMI
| TERRITORIES = {{Locking Standard|title=Statewide|Fwy=5|Ramp=4|MH=4|mH=3|PS=2|Street=1}}<!-- Per nnote, RC-->
| OK = {{Locking Standard|title=Statewide|Fwy=5|Ramp=Highest rank of connected segment|MH=4|mH=3|PS=2|Street=1}}
| MD = {{Locking Standard <!-- a/p Kodi, nzahn1 SMs -->
  |title=Urban
  |title2=Rural
  |Fwy=5|Fwy2=4
  |Ramp=5|Ramp2=4
  |MH=3|MH2=2
  |mH=2
  |PS=2
  }}
| MIDATLANTIC = {{Locking Standard
  |title=Two-Way
  |Fwy=5
  |Ramp=4
  |MH=4
  |mH=3
  |PS=2
  |Street=1
  |title2=One-Way
  |PS2=3
  |Street2=2}}


| MI = {{Locking Standard  
Once you have developed the code to define your states locking table using the {{Tl|Locking Standard}} template, use the following guidance to add a new state/region/group of localities/etc to this template.
  |caption=Michigan locking standard
  |title=Urban
  |title2=Rural
  |Fwy=5
  |Ramp=Highest rank of connected segment
  |MH=3
  |mH=2|mH2=3
  |PS=2
  }}


| WI = {{Locking Standard
* Each state abbreviation must be in all UPPER CASE, and entered on a new line starting with a pipe character (the vertical bar |).
  |title=Statewide
** Multiple states or regions can be set to use a single definition using the [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#Grouping_results "fall through" technique]. If you want this state to use the same values as another defined state/region; do ''not'' put the equals sign (=) following the state/region name, make sure this state/region name is added above the defined state/region you want to use. When there is no (=) after the name, it will use the next defined set of values below.
  |Fwy=5|Ramp=Highest rank of connected segment|MH=3|mH=2|PS=2|Street=1
** Do not add any new states below the default settings at the bottom of the template.
  |note=These are minimums and, for protection, certain segments may be set at higher lock levels.  In these cases, please contact the last editor or a {{RootPage2}} SM before editing the segments. Once changes have been made and verified, the locks should be returned to their elevated levels, unless standard levels are approved by a {{RootPage2}} SM}}<!-- per GHO KB_Steveo, 2015-12-26 -->
* To define this state put a equals sign (=) after the state abbreviation and then start the {{tl|Locking Standard}} template code.
| KY = {{Locking Standard
** Now add a wiki comment describing the source of the information, your username, and the date. These comments are only visible in the code, and displayed in the wiki, they help to keep track of changes and for maintenance. To start a comment use <!-- anything after this is part of the comment. To end a comment use --> anything after this is displayed in the wiki.
    |title=Statewide
*** For example {{pre2|XX{{!}}<nowiki>{{Locking Standard <!-- as per state forum http://www.waze.com/forum/... Username, 2015-01-27 --></nowiki>}}
    |Fwy=5|MH=4|mH=3|PS=2
** On the next line start adding in the parameters to build your state table for the {{tl|Locking Standard}} template. To make this template easy to read you can add line breaks and indents before new parameters. You can start each parameter or group of parameters with the pipe on a new line, and use regular spaces to indent before the pipe, showing context.
    |note=These are minimums and, for protection, certain segments may be at higher lock levels. Locks should be applied after the segments are correct. Remember you are putting your name on it, make sure it is correct.}}
** Remember to end your defining template code with a closing pair of braces (}}).
| NC = {{Locking Standard
* Now add the {{tlx|Lock Standard State|XX}} template code to your states wiki page.
    |title=Statewide
* {{red|After saving any changes to this template, '''please''' check the output for your state, and all the examples listed in <includeonly>the [[/doc]]</includeonly><noinclude>this doc</noinclude> page, to ensure they are producing the correct output.}}
    |Fwy=5|MH=4|mH=3|PS=2
** If you notice that the output for your state or some of the examples listed here in the doc page are wrong, please {{red|'''"UNDO"''' your changes}} using the link by your edit on the [http://wiki.waze.com/wiki/index.php?title=Template:Lock_Standard_State&action=history history tab].
    |note=Certain areas may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or a {{RootPage2}} SM.}}
| SC = {{Locking Standard
    |title=Statewide
    |Fwy=5|MH=4|mH=3|PS=2
    |note=Certain areas may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or a {{RootPage2}} SM.}} <!-- a/p crazycaveman SC SM -->
| TN = {{Locking Standard
    |title=Statewide
    |Fwy=5|MH=4|mH=3|PS=2}}
| ND = {{Locking Standard <!-- As per bretmcvey 2016-04-26 -->
    |title=Statewide
    |Fwy=4
    |Ramp=4
    |MH=3
    |mH=3
    |PS=2
    |Street=1}}
| WY = {{Locking Standard <!-- Preliminary proposal subject to discussion and approval - TheChrisK, 2015-12-18 -->
  |title=Statewide
  |Fwy=4
  |Ramp=4
  |MH=3
  |mH=2
  |PS=2
  |Street=1
  |note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or a {{RootPage2}} SM.}}
| AK = {{Locking Standard
<!--per HO discussion with AlanOfTheBerg and AK state manager-->
|title=Statewide|Fwy=4|Ramp=4|MH=3|mH=2|PS=2|Street=1|PLR=2{{ref|PLR}}|append={{note|PLR|1}}This rule should primarily apply to LARGE parking lots such as shopping malls/centers/plazas, tourist attractions/sports/music venues, large office buildings and schools/colleges.}}
| OR = {{Locking Standard <!--As confirmed by AlanOfTheBerg-->
  |title=Statewide
    |Fwy=4
    |Ramp=4
    |MH=3
    |mH=2
    |PS=2
    |Street=1}}
|lede=In {{RootPage2}} we have a set minimum standard for [[Best_map_editing_practice#Locking_Segments|locking roads]] based on the segment type. Any road of a certain segment type must be locked to '''at least''' the [[Your_Rank_and_Points#Map_Editing_Rank|rank (level)]] in the chart below. Roads may be locked higher for protection and special situations (areas with construction, tricky design, frequent mistakes, imaging inaccuracies, and the like), but should not be locked lower.


A great time to implement these locks is while performing the [[Functional_Classification|FC Upgrade]] of an area. Lock the roads based on the type after they've been set to [[Road_types/USA#Quick_reference_chart|FC standards]].<!--A/p wiki-->
{{pre2|{{!}}AB {{=}} <nowiki>{{Locking Standard <!--comment explaining source of information, etc., the dashes, ! and LT/GT are part of the wiki code and must be present--></nowiki>
| = {{Mbox|type=critical|text={{Red|Error: The Lock Standard State template requires a state/province abbreviation or other equivalent; none was supplied, so no locking scheme can be generated}}}}
  {{!}}parameterA {{=}} value value value
| {{Mbox|type=critical|text={{Red|The Lock Standard State template cannot display the locking scheme because it does not recognize the state/province/region specified: {{{1|}}}{{{st|}}}{{{ST|}}}{{{St|}}}{{{sT|}}}}}}}
  {{!}}parameterB {{=}} text text text
}}</includeonly>
  {{!}}Fwy {{=}} 1 {{!}} Fwy2 {{=}} 2
  {{!}}MH {{=}} 4 {{!}} mH {{=}} 3
  {{!}}MH2 {{=}} 5 {{!}} mH2 {{=}} 5<nowiki>}}</nowiki>
{{!}}FG {{=}} <nowiki>{{Locking Standard <!-- comment explaining source of information, etc., the dashes, ! and LT/GT are part of the wiki code and must be present--></nowiki>
  {{!}}Title1 {{=}} value value value
      {{!}}Fwy {{=}} 1 {{!}} MH {{=}} 2 {{!}} mH {{=}} 3
  {{!}}Title2 {{=}} text text text
      {{!}}Fwy2 {{=}} 5 {{!}}MH2 {{=}} 5 {{!}} mH2 {{=}} 5<nowiki>}}</nowiki>
{{!}} CD {{=}} <nowiki>{{Locking Standard}} <!--simple case, uses no parameters, only defaults--></nowiki>
{{!}} REGION9
{{!}} REGION9PROVINCE1
{{!}} REGION9PROVINCE2
{{!}} REGION9PROVINCE3 {{=}} <nowiki>{{</nowiki>Locking Standard
  {{!}}lede{{=}}This locking standard applies to the entire Region 9 (all three member provinces, Province1, Province2, Province3)
  {{!}}Fwy{{=}}5<nowiki>}}</nowiki>
{{!}} NEW SMALLVILLE
{{!}} NEW BIGVILLE {{=}} <nowiki>{{Locking Standard <!--New Smallville and New Bigville share the same setup, so only one of them has to actually have the code (always the last one), and the others don't have an {{=}} {{Locking Standard... the wiki understands to just pick the next one actually specified. (Just as Region 9 above) This is called "Fall through".--></nowiki>
  {{!}}Fwy {{=}} 4<nowiki>}}</nowiki>}}
 
==Examples==
 
Note that due to the peculiarities of the underlying Locking Standard template, the state name is only picked up correctly when used as intended in State Pages. It otherwise picks up the rather nonsensical (in context) name of the current page for the caption/lede.
 
{{tlx|Lock Standard State|CA}}
 
{{mbox|image=none|text={{Lock Standard State|CA}}}}
 
 
----
 
{{tlx|Lock Standard State|NM}}
 
{{mbox|image=none|text={{Lock Standard State|NM}}}}
 
 
----
 
{{tlx|Lock Standard State|NEW ENGLAND}}
 
{{mbox|image=none|text={{Lock Standard State|NEW ENGLAND}}}}
 
 
----
 
{{tlx|Lock Standard State|NORTHEAST}}
 
{{mbox|image=none|text={{Lock Standard State|NORTHEAST}}}}
 
 
----
 
{{tlx|Lock Standard State|NY}}
 
{{mbox|image=none|text={{Lock Standard State|NY}}}}
 
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
</includeonly>

Revision as of 19:14, 16 February 2017

This template is transcluded into many state pages to define their locking standards. Any errant changes to this page can affect lots of state wiki pages relying on this template. Please be sure you fully comprehend this template and how parser switch functions work before editing it. If you need help please ask someone.


Please do not make changes to any state or regions defined settings without first getting consensus in the local forum, or approval from the RC.

This template, Template:Lock Standard State, simplifies calls to the Locking Standard template. The parameter list is somewhat long, and easy to confuse should there be multiple variations of locking standards within the state. To simplify this, a second template -- this one -- can be used to can the call for each area. You put all the complex code for your states locks in here, and just add the simple one line code to call this template on your states page.

You call this template as follows:

{{Lock Standard State|XY}}
...where XY is use a USPS state abbreviation or the like. But the list of abbreviations "and the like" must be predefined in this template.


Defining a new states locks

The template is a large "switch" statement that shows all the "states" (or provinces, regions, etc.) for which it is programmed.

To program a new state, you must first know how to use the {{Locking Standard}} template -- this template doesn't eliminate that work. This template just self-documents the resulting code, makes your states wiki page code look much cleaner, and less likely to accidentally break. (However, anyone touching the code here can break a lot of state pages!)

Once you have developed the code to define your states locking table using the {{Locking Standard}} template, use the following guidance to add a new state/region/group of localities/etc to this template.

  • Each state abbreviation must be in all UPPER CASE, and entered on a new line starting with a pipe character (the vertical bar |).
    • Multiple states or regions can be set to use a single definition using the "fall through" technique. If you want this state to use the same values as another defined state/region; do not put the equals sign (=) following the state/region name, make sure this state/region name is added above the defined state/region you want to use. When there is no (=) after the name, it will use the next defined set of values below.
    • Do not add any new states below the default settings at the bottom of the template.
  • To define this state put a equals sign (=) after the state abbreviation and then start the {{Locking Standard}} template code.
    • Now add a wiki comment describing the source of the information, your username, and the date. These comments are only visible in the code, and displayed in the wiki, they help to keep track of changes and for maintenance. To start a comment use anything after this is displayed in the wiki.
      • For example
        XX|{{Locking Standard <!-- as per state forum http://www.waze.com/forum/... Username, 2015-01-27 -->
    • On the next line start adding in the parameters to build your state table for the {{Locking Standard}} template. To make this template easy to read you can add line breaks and indents before new parameters. You can start each parameter or group of parameters with the pipe on a new line, and use regular spaces to indent before the pipe, showing context.
    • Remember to end your defining template code with a closing pair of braces (}}).
  • Now add the {{Lock Standard State|XX}} template code to your states wiki page.
  • After saving any changes to this template, please check the output for your state, and all the examples listed in this doc page, to ensure they are producing the correct output.
    • If you notice that the output for your state or some of the examples listed here in the doc page are wrong, please "UNDO" your changes using the link by your edit on the history tab.
|AB = {{Locking Standard <!--comment explaining source of information, etc., the dashes, ! and LT/GT are part of the wiki code and must be present-->
   |parameterA = value value value
   |parameterB = text text text
   |Fwy = 1 | Fwy2 = 2
   |MH = 4 | mH = 3
   |MH2 = 5 | mH2 = 5}}
|FG = {{Locking Standard <!-- comment explaining source of information, etc., the dashes, ! and LT/GT are part of the wiki code and must be present-->
   |Title1 = value value value
      |Fwy = 1 | MH = 2 | mH = 3
   |Title2 = text text text
      |Fwy2 = 5 |MH2 = 5 | mH2 = 5}}
| CD = {{Locking Standard}} <!--simple case, uses no parameters, only defaults-->
| REGION9
| REGION9PROVINCE1
| REGION9PROVINCE2
| REGION9PROVINCE3 = {{Locking Standard
   |lede=This locking standard applies to the entire Region 9 (all three member provinces, Province1, Province2, Province3)
   |Fwy=5}}
| NEW SMALLVILLE
| NEW BIGVILLE = {{Locking Standard <!--New Smallville and New Bigville share the same setup, so only one of them has to actually have the code (always the last one), and the others don't have an {{=}} {{Locking Standard... the wiki understands to just pick the next one actually specified. (Just as Region 9 above) This is called "Fall through".-->
   |Fwy = 4}}

Examples

Note that due to the peculiarities of the underlying Locking Standard template, the state name is only picked up correctly when used as intended in State Pages. It otherwise picks up the rather nonsensical (in context) name of the current page for the caption/lede.

{{Lock Standard State|CA}}

In PesachZ we have a set minimum standard for locking roads based on segment type. Any road of a certain segment type must be locked at least to the rank (level) in the chart below. Roads may be locked higher for protection and special situations (areas with construction, tricky design, frequent mistakes, imaging inaccuracies, and the like), but should not be locked lower.

A great time to implement these locks is while bringing the road types of an area into compliance with the current US road type standards (FC and highway systems). Lock the roads based on type after they've been set to current US road type standards.

PesachZ Minimum Locking Rank Standard
Segment Type Metro Areas  Rural
 Freeway  5
 Ramp  5
 Major Highway  3 2
 Minor Highway  2
 Primary Street  2
 Street  1
 • • • • Ferry • • • •   5
 |-|-|-|-|-|-|-|-|-| Railroad |-|-|-|-|-|-|-|-|-|  2



{{Lock Standard State|NM}}

Actual locks used may be more or less than values in the table, depending on area circumstance. Please consult the RC, SM, or appropriate AM for guidance.
PesachZ Minimum Locking Rank Standard
Segment Type Default locks
 Freeway  5
 Ramp  4
 Major Highway  4
 Minor Highway  3
 Primary Street  2
 Street  1
 • • • • Ferry • • • •   5
 |-|-|-|-|-|-|-|-|-| Railroad |-|-|-|-|-|-|-|-|-|  2



{{Lock Standard State|NEW ENGLAND}}

In PesachZ we have a set minimum standard for locking roads based on segment type. Any road of a certain segment type must be locked at least to the rank (level) in the chart below. Roads may be locked higher for protection and special situations (areas with construction, tricky design, frequent mistakes, imaging inaccuracies, and the like), but should not be locked lower.

A great time to implement these locks is while bringing the road types of an area into compliance with the current US road type standards (FC and highway systems). Lock the roads based on type after they've been set to current US road type standards.

PesachZ Minimum Locking Rank Standard
Segment Type CT/MA/ME/NH/RI/VT
 Freeway  5
 Ramp  Highest rank of connected segment
 Major Highway  4
 Minor Highway  3
 Primary Street  1 (Auto)
 Street  1 (Auto)
 Private Road  1 (Auto)
 • • • • Ferry • • • •   5
 |-|-|-|-|-|-|-|-|-| Railroad |-|-|-|-|-|-|-|-|-|  2

Note: Do Not Mass Edit just to update locks to these standards, these can be adjusted as you find them while editing other aspects of the segments such as FC, speed limits, naming, etc.

Some segments still warrant higher locks and care should be taken when setting segment lock to these standards to look for and protect these special setups with higher locks. Some examples; segments which are part of BDP, U-turn prevention, or using micro-doglegs, or other complex intersection setups.



{{Lock Standard State|NORTHEAST}}

In PesachZ we have a set minimum standard for locking roads based on segment type. Any road of a certain segment type must be locked at least to the rank (level) in the chart below. Roads may be locked higher for protection and special situations (areas with construction, tricky design, frequent mistakes, imaging inaccuracies, and the like), but should not be locked lower.

A great time to implement these locks is while bringing the road types of an area into compliance with the current US road type standards (FC and highway systems). Lock the roads based on type after they've been set to current US road type standards.

PesachZ Minimum Locking Rank Standard
Segment Type Statewide
 Freeway  5
 Ramp  Highest rank of connected segments
 Major Highway  3
 Minor Highway  3
 Primary Street  1 (Auto)
 Street  1 (Auto)
 Private Road  1 (Auto)
 • • • • Ferry • • • •   5
 |-|-|-|-|-|-|-|-|-| Railroad |-|-|-|-|-|-|-|-|-|  2

Note: Do Not Mass Edit just to update locks to these standards, these can be adjusted as you find them while editing other aspects of the segments such as FC, speed limits, naming, etc.

Some segments still warrant higher locks and care should be taken when setting segment lock to these standards to look for and protect these special setups with higher locks. Some examples; segments which are part of BDP, U-turn prevention, or using micro-doglegs, or other complex intersection setups.



{{Lock Standard State|NY}}

In PesachZ we have a set minimum standard for locking roads based on segment type. Any road of a certain segment type must be locked at least to the rank (level) in the chart below. Roads may be locked higher for protection and special situations (areas with construction, tricky design, frequent mistakes, imaging inaccuracies, and the like), but should not be locked lower.

A great time to implement these locks is while bringing the road types of an area into compliance with the current US road type standards (FC and highway systems). Lock the roads based on type after they've been set to current US road type standards.

PesachZ Minimum Locking Rank Standard
Segment Type NYC Only  Everywhere Else
 Freeway  5
 Ramp  Highest rank of connected segment
 Major Highway  5 3
 Minor Highway  4 3
 Primary Street  3 1 (Auto)
 Street  1 (Auto)
 Private Road  1 (Auto)
 • • • • Ferry • • • •   5
 |-|-|-|-|-|-|-|-|-| Railroad |-|-|-|-|-|-|-|-|-|  2

Note: Do Not Mass Edit just to update locks to these standards, these can be adjusted as you find them while editing other aspects of the segments such as FC, speed limits, naming, etc.

Some segments still warrant higher locks and care should be taken when setting segment lock to these standards to look for and protect these special setups with higher locks. Some examples; segments which are part of BDP, U-turn prevention, or using micro-doglegs, or other complex intersection setups.