function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "sct.ecmllum", tier: 1, color: "TMpurple", system: "gbnld", label: "SCT ECMLLum" }; waypoints = [ new Waypoint("ENG/SCT",55.810084,-2.036161), new Waypoint("+X455572",55.843253,-2.075644), new Waypoint("+X846273",55.831806,-2.134523), new Waypoint("+SKIP_Res",55.849891,-2.192631), new Waypoint("+X431416",55.855949,-2.2225), new Waypoint("+X360813",55.887226,-2.321377), new Waypoint("+X919440",55.901568,-2.325497), new Waypoint("+X387923",55.933986,-2.355452), new Waypoint("+X540335",55.971997,-2.441969), new Waypoint("+X905490",55.984675,-2.493896), new Waypoint("+SKIP_Dun",55.998243,-2.513723), new Waypoint("+X627726",55.989248,-2.569771), new Waypoint("+X490054",55.984483,-2.650881), new Waypoint("+SKIP_EastLin",55.987025,-2.662532), new Waypoint("+X211882",56.008171,-2.725554), new Waypoint("+DIV_NBL",56.006654,-2.775249), new Waypoint("+SKIP_Drem",56.005064,-2.785678), new Waypoint("+SKIP_Lon",55.976428,-2.888031), new Waypoint("+SKIP_Pre",55.95296,-2.974463), new Waypoint("+SKIP_Wal",55.9402,-3.015532), new Waypoint("+X939518",55.928938,-3.052654), new Waypoint("+SKIP_Mus",55.933235,-3.071902), new Waypoint("+DIV_Bor",55.947295,-3.107908), new Waypoint("+X694248",55.956624,-3.14518), new Waypoint("EdiWav",55.952197,-3.188674), new Waypoint("Hay",55.945337,-3.218951), new Waypoint("+DIV_CstSho",55.944313,-3.22364), new Waypoint("+DIV_Fife",55.934197,-3.268733), new Waypoint("+X121585",55.929052,-3.293903), new Waypoint("+SKIP_EdiPark",55.927555,-3.307657), new Waypoint("+DIV_NCL",55.93407,-3.399324), new Waypoint("+X266966",55.936294,-3.429708), new Waypoint("+X245765",55.970316,-3.472881), new Waypoint("+X531878",55.978481,-3.529959), new Waypoint("+SKIP_Lin",55.976374,-3.595791), new Waypoint("+X968518",55.974447,-3.630724), new Waypoint("+SKIP_Pol",55.984486,-3.714473), new Waypoint("+DIV_HML",55.985461,-3.722745), new Waypoint("+X401346",55.984027,-3.770714), new Waypoint("FalHigh",55.991697,-3.792515), new Waypoint("+X942491",55.996221,-3.852081), new Waypoint("+DIV_GMLHML",55.986416,-3.898945), new Waypoint("+X384470",55.979273,-3.978767), new Waypoint("+X573797",55.969211,-4.014988), new Waypoint("+SKIP_Croy",55.955651,-4.036188), new Waypoint("+X717832",55.933217,-4.09627), new Waypoint("+SKIP_Len",55.921304,-4.153991), new Waypoint("+SKIP_Bis",55.903977,-4.224468), new Waypoint("+DIV_WHL",55.888803,-4.241624), new Waypoint("+DIV_Cum",55.883508,-4.237247), new Waypoint("GlaQueSt",55.862471,-4.251108) ]; traveler = 'bejacob'; segments = [ 116430, 116431, 116432, 116433, 116434, 116435, 116436, 116437, 116438, 116439, 116440, 116441, 116442, 116443, 116444, 116445, 116446, 116447, 116448, 116449, 116450, 116451, 116452, 116453, 116454, 116455, 116456, 116457, 116458, 116459, 116460, 116461, 116462, 116463, 116464, 116465, 116466, 116467, 116468, 116469, 116470, 116471, 116472, 116473, 116474, 116475, 116476, 116477, 116478, 116479 ]; clinched = [ 116454, 116455, 116456, 116457, 116458, 116459, 116460, 116461, 116462, 116463, 116464, 116465, 116466 ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }