function waypointsFromSQL() {
routeInfo[0] = { firstWaypoint: 0, root: "ky.audpkwy", tier: 2, color: "TMteal", system: "usakyp", label: "KY AudPkwy" };
routeInfo[1] = { firstWaypoint: 11, root: "ky.blupkwy", tier: 2, color: "TMteal", system: "usakyp", label: "KY BluPkwy" };
routeInfo[2] = { firstWaypoint: 41, root: "ky.commtnpkwy", tier: 2, color: "TMteal", system: "usakyp", label: "KY ComMtnPkwy" };
routeInfo[3] = { firstWaypoint: 89, root: "ky.cumpkwy", tier: 2, color: "TMteal", system: "usakyp", label: "KY CumPkwy" };
routeInfo[4] = { firstWaypoint: 119, root: "ky.halrogpkwy", tier: 2, color: "TMteal", system: "usakyp", label: "KY HalRogPkwy" };
routeInfo[5] = { firstWaypoint: 176, root: "ky.weskypkwy", tier: 2, color: "TMteal", system: "usakyp", label: "KY WesKYPkwy" };
waypoints = [
new Waypoint("1",37.809826,-87.563948),
new Waypoint("+X000(AudPkwy)",37.81025,-87.545312),
new Waypoint("5",37.786072,-87.471417),
new Waypoint("+X001(AudPkwy)",37.774043,-87.436109),
new Waypoint("+X002(AudPkwy)",37.755592,-87.407822),
new Waypoint("10",37.752453,-87.396015),
new Waypoint("+X003(AudPkwy)",37.763171,-87.30835),
new Waypoint("+X004(AudPkwy)",37.751329,-87.287192),
new Waypoint("18",37.756542,-87.260301),
new Waypoint("+X005(AudPkwy)",37.768416,-87.203057),
new Waypoint("24",37.765685,-87.163537),
new Waypoint("1",37.70282,-85.833655),
new Waypoint("+X000(BluPkwy)",37.715756,-85.795187),
new Waypoint("+X001(BluPkwy)",37.718696,-85.745072),
new Waypoint("8",37.737667,-85.699899),
new Waypoint("+X002(BluPkwy)",37.74663,-85.684009),
new Waypoint("10",37.748933,-85.674477),
new Waypoint("+X003(BluPkwy)",37.755168,-85.631298),
new Waypoint("+X004(BluPkwy)",37.761708,-85.61506),
new Waypoint("+X005(BluPkwy)",37.760499,-85.571083),
new Waypoint("+X006(BluPkwy)",37.780391,-85.535131),
new Waypoint("+X007(BluPkwy)",37.777584,-85.520883),
new Waypoint("21",37.785423,-85.489045),
new Waypoint("+X008(BluPkwy)",37.775269,-85.464771),
new Waypoint("25",37.797526,-85.429628),
new Waypoint("+X009(BluPkwy)",37.833624,-85.381193),
new Waypoint("34",37.871771,-85.30077),
new Waypoint("+X010(BluPkwy)",37.883339,-85.233157),
new Waypoint("42",37.870687,-85.158972),
new Waypoint("+X011(BluPkwy)",37.896547,-85.106626),
new Waypoint("+X012(BluPkwy)",37.901589,-85.064875),
new Waypoint("48",37.906283,-85.053277),
new Waypoint("+X013(BluPkwy)",37.951029,-84.905187),
new Waypoint("59",37.973035,-84.875055),
new Waypoint("+X014(BluPkwy)",37.980401,-84.864578),
new Waypoint("+X015(BluPkwy)",37.987707,-84.842471),
new Waypoint("+X016(BluPkwy)",37.984346,-84.816508),
new Waypoint("+X017(BluPkwy)",37.998991,-84.799513),
new Waypoint("68",38.02514,-84.72343),
new Waypoint("+X018(BluPkwy)",38.032222,-84.697026),
new Waypoint("72",38.046786,-84.680573),
new Waypoint("I-64",38.018987,-84.15029),
new Waypoint("+X000(ComMtnPkwy)",38.000686,-84.131976),
new Waypoint("+X001(ComMtnPkwy)",37.971428,-84.039005),
new Waypoint("10",37.936196,-84.000856),
new Waypoint("+X003(ComMtnPkwy)",37.927473,-83.985307),
new Waypoint("+X207354",37.905674,-83.967905),
new Waypoint("16",37.865961,-83.945224),
new Waypoint("18",37.846045,-83.918349),
new Waypoint("+X005(ComMtnPkwy)",37.830412,-83.885127),
new Waypoint("22",37.841241,-83.858321),
new Waypoint("+X006(ComMtnPkwy)",37.844897,-83.764578),
new Waypoint("+X007(ComMtnPkwy)",37.829908,-83.753747),
new Waypoint("+X008(ComMtnPkwy)",37.826141,-83.72892),
new Waypoint("+X263476",37.809903,-83.711979),
new Waypoint("33",37.796899,-83.703804),
new Waypoint("+X009(ComMtnPkwy)",37.793325,-83.682851),
new Waypoint("+X010(ComMtnPkwy)",37.80062,-83.658067),
new Waypoint("+X011(ComMtnPkwy)",37.782091,-83.647166),
new Waypoint("+X012(ComMtnPkwy)",37.768637,-83.613843),
new Waypoint("40",37.752937,-83.605657),
new Waypoint("42",37.741887,-83.578904),
new Waypoint("43",37.741569,-83.568165),
new Waypoint("+X013(ComMtnPkwy)",37.745493,-83.528618),
new Waypoint("46",37.742825,-83.505578),
new Waypoint("+X014(ComMtnPkwy)",37.753743,-83.489581),
new Waypoint("+X015(ComMtnPkwy)",37.734238,-83.462834),
new Waypoint("+X016(ComMtnPkwy)",37.735795,-83.437906),
new Waypoint("+X017(ComMtnPkwy)",37.746273,-83.426056),
new Waypoint("53",37.746685,-83.400993),
new Waypoint("+X018(ComMtnPkwy)",37.742774,-83.387893),
new Waypoint("+X019(ComMtnPkwy)",37.762038,-83.361281),
new Waypoint("57",37.765287,-83.344345),
new Waypoint("*OldExit57",37.765287,-83.341684),
new Waypoint("+X020(ComMtnPkwy)",37.757399,-83.319696),
new Waypoint("*OldExit60",37.755028,-83.299139),
new Waypoint("60",37.75289,-83.293093),
new Waypoint("*61",37.752101,-83.284349),
new Waypoint("+X022(ComMtnPkwy)",37.754167,-83.272011),
new Waypoint("+X023(ComMtnPkwy)",37.74447,-83.243601),
new Waypoint("*OldMtnPkwy_W",37.742023,-83.200434),
new Waypoint("*OldMtnPkwy_E",37.750299,-83.166322),
new Waypoint("70",37.737533,-83.127202),
new Waypoint("72",37.731523,-83.107238),
new Waypoint("+X034(ComMtnPkwy)",37.73042,-83.078399),
new Waypoint("+X035(ComMtnPkwy)",37.735783,-83.070996),
new Waypoint("75",37.736024,-83.063067),
new Waypoint("+X036(ComMtnPkwy)",37.741845,-83.054404),
new Waypoint("US460",37.741234,-83.05074),
new Waypoint("1",37.058388,-86.11194),
new Waypoint("+X000(CumPkwy)",37.043215,-86.069319),
new Waypoint("8",36.992361,-85.980318),
new Waypoint("11",36.978117,-85.934812),
new Waypoint("+X002(CumPkwy)",36.973407,-85.912517),
new Waypoint("14",36.983413,-85.89475),
new Waypoint("15",36.994395,-85.875278),
new Waypoint("27",36.996422,-85.658534),
new Waypoint("+X003(CumPkwy)",36.997202,-85.632479),
new Waypoint("29",37.000768,-85.616211),
new Waypoint("+X004(CumPkwy)",37.008876,-85.57862),
new Waypoint("+X005(CumPkwy)",37.026253,-85.549856),
new Waypoint("+X006(CumPkwy)",37.028111,-85.491067),
new Waypoint("+X007(CumPkwy)",37.043793,-85.449069),
new Waypoint("+X008(CumPkwy)",37.072432,-85.406669),
new Waypoint("46",37.073044,-85.339469),
new Waypoint("49",37.088481,-85.303125),
new Waypoint("+X009(CumPkwy)",37.088139,-85.270627),
new Waypoint("+X010(CumPkwy)",37.046392,-85.13862),
new Waypoint("+X011(CumPkwy)",37.044696,-85.100001),
new Waypoint("62",37.051452,-85.070132),
new Waypoint("+X012(CumPkwy)",37.069025,-85.038713),
new Waypoint("+X013(CumPkwy)",37.073691,-84.964077),
new Waypoint("70",37.085113,-84.930593),
new Waypoint("+X015(CumPkwy)",37.086607,-84.889657),
new Waypoint("+X016(CumPkwy)",37.10059,-84.859997),
new Waypoint("78",37.092645,-84.80087),
new Waypoint("*OldCumPkwy",37.099371,-84.676314),
new Waypoint("86",37.104698,-84.662645),
new Waypoint("88",37.12556,-84.636961),
new Waypoint("KY914",37.096812,-84.661074),
new Waypoint("KY3261",37.096368,-84.658992),
new Waypoint("TigWay",37.093355,-84.638371),
new Waypoint("KY3263",37.09336,-84.630116),
new Waypoint("US27",37.094925,-84.619617),
new Waypoint("KY1247",37.101159,-84.608846),
new Waypoint("KY39",37.102443,-84.603803),
new Waypoint("KY3260_W",37.100817,-84.58889),
new Waypoint("KY80Bus",37.100372,-84.581466),
new Waypoint("KY914_E",37.103829,-84.575071),
new Waypoint("KY3260_E",37.126723,-84.554429),
new Waypoint("KY1317",37.146635,-84.532456),
new Waypoint("*OldHRPkwy_W",37.157187,-84.506428),
new Waypoint("KY461",37.159872,-84.502995),
new Waypoint("*OldHRPkwy_E",37.15953,-84.497609),
new Waypoint("KY692",37.158367,-84.486494),
new Waypoint("KY1003",37.156691,-84.466667),
new Waypoint("KY1675",37.152894,-84.431605),
new Waypoint("HawkRd",37.165789,-84.392295),
new Waypoint("KY1956_W",37.156794,-84.323974),
new Waypoint("ChiRockRd",37.147866,-84.313202),
new Waypoint("RocRd",37.146908,-84.278998),
new Waypoint("+X666297",37.162916,-84.228444),
new Waypoint("KY1535",37.145711,-84.165187),
new Waypoint("KY1035",37.148824,-84.143),
new Waypoint("KY1956_E",37.150158,-84.12313),
new Waypoint("I-75",37.146481,-84.111151),
new Waypoint("KY3006",37.144488,-84.106554),
new Waypoint("US25",37.143184,-84.102402),
new Waypoint("KY1769",37.144358,-84.088452),
new Waypoint("KY30",37.144856,-84.082661),
new Waypoint("KY638",37.138886,-84.06462),
new Waypoint("KY472",37.131411,-84.054551),
new Waypoint("KY192",37.122754,-84.042878),
new Waypoint("WatRd",37.107063,-83.98755),
new Waypoint("+X877359",37.10575,-83.958786),
new Waypoint("UrbForkRd",37.129337,-83.868524),
new Waypoint("+X988665",37.143526,-83.809483),
new Waypoint("+X317527",37.133031,-83.796024),
new Waypoint("20",37.136167,-83.76895),
new Waypoint("+X223138",37.128297,-83.753082),
new Waypoint("KY1999",37.133459,-83.726287),
new Waypoint("+X902480",37.144574,-83.660309),
new Waypoint("KY873",37.149833,-83.655267),
new Waypoint("+X248866",37.164215,-83.633251),
new Waypoint("+X165105",37.182467,-83.633112),
new Waypoint("+X953607",37.188561,-83.609626),
new Waypoint("34",37.170649,-83.586586),
new Waypoint("+X548796",37.165421,-83.579553),
new Waypoint("+X798311",37.167567,-83.461236),
new Waypoint("44",37.185826,-83.425498),
new Waypoint("+X130787",37.220854,-83.379847),
new Waypoint("LewBraRd",37.219855,-83.353411),
new Waypoint("+X853842",37.246865,-83.311644),
new Waypoint("56",37.259777,-83.24815),
new Waypoint("KY3677",37.28292,-83.224595),
new Waypoint("59",37.288241,-83.220856),
new Waypoint("38",37.212451,-87.441312),
new Waypoint("+X001(WKYPkwy)",37.212562,-87.40448),
new Waypoint("+X002(WKYPkwy)",37.229521,-87.37166),
new Waypoint("+X003(WKYPkwy)",37.236714,-87.326058),
new Waypoint("+X004(WKYPkwy)",37.231161,-87.290019),
new Waypoint("48",37.234416,-87.274414),
new Waypoint("53",37.253479,-87.198025),
new Waypoint("+X005(WKYPkwy)",37.256447,-87.180355),
new Waypoint("+X006(WKYPkwy)",37.272286,-87.15534),
new Waypoint("58",37.281903,-87.109206),
new Waypoint("+X007(WKYPkwy)",37.288817,-87.084895),
new Waypoint("+X008(WKYPkwy)",37.31506,-87.051474),
new Waypoint("+X009(WKYPkwy)",37.321758,-87.032635),
new Waypoint("+X010(WKYPkwy)",37.320085,-86.998072),
new Waypoint("+X011(WKYPkwy)",37.353648,-86.914183),
new Waypoint("+X012(WKYPkwy)",37.352224,-86.894281),
new Waypoint("75",37.367565,-86.842659),
new Waypoint("77",37.38457,-86.809099),
new Waypoint("+X013(WKYPkwy)",37.39266,-86.787626),
new Waypoint("+X014(WKYPkwy)",37.392915,-86.716461),
new Waypoint("+X015(WKYPkwy)",37.384105,-86.654486),
new Waypoint("+X016(WKYPkwy)",37.397382,-86.563602),
new Waypoint("+X017(WKYPkwy)",37.408956,-86.544344),
new Waypoint("94",37.413221,-86.502829),
new Waypoint("+X018(WKYPkwy)",37.408444,-86.462848),
new Waypoint("+X019(WKYPkwy)",37.418951,-86.400749),
new Waypoint("+X020(WKYPkwy)",37.442329,-86.366487),
new Waypoint("+X021(WKYPkwy)",37.452862,-86.321495),
new Waypoint("107",37.466105,-86.292372),
new Waypoint("+X022(WKYPkwy)",37.468659,-86.266724),
new Waypoint("112",37.489076,-86.208987),
new Waypoint("+X023(WKYPkwy)",37.499389,-86.167043),
new Waypoint("+X024(WKYPkwy)",37.549145,-86.119981),
new Waypoint("+X025(WKYPkwy)",37.553347,-86.088749),
new Waypoint("124",37.571522,-86.037455),
new Waypoint("+X026(WKYPkwy)",37.57613,-86.022847),
new Waypoint("+X027(WKYPkwy)",37.647679,-85.910565),
new Waypoint("133",37.654415,-85.889466),
new Waypoint("136",37.679375,-85.861303),
new Waypoint("+X030(WKYPkwy)",37.679159,-85.855891),
new Waypoint("137",37.673754,-85.850574),
new Waypoint("US31W",37.669877,-85.84646)
];
traveler = 'duke87';
segments = [
684735,
684736,
684737,
684738,
684739,
684740,
684741,
684742,
684743,
684744,
684792,
684793,
684794,
684795,
684796,
684797,
684798,
684799,
684800,
684801,
684802,
684803,
684804,
684805,
684806,
684807,
684808,
684809,
684810,
684811,
684812,
684813,
684814,
684815,
684816,
684817,
684818,
684819,
684820,
684745,
684746,
684747,
684748,
684749,
684750,
684751,
684752,
684753,
684754,
684755,
684756,
684757,
684758,
684759,
684760,
684761,
684762,
684763,
684764,
684765,
684766,
684767,
684768,
684769,
684770,
684771,
684772,
684773,
684774,
684775,
684776,
684777,
684778,
684779,
684780,
684781,
684782,
684783,
684784,
684785,
684786,
684787,
684788,
684789,
684790,
684791,
684821,
684822,
684823,
684824,
684825,
684826,
684827,
684828,
684829,
684830,
684831,
684832,
684833,
684834,
684835,
684836,
684837,
684838,
684839,
684840,
684841,
684842,
684843,
684844,
684845,
684846,
684847,
684848,
684849,
684850,
684851,
684852,
684853,
684854,
684855,
684856,
684857,
684858,
684859,
684860,
684861,
684862,
684863,
684864,
684865,
684866,
684867,
684868,
684869,
684870,
684871,
684872,
684873,
684874,
684875,
684876,
684877,
684878,
684879,
684880,
684881,
684882,
684883,
684884,
684885,
684886,
684887,
684888,
684889,
684890,
684891,
684892,
684893,
684894,
684895,
684896,
684897,
684898,
684899,
684900,
684901,
684902,
684903,
684904,
684905,
684906,
684907,
684908,
684909,
684910,
684911,
684912,
684913,
684914,
684915,
684916,
684917,
684918,
684919,
684920,
684921,
684922,
684923,
684924,
684925,
684926,
684927,
684928,
684929,
684930,
684931,
684932,
684933,
684934,
684935,
684936,
684937,
684938,
684939,
684940,
684941,
684942,
684943,
684944,
684945,
684946
];
clinched = [
684792,
684793,
684794,
684795,
684796,
684797,
684798,
684799,
684800,
684801,
684802,
684803,
684804,
684805,
684806,
684807,
684808,
684809,
684810,
684811,
684812,
684813,
684814,
684815,
684816,
684817,
684818,
684819,
684820,
684745,
684746,
684747,
684748,
684749,
684750,
684751,
684752,
684753,
684754,
684755,
684756,
684757,
684758,
684759,
684760,
684761,
684762,
684763,
684764,
684765,
684766,
684767,
684768,
684769,
684770,
684771,
684772,
684773,
684774,
684775,
684776,
684777,
684778,
684779,
684780,
684781,
684782,
684783,
684784,
684785,
684786,
684787,
684788,
684789,
684790,
684791,
684821,
684822,
684823,
684824,
684825,
684826,
684827,
684828,
684829,
684830,
684831,
684832,
684833,
684834,
684835,
684836,
684837,
684838,
684839,
684840,
684841,
684842,
684843,
684844,
684845,
684846,
684847,
684848,
684849,
684854,
684855,
684856,
684857,
684858,
684859,
684860,
684861,
684862,
684863,
684864,
684865,
684866,
684867,
684868,
684869,
684870,
684871,
684872,
684873,
684874,
684875,
684906,
684907,
684908,
684909,
684910,
684911,
684912,
684913,
684914,
684915,
684916,
684917,
684918,
684919,
684920,
684921,
684922,
684923,
684924,
684925,
684926,
684927,
684928,
684929,
684930,
684931,
684932,
684933,
684934,
684935,
684936,
684937,
684938,
684939,
684940,
684941,
684942,
684943,
684944,
684945
];
mapClinched = true;
mapStatus = mapStates.MAPVIEW;
genEdges = true;
}