Jump to content

Module:Road data/strings/USA/OR

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 05:04, 19 September 2020 (try again again). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

--Oregon
local OR = {}

OR.I = {shield = "I-%route%.svg",
        link = "Interstate %route% (Oregon)",
        abbr = "I-%route%",
        width = "expand"}

OR.BL = {shield = "Business Loop %route%.svg",
         link = "Interstate %route% Business ([dab||%dab%, |]Oregon)",
         abbr = "I-%route% Bus.",
         width = "expand"}

OR["I 1957"] = {shield = "I-%route% (1957).svg",
                link = OR.I.link,
                abbr = OR.I.abbr}
                
OR["I 1961"] = {shield = {["80N"] = "I-%route% (1957).svg",
				default = {hook = "splitlen",
							split = 3,
							above = "I-%route% (1961).svg",
							below = "I-%route% (1957).svg"}},
                link = OR.I.link,
                abbr = OR.I.abbr}

OR.US = {shield = "US %route%.svg",
         link = "U.S. Route %route% in Oregon",
         abbr = "US %route%",
         width = "expand"}

OR["US 1926"] = {shield = "US %route% Oregon 1926.svg",
                 link = OR.US.link,
                 abbr = OR.US.abbr,
                 width = "US1926"}         
 
OR["US 1948"] = {shield = "US %route% (1948).svg",
                 link = OR.US.link,
                 abbr = OR.US.abbr,
                 width = "US1926"}

OR["US 1961"] = {shield = "US %route% (1961).svg",
                 link = OR.US.link,
                 abbr = OR.US.abbr}                 
                 
OR["US 1961-Alt"] = {shield = OR["US 1961"].shield,
	                 link = "U.S. Route %route% Alternate ([dab||%dab%, |]Oregon)",
	                 abbr = "US %route% Alt.",
                     banner = "Alternate plate.svg"}

OR["US-Alt"] = {shield = OR.US.shield,
                link = "U.S. Route %route% Alternate ([dab||%dab%, |]Oregon)",
                abbr = "US %route% Alt.",
                banner = "Alternate plate.svg",
                width = "expand"}

OR["US-Bus"] = {shield = OR.US.shield,
                link = "U.S. Route %route% Business ([dab||%dab%, |]Oregon)",
                abbr = "US %route% Bus.",
                banner = "Business plate.svg",
                width = "expand"}

OR["US-Byp"] = {shield = OR.US.shield,
                link = "U.S. Route %route% Bypass ([dab||%dab%, |]Oregon)",
                abbr = "US %route% Byp.",
                banner = "By-pass plate.svg",
                width = "expand"}

OR["US-Spur"] = {shield = OR.US.shield,
                 link = "U.S. Route %route% Spur ([dab||%dab%, |]Oregon)",
                 abbr = "US %route% Spur",
                 banner = "Spur plate.svg",
                 width = "expand"}

OR.OR = {shield = "OR %route%.svg",
         link = "Oregon Route %route% [dab||(%dab%)|]",
         abbr = "OR %route%",
         width = "expand"}

OR["OR-Bus"] = {shield = OR.OR.shield,
                link = "Oregon Route %route% Business",
                abbr = OR.OR.abbr .. " Bus.",
                banner = "Business plate.svg",
                width = "expand"}
                
OR["OR-Spur"] = {shield = OR.OR.shield,
                link = "Oregon Route %route% Business",
                abbr = OR.OR.abbr .. " Spur",
                banner = "Spur plate.svg",
                width = "expand"}
                
OR["OR 1932"] = {shield = "OR %route% 1932.svg",
         link = "Oregon Route %route% [dab||(%dab%)|]",
         abbr = "OR %route%",
         width = "expand"}

OR["OR 1948"] = {shield = "OR %route% 1948.svg",
         link = "Oregon Route %route% [dab||(%dab%)|]",
         abbr = "OR %route%",
         width = "expand"}
         
OR.FH = {shield = "Forest Route %route%.svg",
	     link = "",
	     abbr = "FH %route%"}

OR.CA = {alias = {module = "USA/CA", type = "SR"}}
OR.WA = {alias = {module = "USA/WA", type = "WA"}}
OR.ID = {alias = {module = "USA/ID", type = "SH"}}
OR.NV = {alias = {module = "USA/NV", type = "NV"}}

