function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "cog.n001", tier: 4, color: "TMgreen", system: "cogn", label: "COG N1" }; routeInfo[1] = { firstWaypoint: 100, root: "cog.n002", tier: 4, color: "TMgreen", system: "cogn", label: "COG N2" }; routeInfo[2] = { firstWaypoint: 222, root: "cog.n003", tier: 4, color: "TMgreen", system: "cogn", label: "COG N3" }; routeInfo[3] = { firstWaypoint: 254, root: "cog.n004", tier: 4, color: "TMgreen", system: "cogn", label: "COG N4" }; routeInfo[4] = { firstWaypoint: 263, root: "cog.n005", tier: 4, color: "TMgreen", system: "cogn", label: "COG N5" }; routeInfo[5] = { firstWaypoint: 288, root: "cog.n006", tier: 4, color: "TMgreen", system: "cogn", label: "COG N6" }; waypoints = [ new Waypoint("N2",-4.280145,15.259752), new Waypoint("AveMat",-4.2894,15.244367), new Waypoint("AveMet",-4.302516,15.229111), new Waypoint("AveFulYou",-4.308465,15.230463), new Waypoint("San",-4.310915,15.187612), new Waypoint("Louk",-4.331477,15.14328), new Waypoint("+X965747",-4.333274,15.093756), new Waypoint("+X364177",-4.322661,15.074444), new Waypoint("+X271079",-4.345427,15.036592), new Waypoint("+X655099",-4.370203,15.020628), new Waypoint("+X293665",-4.364983,14.949818), new Waypoint("+X440432",-4.345898,14.898491), new Waypoint("+X260990",-4.362544,14.842358), new Waypoint("P24",-4.376065,14.76614), new Waypoint("Mat",-4.331134,14.75069), new Waypoint("+X101541",-4.336312,14.69842), new Waypoint("+X352823",-4.28252,14.646149), new Waypoint("+X762058",-4.292363,14.63027), new Waypoint("+X933655",-4.293133,14.559031), new Waypoint("+X134406",-4.285901,14.504356), new Waypoint("Mis",-4.271479,14.486418), new Waypoint("+X337760",-4.268911,14.456463), new Waypoint("+X704731",-4.249481,14.434404), new Waypoint("Min",-4.270281,14.361877), new Waypoint("BraByp",-4.242206,14.339304), new Waypoint("+X850144",-4.252092,14.320722), new Waypoint("+X100751",-4.223353,14.294286), new Waypoint("Kin",-4.227847,14.281926), new Waypoint("+X289014",-4.236984,14.232016), new Waypoint("Loul",-4.308625,14.096746), new Waypoint("+X608739",-4.327754,13.999929), new Waypoint("Kim",-4.314959,13.953323), new Waypoint("+X480628",-4.304431,13.914356), new Waypoint("Lou_E",-4.311535,13.89822), new Waypoint("+X408317",-4.306871,13.882599), new Waypoint("+X802751",-4.28359,13.870497), new Waypoint("Lou_W",-4.276015,13.841228), new Waypoint("+X475449",-4.239724,13.824062), new Waypoint("P8",-4.198636,13.793592), new Waypoint("Boua",-4.201547,13.768101), new Waypoint("+X190704",-4.181901,13.702612), new Waypoint("+X314055",-4.194356,13.684845), new Waypoint("+X319449",-4.171757,13.64974), new Waypoint("Mad_E",-4.160276,13.577642), new Waypoint("+X700681",-4.149243,13.546658), new Waypoint("Mad_W",-4.16675,13.521767), new Waypoint("+X391893",-4.186139,13.43276), new Waypoint("+X416448",-4.160201,13.357573), new Waypoint("+X223176",-4.17485,13.308864), new Waypoint("Nka",-4.166514,13.276978), new Waypoint("Kan",-4.158211,13.221316), new Waypoint("Kio",-4.145648,13.168058), new Waypoint("+X313259",-4.139741,13.110638), new Waypoint("P5",-4.148965,13.048325), new Waypoint("+X641626",-4.152753,13.028755), new Waypoint("+X604656",-4.192452,12.997255), new Waypoint("+X379699",-4.188536,12.953911), new Waypoint("MontBelo",-4.171415,12.903957), new Waypoint("+X101652",-4.16722,12.838554), new Waypoint("+X906138",-4.181859,12.788687), new Waypoint("TaoTao",-4.168333,12.760448), new Waypoint("+X568889",-4.176294,12.694616), new Waypoint("N3",-4.156488,12.659233), new Waypoint("Veg",-4.164652,12.637539), new Waypoint("Mou",-4.183057,12.615824), new Waypoint("+X919773",-4.187337,12.575569), new Waypoint("LesBan",-4.199664,12.563982), new Waypoint("+X749387",-4.194356,12.554884), new Waypoint("+X886884",-4.219523,12.54261), new Waypoint("+X859832",-4.210706,12.53274), new Waypoint("+X793051",-4.232191,12.523298), new Waypoint("+X549374",-4.222176,12.505789), new Waypoint("Mvo",-4.241692,12.487164), new Waypoint("Mpo",-4.265402,12.467422), new Waypoint("+X761880",-4.290737,12.449141), new Waypoint("+X918782",-4.31299,12.454119), new Waypoint("Mal",-4.324288,12.436609), new Waypoint("+X229139",-4.346711,12.414465), new Waypoint("+X579989",-4.338495,12.388887), new Waypoint("+X923801",-4.327283,12.38966), new Waypoint("+X134153",-4.327026,12.363997), new Waypoint("LesSar",-4.347823,12.34211), new Waypoint("+X292995",-4.352702,12.289667), new Waypoint("+X201121",-4.366224,12.284174), new Waypoint("+X221790",-4.380088,12.249413), new Waypoint("Dou",-4.414233,12.228813), new Waypoint("+X180554",-4.444997,12.203321), new Waypoint("+X688666",-4.420694,12.167702), new Waypoint("N6",-4.420545,12.140622), new Waypoint("+X664089",-4.460486,12.11689), new Waypoint("+X594325",-4.460529,12.103329), new Waypoint("+X786103",-4.501045,12.08951), new Waypoint("Hin",-4.613941,12.039814), new Waypoint("+X175923",-4.640718,11.986685), new Waypoint("+X926940",-4.670531,11.973767), new Waypoint("Bouk",-4.671194,11.958575), new Waypoint("Vin",-4.706481,11.936131), new Waypoint("AveJPTT",-4.751228,11.903064), new Waypoint("AveMaLoa",-4.764657,11.889482), new Waypoint("AveRayPai",-4.76145,11.867208), new Waypoint("N1",-4.280145,15.259752), new Waypoint("AveCha",-4.280755,15.271361), new Waypoint("BlvdDSN_E",-4.273394,15.283163), new Waypoint("P20",-4.267028,15.2846), new Waypoint("AveTroMar",-4.244196,15.285974), new Waypoint("RuePal",-4.233026,15.27945), new Waypoint("AveMarNgo",-4.21903,15.273099), new Waypoint("Nkom",-4.190708,15.255396), new Waypoint("+X151773",-4.162384,15.257049), new Waypoint("Man",-4.141571,15.298634), new Waypoint("+X402476",-4.129939,15.310779), new Waypoint("Kin",-4.132529,15.345926), new Waypoint("Kin_N",-4.117804,15.357943), new Waypoint("+X415085",-4.063933,15.372791), new Waypoint("+X549381",-4.01299,15.356827), new Waypoint("PKRou",-3.99197,15.378242), new Waypoint("+X721154",-3.947702,15.375452), new Waypoint("BraByp",-3.894505,15.407081), new Waypoint("+X639013",-3.86935,15.412273), new Waypoint("+X565750",-3.847427,15.439053), new Waypoint("Nkou",-3.699776,15.497932), new Waypoint("+X518755",-3.63395,15.513725), new Waypoint("Odz",-3.57827,15.513897), new Waypoint("Ing",-3.480438,15.520248), new Waypoint("+X584943",-3.461932,15.519562), new Waypoint("+X449972",-3.359289,15.549946), new Waypoint("+X761889",-3.310277,15.583248), new Waypoint("Ioni",-3.06651,15.635777), new Waypoint("+X428760",-3.014441,15.664358), new Waypoint("Lef",-2.916061,15.632086), new Waypoint("+X832363",-2.888845,15.616894), new Waypoint("+X340320",-2.90556,15.605521), new Waypoint("+X870075",-2.864199,15.547457), new Waypoint("Ets",-2.854513,15.55295), new Waypoint("Adzi_S",-2.76452,15.518017), new Waypoint("+X316282",-2.728298,15.527716), new Waypoint("Adzi_N",-2.666955,15.5793), new Waypoint("P26",-2.484684,15.752592), new Waypoint("+X540264",-2.432183,15.75654), new Waypoint("Oni",-2.349428,15.806065), new Waypoint("+X611850",-2.27606,15.827522), new Waypoint("+X501683",-2.082009,15.880051), new Waypoint("+X156763",-2.010214,15.86709), new Waypoint("P27",-1.895268,15.868378), new Waypoint("P30",-1.877103,15.866876), new Waypoint("+X730169",-1.868203,15.887389), new Waypoint("Nts",-1.765472,15.933609), new Waypoint("+X401626",-1.744347,15.929275), new Waypoint("+X950293",-1.683413,15.883141), new Waypoint("Ong",-1.597145,15.881681), new Waypoint("+X174294",-1.56008,15.884085), new Waypoint("+X835641",-1.457956,15.935884), new Waypoint("+X630995",-1.37775,15.935841), new Waypoint("Ngo",-1.370628,15.904169), new Waypoint("+X713200",-1.330471,15.895243), new Waypoint("+X578886",-1.311765,15.906744), new Waypoint("Oll",-1.271778,15.893612), new Waypoint("AerOll",-1.226813,15.918417), new Waypoint("Oyo",-1.159451,15.972147), new Waypoint("+X575469",-1.105431,15.946827), new Waypoint("+X466778",-1.004983,15.817652), new Waypoint("+X353809",-0.980267,15.773363), new Waypoint("Obo",-0.928798,15.721478), new Waypoint("+X416879",-0.908566,15.758343), new Waypoint("+X411901",-0.786184,15.862026), new Waypoint("+X792110",-0.77374,15.887432), new Waypoint("+X973463",-0.719242,15.866146), new Waypoint("+X625340",-0.685857,15.906315), new Waypoint("+X933640",-0.655475,15.919361), new Waypoint("+X742823",-0.563813,15.878849), new Waypoint("OwaAir",-0.515235,15.927944), new Waypoint("Owa",-0.485538,15.908718), new Waypoint("+X714075",-0.471978,15.913525), new Waypoint("+X541994",-0.450435,15.896702), new Waypoint("+X936948",-0.420652,15.889664), new Waypoint("+X734244",-0.389754,15.857563), new Waypoint("+X283281",-0.364606,15.781002), new Waypoint("+X543314",-0.309933,15.756969), new Waypoint("+X836718",-0.251741,15.760403), new Waypoint("+X957389",-0.219469,15.735855), new Waypoint("+X743289",-0.159216,15.727959), new Waypoint("+X949852",-0.099735,15.671482), new Waypoint("Mak",-0.005472,15.625606), new Waypoint("+X681092",0.0053,15.633802), new Waypoint("+X290276",0.077977,15.559559), new Waypoint("+X694639",0.128102,15.566511), new Waypoint("+X781471",0.166039,15.530806), new Waypoint("Doua",0.216679,15.535097), new Waypoint("+X712602",0.257963,15.492182), new Waypoint("+X479130",0.289205,15.496731), new Waypoint("+X745721",0.324653,15.422831), new Waypoint("+X917134",0.357182,15.409269), new Waypoint("+X782669",0.396234,15.415707), new Waypoint("+X675019",0.435801,15.389442), new Waypoint("+X438185",0.472965,15.347385), new Waypoint("+X927178",0.527465,15.359573), new Waypoint("+X535899",0.615866,15.339146), new Waypoint("+X374325",0.646763,15.344982), new Waypoint("+X623057",0.674313,15.333824), new Waypoint("+X141420",0.693624,15.342665), new Waypoint("+X328474",0.709501,15.319834), new Waypoint("+X948992",0.767647,15.300694), new Waypoint("+X183142",0.812103,15.368586), new Waypoint("+X520914",0.83343,15.446434), new Waypoint("+X276295",0.823775,15.490723), new Waypoint("+X872443",0.840724,15.543337), new Waypoint("+X583329",0.932381,15.604706), new Waypoint("+X619692",0.946648,15.633845), new Waypoint("+X397723",1.043343,15.677319), new Waypoint("Lio",1.051517,15.690365), new Waypoint("+X111917",1.048943,15.697317), new Waypoint("+X114231",1.127142,15.726585), new Waypoint("+X649851",1.205918,15.793877), new Waypoint("+X866024",1.329999,15.833874), new Waypoint("+X325132",1.384228,15.854816), new Waypoint("+X817331",1.389205,15.868893), new Waypoint("+X317630",1.446179,15.875416), new Waypoint("P42",1.486721,15.901165), new Waypoint("Mok",1.564971,15.947084), new Waypoint("+X975677",1.5796,15.952406), new Waypoint("+X785337",1.595343,16.025448), new Waypoint("Oue",1.617179,16.059566), new Waypoint("P2",-4.197588,12.6723), new Waypoint("RueKibLima",-4.174261,12.659469), new Waypoint("N1",-4.156488,12.659233), new Waypoint("+X364379",-4.123947,12.660542), new Waypoint("+X792404",-4.08662,12.638054), new Waypoint("+X654994",-4.020867,12.633247), new Waypoint("Lou",-3.965213,12.598572), new Waypoint("+X603262",-3.91101,12.562351), new Waypoint("+X909756",-3.853208,12.567844), new Waypoint("+X704111",-3.802252,12.526817), new Waypoint("+X526933",-3.778508,12.479696), new Waypoint("N6",-3.715728,12.450213), new Waypoint("P1",-3.714583,12.449505), new Waypoint("+X475383",-3.683416,12.437038), new Waypoint("+X177955",-3.638104,12.44545), new Waypoint("MouYama",-3.591163,12.408028), new Waypoint("PontNia",-3.555077,12.340608), new Waypoint("+X615191",-3.520317,12.350864), new Waypoint("Kib",-3.482365,12.316618), new Waypoint("Kay",-3.388828,12.198772), new Waypoint("+X228812",-3.345409,12.161694), new Waypoint("+X509472",-3.313019,12.161522), new Waypoint("Tch",-3.232256,12.124615), new Waypoint("+X731541",-3.130532,12.006598), new Waypoint("+X674919",-3.005999,11.982307), new Waypoint("+X798704",-2.98457,11.96188), new Waypoint("+X735845",-2.979856,11.931496), new Waypoint("P7",-2.914882,11.888666), new Waypoint("+X127638",-2.845233,11.814766), new Waypoint("+X603781",-2.777165,11.737175), new Waypoint("+X520842",-2.774765,11.682243), new Waypoint("COG/GAB",-2.682044,11.62508), new Waypoint("AveMarNgo",-4.799271,11.858089), new Waypoint("AveLinTch",-4.804729,11.862381), new Waypoint("AveBitNdo",-4.815548,11.871157), new Waypoint("Tch",-4.850004,11.905403), new Waypoint("Til",-4.88417,11.927977), new Waypoint("Dje",-4.92261,11.947203), new Waypoint("Fou",-4.972463,11.985312), new Waypoint("Nza",-4.982766,12.037754), new Waypoint("COG/AGO",-4.989222,12.057967), new Waypoint("AveEmmDad",-4.786511,11.857638), new Waypoint("AveJFT",-4.780556,11.860042), new Waypoint("AveRayPal",-4.753003,11.86223), new Waypoint("Siaf",-4.72576,11.865449), new Waypoint("Loa",-4.668179,11.829271), new Waypoint("+X827039",-4.596274,11.822577), new Waypoint("Tch",-4.569965,11.80687), new Waypoint("+X570113",-4.519399,11.766615), new Waypoint("BasKou",-4.483461,11.720567), new Waypoint("+X166696",-4.444997,11.694345), new Waypoint("+X494993",-4.442986,11.707134), new Waypoint("MadKay",-4.431263,11.700954), new Waypoint("+X396090",-4.412008,11.69486), new Waypoint("+X707709",-4.362372,11.695719), new Waypoint("+X710199",-4.330792,11.673231), new Waypoint("You",-4.268055,11.664219), new Waypoint("+X175744",-4.259325,11.618385), new Waypoint("Yan",-4.268654,11.595469), new Waypoint("+X995907",-4.28573,11.547832), new Waypoint("+X520383",-4.185668,11.416512), new Waypoint("Nou",-4.136659,11.370592), new Waypoint("Sial",-4.037542,11.385055), new Waypoint("+X689585",-4.032833,11.34583), new Waypoint("+X483760",-4.005948,11.309867), new Waypoint("TanNgo",-3.983558,11.298108), new Waypoint("N1",-4.420545,12.140622), new Waypoint("Nzi",-4.403194,12.151737), new Waypoint("Lou",-4.372985,12.142639), new Waypoint("+X955165",-4.357409,12.140064), new Waypoint("+X865939",-4.339351,12.161608), new Waypoint("Kin",-4.286629,12.154913), new Waypoint("+X654213",-4.26369,12.139292), new Waypoint("+X181930",-4.252049,12.144699), new Waypoint("+X598001",-4.239552,12.123327), new Waypoint("+X591653",-4.225686,12.137575), new Waypoint("+X339440",-4.216912,12.124357), new Waypoint("+X589236",-4.213873,12.138262), new Waypoint("+X842983",-4.171158,12.125902), new Waypoint("+X562377",-4.16645,12.140751), new Waypoint("+X628389",-4.142695,12.128563), new Waypoint("Bou",-4.111234,12.145901), new Waypoint("+X472215",-4.109222,12.196283), new Waypoint("+X375899",-4.090002,12.185469), new Waypoint("+X797283",-4.063291,12.190962), new Waypoint("NGoma",-4.046424,12.211647), new Waypoint("+X674261",-4.013119,12.224779), new Waypoint("+X434588",-3.989487,12.224607), new Waypoint("BouBan",-3.953011,12.234306), new Waypoint("+X492022",-3.931219,12.279282), new Waypoint("+X582581",-3.925096,12.309237), new Waypoint("Mou",-3.910711,12.31164), new Waypoint("+X169570",-3.885492,12.337132), new Waypoint("+X328669",-3.817539,12.378502), new Waypoint("+X791758",-3.814199,12.397127), new Waypoint("N3",-3.715728,12.450213) ]; traveler = ''; segments = [ 881606, 881607, 881608, 881609, 881610, 881611, 881612, 881613, 881614, 881615, 881616, 881617, 881618, 881619, 881620, 881621, 881622, 881623, 881624, 881625, 881626, 881627, 881628, 881629, 881630, 881631, 881632, 881633, 881634, 881635, 881636, 881637, 881638, 881639, 881640, 881641, 881642, 881643, 881644, 881645, 881646, 881647, 881648, 881649, 881650, 881651, 881652, 881653, 881654, 881655, 881656, 881657, 881658, 881659, 881660, 881661, 881662, 881663, 881664, 881665, 881666, 881667, 881668, 881669, 881670, 881671, 881672, 881673, 881674, 881675, 881676, 881677, 881678, 881679, 881680, 881681, 881682, 881683, 881684, 881685, 881686, 881687, 881688, 881689, 881690, 881691, 881692, 881693, 881694, 881695, 881696, 881697, 881698, 881699, 881700, 881701, 881702, 881703, 881704, 881705, 881706, 881707, 881708, 881709, 881710, 881711, 881712, 881713, 881714, 881715, 881716, 881717, 881718, 881719, 881720, 881721, 881722, 881723, 881724, 881725, 881726, 881727, 881728, 881729, 881730, 881731, 881732, 881733, 881734, 881735, 881736, 881737, 881738, 881739, 881740, 881741, 881742, 881743, 881744, 881745, 881746, 881747, 881748, 881749, 881750, 881751, 881752, 881753, 881754, 881755, 881756, 881757, 881758, 881759, 881760, 881761, 881762, 881763, 881764, 881765, 881766, 881767, 881768, 881769, 881770, 881771, 881772, 881773, 881774, 881775, 881776, 881777, 881778, 881779, 881780, 881781, 881782, 881783, 881784, 881785, 881786, 881787, 881788, 881789, 881790, 881791, 881792, 881793, 881794, 881795, 881796, 881797, 881798, 881799, 881800, 881801, 881802, 881803, 881804, 881805, 881806, 881807, 881808, 881809, 881810, 881811, 881812, 881813, 881814, 881815, 881816, 881817, 881818, 881819, 881820, 881821, 881822, 881823, 881824, 881825, 881826, 881827, 881828, 881829, 881830, 881831, 881832, 881833, 881834, 881835, 881836, 881837, 881838, 881839, 881840, 881841, 881842, 881843, 881844, 881845, 881846, 881847, 881848, 881849, 881850, 881851, 881852, 881853, 881854, 881855, 881856, 881857, 881858, 881859, 881860, 881861, 881862, 881863, 881864, 881865, 881866, 881867, 881868, 881869, 881870, 881871, 881872, 881873, 881874, 881875, 881876, 881877, 881878, 881879, 881880, 881881, 881882, 881883, 881884, 881885, 881886, 881887, 881888, 881889, 881890, 881891, 881892, 881893, 881894, 881895, 881896, 881897, 881898, 881899, 881900, 881901, 881902, 881903, 881904, 881905, 881906, 881907, 881908, 881909, 881910, 881911, 881912, 881913, 881914, 881915, 881916, 881917 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }