--[==[ To inspect the content of this data module, use [[Special:ExpandTemplates]]and enter the following input text:
To inspect the content of this data module when editing, enter the followinginto the Debug console: local util = require("Module:Road data/util") print(util.arrayToString(p))To inspect a particular route type, change `p` above to include the route type,e.g., `p.I` and `p["US-Hist"]`.]
-- Ontariolocal ON =
local util = require("Module:Road data/util")util.addAll(ON, require("Module:Road data/strings/CAN"))
ON.ON = ON.Hwy = ON.ONON.Highway = ON.ON
ON.Fwy =
ON.Secondary =
ON.Sec = ON.Secondary
ON.Shield =
ON.Tertiary =
ON.Ter = ON.Tertiary
ON.Toll =
ON["Toll Shield"] =
ON.TS = ON["Toll Shield"]
ON.ETR =
ON.Both =
ON["ON 1960"] =
for k, v in pairs(ON) do if k:find ("TCH") then v.shield = "Trans-Canada Highway shield.svg" v.orientation = "upright" endend
ON.QEW =
-- Great Lakes parkways ONLYON.Parkway =
-- add new types above this line if you want it to have the provincial highway browse and maintfor k, v in pairs(ON) do if k:find ("^%a") then v.maint = "Ministry of Transportation of Ontario" endend
-- Municipal expressways ONLYON.Expressway =
-- Toronto municipal expresswaysON.Toronto =
-- National Capital Commission parkwaysON.NCC =
ON.KLR =
ON.Ottawa =
local regionalShields =
local regionalShieldmains = for _,type in ipairs do ON[type] = end
ON.CR = ON.CountyON.DR = ON.DistrictON.MR = ON.MunicipalON.RR = ON.Regional
ON.RH =
ON.CH = ON.A = ON.I = ON.NY = ON.Tour =
return ON