local highwayNames  =  {["1"] = "Pacific Highway",
						["2"] = "Columbia River",
						["3"] = "Oswego",
						["4"] = "The Dalles–California",
						["5"] = "John Day",
						["6"] = "Old Oregon Trail",
						["7"] = "Central Oregon",
						["8"] = "Oregon–Washington",
						["9"] = "Oregon Coast",
						["10"] = "Wallowa Lake",
						["11"] = "Enterprise–Lewiston",
						["12"] = "Baker–Copperfield",
						["14"] = "Crooked River",
						["15"] = "McKenzie",
						["16"] = "Santiam",
						["17"] = "McKenzie–Bend",
						["18"] = "Willamette",
						["19"] = "Fremont",
						["20"] = "Klamath Falls–Lakeview",
						["21"] = "Green Springs",
						["22"] = "Crater Lake",
						["23"] = "Dairy–Bonanza",
						["25"] = "Redwood",
						["26"] = "Mt. Hood",
						["27"] = "Alsea",
						["28"] = "Pendleton–John Day",
						["29"] = "Tualatin Valley",
						["30"] = "Willamina–Salem",
						["31"] = "Albany–Corvallis",
						["32"] = "Three Rivers",
						["33"] = "Corvallis–Newport",
						["35"] = "Coos Bay–Roseburg",
						["36"] = "Pendleton–Cold Springs",
						["37"] = "Wilson River",
						["38"] = "Oregon Caves",
						["39"] = "Salmon River",
						["40"] = "Beaverton–Hillsdale",
						["41"] = "Ochoco",
						["42"] = "Sherman",
						["43"] = "Monmouth–Independence",
						["44"] = "Wapinitia",
						["45"] = "Umpqua",
						["46"] = "Necanicum",
						["47"] = "Sunset",
						["48"] = "John Day–Burns",
						["49"] = "Lakeview–Burns",
						["50"] = "Klamath Falls–Malin",
						["51"] = "Wilsonville–Hubbard",
						["52"] = "Heppner",
						["53"] = "Warm Springs",
						["54"] = "Umatilla–Stanfield",
						["58"] = "Albany–Junction City",
						["60"] = "Rogue River",
						["61"] = "Stadium Freeway",
						["62"] = "Florence–Eugene",
						["63"] = "Rogue Valley",
						["64"] = "East Portland Freeway",
						["66"] = "La Grande–Baker",
						["67"] = "Pendleton",
						["68"] = "Cascade",
						["69"] = "Beltline",
						["70"] = "McNary",
						["71"] = "Whitney",
						["72"] = "Salem",
						["75"] = "Sunrise Expressway",
						["81"] = "Pacific",
						["91"] = "Pacific",
						["92"] = "Lower Columbia River",
						["100"] = "Historic Columbia River",
						["102"] = "Nehalem",
						["103"] = "Fishhawk Falls",
						["104"] = "Fort Stevens",
						["105"] = "Warrenton–Astoria",
						["110"] = "Mist–Clatskanie",
						["120"] = "Swift",
						["123"] = "Northeast Portland",
						["130"] = "Little Nestucca",
						["131"] = "Netarts",
						["132"] = "Delta",
						["138"] = "North Umpqua",
						["140"] = "Hillsboro–Silverton",
						["141"] = "Beaverton–Tualatin",
						["142"] = "Farmington",
						["143"] = "Scholls",
						["144"] = "Beaverton–Tigard",
						["150"] = "Salem–Dayton",
						["151"] = "Yamhill–Newberg",
						["153"] = "Bellevue–Hopewell",
						["154"] = "Lafayette",
						["155"] = "Amity–Dayton",
						["157"] = "Willamina–Sheridan",
						["160"] = "Cascade",
						["161"] = "Woodburn–Estacada",
						["162"] = "North Santam",
						["163"] = "Silver Creek Falls",
						["164"] = "Jefferson",
						["171"] = "Clackamas",
						["172"] = "Eagle Creek–Sandy",
						["173"] = "Timberline",
						["174"] = "Clackamas–Boring",
						["180"] = "Eddyville–Blodgett",
						["181"] = "Siletz",
						["189"] = "Dallas–Rickreall",
						["191"] = "Kings Valley",
						["193"] = "Independence",
						["194"] = "Monmouth",
						["200"] = "Territorial",
						["201"] = "Alsea–Deadwood",
						["210"] = "Corvallis–Lebanon",
						["211"] = "Albany–Lyons",
						["212"] = "Halsey–Sweet Home",
						["215"] = "Clear Lake–Belknap Springs",
						["225"] = "McVay",
						["226"] = "Goshen–Divide",
						["227"] = "Eugene–Springfield",
						["228"] = "Springfield",
						["229"] = "Mapleton–Junction City",
						["231"] = "Elkton–Sutherlin",
						["233"] = "West Diamond Lake",
						["240"] = "Cape Arago",
						["241"] = "Coos River",
						["242"] = "Powers",
						["244"] = "Coquille–Bandon",
						["250"] = "Cape Blanco",
						["251"] = "Port Orford",
						["255"] = "Carpenterville",
						["260"] = "Rogue River Loop",
						["270"] = "Lake of the Woods",
						["271"] = "Sams Valley",
						["272"] = "Jacksonville",
						["273"] = "Siskiyou",
						["281"] = "Hood River",
						["282"] = "Odell",
						["290"] = "Sherars Bridge",
						["291"] = "Shaniko–Fossil",
						["292"] = "Mosier–The Dalles",
						["293"] = "Antelope",
						["300"] = "Wasco–Heppner",
						["301"] = "Celilo–Wasco",
						["320"] = "Lexington–Echo",
						["321"] = "Heppner–Spray",
						["330"] = "Weston–Elgin",
						["331"] = "Umatilla Mission",
						["332"] = "Sunnyside–Umapine",
						["333"] = "Hermiston",
						["334"] = "Athena–Holdman",
						["335"] = "Havana–Helix",
						["339"] = "Freewater",
						["340"] = "Medical Springs",
						["341"] = "Ukiah–Hilgard",
						["342"] = "Cove",
						["350"] = "Little Sheep Creek",
						["351"] = "Joseph–Wallowa Lake",
						["360"] = "Madras–Prineville",
						["361"] = "Culver",
						["370"] = "O'Neil",
						["372"] = "Century Drive",
						["380"] = "Paulina",
						["390"] = "Service Creek–Mitchell",
						["402"] = "Kimberly–Long Creek",
						["410"] = "Sumpter",
						["413"] = "Halfway–Cornucopia",
						["414"] = "Pine Creek",
						["415"] = "Dooley Mountain",
						["420"] = "Midland",
						["422"] = "Chiloquin",
						["424"] = "South Klamath Falls",
						["426"] = "Hatfield",
						["429"] = "Crescent Lake",
						["431"] = "Warner",
						["440"] = "Frenchglen",
						["442"] = "Steens",
						["449"] = "Huntington",
						["450"] = "Succor Creek",
						["451"] = "Vale–West",
						["453"] = "Adrian–Arena Valley",
						["454"] = "Adrian–Caldwell",
						["455"] = "Olds Ferry–Ontario",
						["456"] = "I.O.N.",
						["457"] = "Snake River Correctional Institution",
						["481"] = "Baker–Copperfield",
						["482"] = "Redwood",
						["483"] = "McMinnville",
						["484"] = "Esplanade",
						["485"] = "Fort Stevens",
						["486"] = "Gold Hill",
						["488"] = "Chiloquin",
						["487"] = "Celilo–Wasco",
						["489"] = "Parma",
						["490"] = "Homedale",
						["491"] = "Weiser",
						["492"] = "Payette",
						["493"] = "Ontario" }

local highwaySuffix = { default = " No. %route%",
						["68"] = " North No. %route%",
						["81"] = " East No. %route%",
						["91"] = " West No. %route%",
						["138"] = " East No. %route%",
						["160"] = " South No. %route%"}

OR.Hwy = {	shield = "",
			link = highwayNames .. {["61"] = "",
									["64"] = "",
									["75"] = "",
									default = {hook = "split",
												split = 481,
												above = " Spur",
												below = " Highway"}} .. highwaySuffix,
			abbr = OR.Hwy.link
			}

return OR