function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "eng.net1", tier: 4, color: "TMred", system: "gbnnet", label: "ENG NET1" }; routeInfo[1] = { firstWaypoint: 38, root: "eng.net2", tier: 4, color: "TMred", system: "gbnnet", label: "ENG NET2" }; waypoints = [ new Waypoint("Huc",53.038362,-1.195858), new Waypoint("ButHill",53.028833,-1.188573), new Waypoint("MoorBr",53.014422,-1.187081), new Waypoint("BulFor",53.00589,-1.190292), new Waypoint("Bul",52.999322,-1.195493), new Waypoint("+X655975",52.99281,-1.19398), new Waypoint("HigVale",52.989396,-1.189163), new Waypoint("DavLn",52.984908,-1.182055), new Waypoint("Bas",52.98162,-1.17837), new Waypoint("+X750928",52.977056,-1.176932), new Waypoint("+X751608",52.972676,-1.180344), new Waypoint("WilSt",52.971989,-1.178252), new Waypoint("ShiSt",52.971296,-1.174099), new Waypoint("BeaStRadRd",52.969914,-1.172082), new Waypoint("NoelStHyGreMar",52.966954,-1.169829), new Waypoint("For",52.965213,-1.167094), new Waypoint("HighSch",52.962182,-1.161268), new Waypoint("NotTreUni",52.957878,-1.154981), new Waypoint("RoyCen",52.955079,-1.151816), new Waypoint("OldMarSq",52.953061,-1.150104), new Waypoint("LaceMar",52.952836,-1.145518), new Waypoint("NotSta",52.94717,-1.145625), new Waypoint("+DIV_Ln2",52.944691,-1.148543), new Waypoint("MeaWayWest",52.943356,-1.156719), new Waypoint("NG2",52.941843,-1.165195), new Waypoint("GreSt",52.94386,-1.176803), new Waypoint("QueMedCen",52.942554,-1.18367), new Waypoint("UniNot",52.937214,-1.188283), new Waypoint("UniBlvd",52.932183,-1.202145), new Waypoint("MidSt",52.927824,-1.209054), new Waypoint("BeeCen",52.925327,-1.214762), new Waypoint("ChiRd",52.922598,-1.220341), new Waypoint("HighRdCenCol",52.921278,-1.223216), new Waypoint("CatLn",52.922611,-1.231241), new Waypoint("BraLn",52.921537,-1.236262), new Waypoint("EskDr",52.920295,-1.243086), new Waypoint("InhRd",52.919545,-1.25169), new Waypoint("TotLn",52.918432,-1.262269), new Waypoint("PhoPark",52.988873,-1.206651), new Waypoint("Cin",52.988951,-1.200557), new Waypoint("HigVale",52.989396,-1.189163), new Waypoint("DavLn",52.984908,-1.182055), new Waypoint("Bas",52.98162,-1.17837), new Waypoint("+X750928",52.977056,-1.176932), new Waypoint("+X751608",52.972676,-1.180344), new Waypoint("WilSt",52.971989,-1.178252), new Waypoint("ShiSt",52.971296,-1.174099), new Waypoint("BeaStRadRd",52.969914,-1.172082), new Waypoint("NoelStHyGreMar",52.966954,-1.169829), new Waypoint("For",52.965213,-1.167094), new Waypoint("HighSch",52.962182,-1.161268), new Waypoint("NotTreUni",52.957878,-1.154981), new Waypoint("RoyCen",52.955079,-1.151816), new Waypoint("OldMarSq",52.953061,-1.150104), new Waypoint("LaceMar",52.952836,-1.145518), new Waypoint("NotSta",52.94717,-1.145625), new Waypoint("+DIV_Ln1",52.944691,-1.148543), new Waypoint("QueWalk",52.942752,-1.150367), new Waypoint("MeaEmb",52.939086,-1.153704), new Waypoint("WilVil",52.935723,-1.155657), new Waypoint("WilLn",52.925926,-1.156172), new Waypoint("ComAcr",52.919076,-1.157513), new Waypoint("RudLn",52.91467,-1.158317), new Waypoint("SouDrNor",52.91071,-1.170419), new Waypoint("Riv",52.90688,-1.174743), new Waypoint("CliCen",52.903748,-1.176943), new Waypoint("HolyTri",52.897037,-1.181191), new Waypoint("SumLn",52.896945,-1.187832), new Waypoint("CliSou",52.896404,-1.193159) ]; traveler = 'northernkeys'; segments = [ 148851, 148852, 148853, 148854, 148855, 148856, 148857, 148858, 148859, 148860, 148861, 148862, 148863, 148864, 148865, 148866, 148867, 148868, 148869, 148870, 148871, 148872, 148873, 148874, 148875, 148876, 148877, 148878, 148879, 148880, 148881, 148882, 148883, 148884, 148885, 148886, 148887, 148888, 148889, 148890, 148891, 148892, 148893, 148894, 148895, 148896, 148897, 148898, 148899, 148900, 148901, 148902, 148903, 148904, 148905, 148906, 148907, 148908, 148909, 148910, 148911, 148912, 148913, 148914, 148915, 148916, 148917 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }