function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "svk.d001", tier: 1, color: "TMblue", system: "svkd", label: "SVK D1" }; routeInfo[1] = { firstWaypoint: 58, root: "svk.d001pop", tier: 1, color: "TMblue", system: "svkd", label: "SVK D1Pop" }; routeInfo[2] = { firstWaypoint: 103, root: "svk.d001vru", tier: 1, color: "TMblue", system: "svkd", label: "SVK D1Vru" }; routeInfo[3] = { firstWaypoint: 108, root: "svk.d002", tier: 1, color: "TMblue", system: "svkd", label: "SVK D2" }; routeInfo[4] = { firstWaypoint: 130, root: "svk.d003", tier: 1, color: "TMblue", system: "svkd", label: "SVK D3" }; routeInfo[5] = { firstWaypoint: 135, root: "svk.d003ska", tier: 1, color: "TMblue", system: "svkd", label: "SVK D3Ska" }; routeInfo[6] = { firstWaypoint: 142, root: "svk.d004", tier: 1, color: "TMblue", system: "svkd", label: "SVK D4" }; routeInfo[7] = { firstWaypoint: 156, root: "svk.d004stu", tier: 1, color: "TMblue", system: "svkd", label: "SVK D4Stu" }; waypoints = [ new Waypoint("0",48.126756,17.076144), new Waypoint("1",48.132055,17.094898), new Waypoint("+1A",48.131805,17.104812), new Waypoint("4",48.130988,17.129939), new Waypoint("6",48.141843,17.15204), new Waypoint("+X1",48.14301,17.175407), new Waypoint("8",48.149667,17.180858), new Waypoint("10",48.161155,17.182617), new Waypoint("11",48.170737,17.186007), new Waypoint("13",48.185646,17.201285), new Waypoint("14",48.19091,17.212014), new Waypoint("+15",48.200322,17.229438), new Waypoint("18",48.212592,17.261581), new Waypoint("+X3",48.219812,17.337456), new Waypoint("27",48.236365,17.366295), new Waypoint("31",48.246526,17.410412), new Waypoint("+X4",48.256684,17.443285), new Waypoint("+X5",48.290732,17.491264), new Waypoint("44",48.308132,17.559199), new Waypoint("50",48.337381,17.630224), new Waypoint("+X6",48.371133,17.719574), new Waypoint("+X7",48.401628,17.747383), new Waypoint("66",48.43817,17.739916), new Waypoint("68",48.458722,17.739573), new Waypoint("+X8",48.530589,17.781887), new Waypoint("83",48.590774,17.790213), new Waypoint("+X9",48.643742,17.820339), new Waypoint("91",48.649157,17.838964), new Waypoint("+X10",48.657577,17.865143), new Waypoint("95",48.673195,17.87304), new Waypoint("+X11",48.722849,17.874413), new Waypoint("+X12",48.747078,17.859993), new Waypoint("106",48.762158,17.867546), new Waypoint("+X13",48.819185,17.908401), new Waypoint("119",48.860353,17.957754), new Waypoint("124",48.90466,17.991142), new Waypoint("126",48.91088,18.011055), new Waypoint("+X14",48.914434,18.061352), new Waypoint("138",48.962765,18.137527), new Waypoint("145",48.999775,18.219795), new Waypoint("+X14A",49.019465,18.257303), new Waypoint("+X15",49.04265,18.277817), new Waypoint("153",49.045646,18.298631), new Waypoint("159",49.063304,18.340934), new Waypoint("+X16",49.063716,18.381586), new Waypoint("+X17",49.075651,18.414845), new Waypoint("165",49.092502,18.418837), new Waypoint("+X19",49.1069,18.4159), new Waypoint("169",49.12454,18.44663), new Waypoint("174",49.160246,18.472953), new Waypoint("+X102",49.179936,18.486385), new Waypoint("+X102A",49.186696,18.508186), new Waypoint("+X103",49.208206,18.531876), new Waypoint("183",49.211976,18.558054), new Waypoint("188",49.225593,18.608887), new Waypoint("+X715417",49.219882,18.659377), new Waypoint("+X664520",49.20885,18.665729), new Waypoint("199",49.177481,18.728428), new Waypoint("259",49.094426,19.426703), new Waypoint("+X201",49.097447,19.438419), new Waypoint("+X201A",49.089213,19.457302), new Waypoint("+X202",49.091349,19.52631), new Waypoint("272",49.074723,19.598279), new Waypoint("279",49.056601,19.68029), new Waypoint("+X204",49.053367,19.716597), new Waypoint("284",49.059498,19.746637), new Waypoint("+X205",49.050976,19.786119), new Waypoint("292",49.056088,19.854913), new Waypoint("297",49.070394,19.914823), new Waypoint("+X205A",49.0638,19.95512), new Waypoint("303",49.070893,19.98883), new Waypoint("310",49.065122,20.086827), new Waypoint("+X206",49.072263,20.115065), new Waypoint("315",49.064082,20.145793), new Waypoint("322",49.064904,20.246515), new Waypoint("325",49.073093,20.275698), new Waypoint("329",49.071645,20.326681), new Waypoint("+X302A",49.067877,20.348182), new Waypoint("+X303",49.050245,20.368481), new Waypoint("+X304",49.03663,20.427275), new Waypoint("341",49.013076,20.454654), new Waypoint("+X305",49.002689,20.48624), new Waypoint("350",49.004096,20.573702), new Waypoint("+X575478",49.009952,20.612068), new Waypoint("363",49.007108,20.704562), new Waypoint("368",49.008852,20.810605), new Waypoint("+X401",49.010261,20.859603), new Waypoint("+X402",48.995995,20.914857), new Waypoint("379",49.010782,20.9408), new Waypoint("382",49.021281,20.982298), new Waypoint("+X270975",49.026162,21.02191), new Waypoint("+X376652",48.997677,21.06431), new Waypoint("393",49.001063,21.105337), new Waypoint("+X501",49.007657,21.139369), new Waypoint("400",48.996269,21.202605), new Waypoint("407",48.949422,21.254768), new Waypoint("+X602",48.896268,21.248589), new Waypoint("418",48.857346,21.268587), new Waypoint("422",48.829992,21.30764), new Waypoint("427",48.789803,21.312919), new Waypoint("433",48.743201,21.337938), new Waypoint("+X979822",48.742125,21.375103), new Waypoint("441",48.723783,21.437674), new Waypoint("212",49.134048,18.893223), new Waypoint("215",49.108574,18.957424), new Waypoint("+X895228",49.099555,19.0242), new Waypoint("+X513166",49.115344,19.063769), new Waypoint("229",49.13197,19.070978), new Waypoint("CZE/SVK",48.686158,16.987224), new Waypoint("5",48.639105,17.001686), new Waypoint("+X1",48.604255,17.015333), new Waypoint("+X2",48.552467,17.011385), new Waypoint("+X2A",48.506768,17.031384), new Waypoint("29",48.428047,17.042241), new Waypoint("+X3",48.389888,17.024345), new Waypoint("41",48.326825,17.023745), new Waypoint("+X4",48.27074,17.00881), new Waypoint("50",48.249197,17.012844), new Waypoint("55",48.204441,17.040138), new Waypoint("58",48.185209,17.047863), new Waypoint("59",48.179812,17.057766), new Waypoint("61",48.153769,17.076445), new Waypoint("62",48.14675,17.076187), new Waypoint("65",48.126756,17.076144), new Waypoint("65A",48.123928,17.076466), new Waypoint("65B",48.116085,17.080608), new Waypoint("+X4A",48.099407,17.09713), new Waypoint("71",48.071928,17.101679), new Waypoint("+X5",48.052497,17.105971), new Waypoint("SVK/HUN",48.012966,17.175837), new Waypoint("1",49.225593,18.608887), new Waypoint("2",49.230833,18.622534), new Waypoint("+X01",49.255426,18.670921), new Waypoint("8",49.241779,18.691757), new Waypoint("12",49.245929,18.743062), new Waypoint("39",49.439873,18.797227), new Waypoint("42",49.463173,18.777394), new Waypoint("45",49.486137,18.788767), new Waypoint("+X553007",49.516628,18.861551), new Waypoint("+X192722",49.49935,18.91305), new Waypoint("58",49.504311,18.95339), new Waypoint("SVK/POL",49.508227,18.963068), new Waypoint("AUT/SVK",48.071047,17.072721), new Waypoint("2",48.071928,17.101679), new Waypoint("*Jar",48.071857,17.109468), new Waypoint("4",48.077136,17.130089), new Waypoint("9",48.090249,17.185847), new Waypoint("+X293172",48.093875,17.210512), new Waypoint("13",48.110282,17.224352), new Waypoint("+X709007",48.115361,17.24448), new Waypoint("18",48.131769,17.25081), new Waypoint("+X867824",48.166364,17.252183), new Waypoint("25",48.192605,17.236176), new Waypoint("+26",48.200322,17.229438), new Waypoint("27",48.212921,17.220383), new Waypoint("30",48.228539,17.194215), new Waypoint("I2",48.249769,17.034001), new Waypoint("44",48.249197,17.012844), new Waypoint("II505",48.245025,16.988125) ]; traveler = 'michih'; segments = [ 453545, 453546, 453547, 453548, 453549, 453550, 453551, 453552, 453553, 453554, 453555, 453556, 453557, 453558, 453559, 453560, 453561, 453562, 453563, 453564, 453565, 453566, 453567, 453568, 453569, 453570, 453571, 453572, 453573, 453574, 453575, 453576, 453577, 453578, 453579, 453580, 453581, 453582, 453583, 453584, 453585, 453586, 453587, 453588, 453589, 453590, 453591, 453592, 453593, 453594, 453595, 453596, 453597, 453598, 453599, 453600, 453601, 453606, 453607, 453608, 453609, 453610, 453611, 453612, 453613, 453614, 453615, 453616, 453617, 453618, 453619, 453620, 453621, 453622, 453623, 453624, 453625, 453626, 453627, 453628, 453629, 453630, 453631, 453632, 453633, 453634, 453635, 453636, 453637, 453638, 453639, 453640, 453641, 453642, 453643, 453644, 453645, 453646, 453647, 453648, 453649, 453602, 453603, 453604, 453605, 453650, 453651, 453652, 453653, 453654, 453655, 453656, 453657, 453658, 453659, 453660, 453661, 453662, 453663, 453664, 453665, 453666, 453667, 453668, 453669, 453670, 453671, 453672, 453673, 453674, 453675, 453676, 453677, 453678, 453679, 453680, 453681, 453682, 453683, 453684, 453685, 453686, 453687, 453688, 453689, 453690, 453691, 453692, 453693, 453694, 453695 ]; clinched = [ 453545, 453546, 453547, 453548, 453549, 453550, 453551, 453552, 453553, 453554, 453555, 453556, 453557, 453558, 453559, 453560, 453561, 453562, 453563, 453564, 453565, 453566, 453567, 453568, 453569, 453570, 453571, 453572, 453573, 453574, 453575, 453576, 453577, 453578, 453579, 453580, 453581, 453582, 453583, 453584, 453585, 453586, 453587, 453588, 453589, 453590, 453591, 453592, 453593, 453594, 453595, 453596, 453597, 453598, 453606, 453607, 453608, 453609, 453610, 453611, 453612, 453613, 453614, 453615, 453616, 453617, 453618, 453619, 453620, 453621, 453622, 453623, 453624, 453625, 453626, 453627, 453628, 453629, 453630, 453631, 453632, 453633, 453634, 453635, 453636, 453637, 453638, 453639, 453640, 453641, 453642, 453643, 453644, 453645, 453646, 453647, 453648, 453649, 453602, 453603, 453604, 453605, 453650, 453651, 453652, 453653, 453654, 453655, 453656, 453657, 453658, 453659, 453660, 453661, 453662, 453663, 453664, 453665, 453666, 453667, 453668, 453669, 453670, 453671, 453672, 453673, 453674, 453677, 453678, 453679, 453680, 453681, 453682, 453683, 453684, 453685, 453686, 453687, 453688, 453689, 453690, 453691, 453692, 453693, 453694, 453695 ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }