Every capital in the Americas: the eastern Caribbean, Central America, the Guianas, Haiti, Sucre
Saint John's, Basseterre, Roseau, Castries, Kingstown and Saint George's land ECFS and Southern Caribbean Fiber in their real order (the old pairs stay for saves), with Flow and Digicel on every island. San Salvador, Tegucigalpa and Managua get Claro and Tigo; Belize, Guyana, Suriname and Haiti their national telcos (BTL, GTT, Telesur, Natcom, real ASNs). Sucre, Bolivia's constitutional capital, has no facility, so it is a W3 exception. Guyana and Suriname land SG-SCS, Deep Blue One and X-Link; Haiti Fibralink to Jamaica and the Bahamas' BDSNi, and shares Hispaniola with the Dominican Republic. The six islands' coastlines come from Natural Earth 1:50m, like Cebu's. Exchanges only where PeeringDB lists one with members. tests/capitals.test.js checks the Americas' 35 capitals.
This commit is contained in:
parent
017eba4ca2
commit
c5c0d853ae
18 changed files with 229 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
const LANDS_LL=[
|
||||
{id:'am',ll:[[-166,68],[-156.7,71.5],[-141,69.8],[-128,70],[-115,68.5],[-97,68],[-94,62],[-92.5,57.5],[-85,55.2],[-80,51.5],[-78.5,58],[-77,62],[-70,61],[-64.5,60],[-61.5,56.5],[-57,52],[-55.6,49.5],[-53.4,49.7],[-52.5,48.4],[-52.5,47.3],[-53.2,46.6],[-59,46.5],[-61,45.2],[-63.2,44.4],[-66,44.5],[-70,43.3],[-70,42],[-74,40.6],[-76,38],[-75.8,35.5],[-77.5,34.5],[-79,33],[-81,31],[-80.05,27],[-80.1,25.3],[-81.5,25],[-82.7,27.5],[-84,30],[-89,30.2],[-94,29.5],[-97,28],[-97.5,25],[-97.7,22],[-96,19],[-94,18.3],[-91,18.5],[-90.4,21],[-87,21.5],[-88,17],[-88.5,15.8],[-84,15.8],[-83.4,12],[-83.7,10.5],[-81.5,9],[-79.5,9.5],[-77.5,8.6],[-75,10.8],[-71.5,12.3],[-68,10.6],[-62,10.5],[-60,8],[-57,6],[-52,5],[-50,1.5],[-48,-1],[-44,-2.5],[-39,-3.5],[-35,-5.5],[-35,-9],[-37.5,-12.5],[-39,-15],[-39.7,-19],[-41,-22],[-44,-23],[-48,-26],[-48.6,-28.5],[-51,-31],[-53,-34],[-58,-34.5],[-57,-37],[-62,-39],[-65,-41],[-64,-43],[-67.5,-46],[-66,-48],[-69,-51],[-68.5,-53],[-70,-55],[-73,-53],[-75,-48],[-73.5,-43],[-73.5,-37],[-71.5,-32],[-71.3,-27],[-70.5,-20],[-71.5,-17],[-76,-14],[-78,-10],[-81,-6],[-80.5,-3],[-80,0],[-79,1.5],[-77.5,4],[-77.4,7.5],[-80,7.3],[-82.5,8.2],[-85.7,10],[-87,12.5],[-91,14],[-94,16],[-96.5,15.7],[-100,17],[-105.5,20],[-105.5,22.5],[-108,25.5],[-110.8,27.9],[-113,31.3],[-114.7,31.7],[-113.5,29],[-112,26.5],[-110,24],[-109.5,23],[-112,24.8],[-114,27.5],[-115.5,29.8],[-117,32.5],[-118.5,34],[-120.6,34.6],[-122.5,37.5],[-124,40.5],[-124.5,43],[-124,46.2],[-124.7,48.4],[-123,49],[-126,50.5],[-131,54.5],[-133,57.5],[-137,58.5],[-141,60],[-146,61],[-150,59.5],[-152,58.5],[-156,57.5],[-158,56.8],[-162,55.5],[-164.5,54.5],[-158,58.5],[-162,60],[-165,61.5],[-166,64],[-166.6,64.7],[-164,65.5]]},
|
||||
{id:'am',ll:[[-166,68],[-156.7,71.5],[-141,69.8],[-128,70],[-115,68.5],[-97,68],[-94,62],[-92.5,57.5],[-85,55.2],[-80,51.5],[-78.5,58],[-77,62],[-70,61],[-64.5,60],[-61.5,56.5],[-57,52],[-55.6,49.5],[-53.4,49.7],[-52.5,48.4],[-52.5,47.3],[-53.2,46.6],[-59,46.5],[-61,45.2],[-63.2,44.4],[-66,44.5],[-70,43.3],[-70,42],[-74,40.6],[-76,38],[-75.8,35.5],[-77.5,34.5],[-79,33],[-81,31],[-80.05,27],[-80.1,25.3],[-81.5,25],[-82.7,27.5],[-84,30],[-89,30.2],[-94,29.5],[-97,28],[-97.5,25],[-97.7,22],[-96,19],[-94,18.3],[-91,18.5],[-90.4,21],[-87,21.5],[-88,17],[-88.5,15.8],[-84,15.8],[-83.4,12],[-83.7,10.5],[-81.5,9],[-79.5,9.5],[-77.5,8.6],[-75,10.8],[-71.5,12.3],[-68,10.6],[-62,10.5],[-60,8.6],[-58.2,7.3],[-55.2,6.3],[-52,5.3],[-50,1.5],[-48,-1],[-44,-2.5],[-39,-3.5],[-35,-5.5],[-35,-9],[-37.5,-12.5],[-39,-15],[-39.7,-19],[-41,-22],[-44,-23],[-48,-26],[-48.6,-28.5],[-51,-31],[-53,-34],[-58,-34.5],[-57,-37],[-62,-39],[-65,-41],[-64,-43],[-67.5,-46],[-66,-48],[-69,-51],[-68.5,-53],[-70,-55],[-73,-53],[-75,-48],[-73.5,-43],[-73.5,-37],[-71.5,-32],[-71.3,-27],[-70.5,-20],[-71.5,-17],[-76,-14],[-78,-10],[-81,-6],[-80.5,-3],[-80,0],[-79,1.5],[-77.5,4],[-77.4,7.5],[-80,7.3],[-82.5,8.2],[-85.7,10],[-87,12.5],[-91,14],[-94,16],[-96.5,15.7],[-100,17],[-105.5,20],[-105.5,22.5],[-108,25.5],[-110.8,27.9],[-113,31.3],[-114.7,31.7],[-113.5,29],[-112,26.5],[-110,24],[-109.5,23],[-112,24.8],[-114,27.5],[-115.5,29.8],[-117,32.5],[-118.5,34],[-120.6,34.6],[-122.5,37.5],[-124,40.5],[-124.5,43],[-124,46.2],[-124.7,48.4],[-123,49],[-126,50.5],[-131,54.5],[-133,57.5],[-137,58.5],[-141,60],[-146,61],[-150,59.5],[-152,58.5],[-156,57.5],[-158,56.8],[-162,55.5],[-164.5,54.5],[-158,58.5],[-162,60],[-165,61.5],[-166,64],[-166.6,64.7],[-164,65.5]]},
|
||||
{id:'eu',ll:[[-9,39],[-9.5,43],[-8,43.7],[-1.8,43.4],[-1.2,46],[-2.5,47.3],[-4.5,48],[-1.6,48.6],[1.5,50.2],[3,51.2],[4.5,52.5],[5,53.4],[7,53.6],[8.6,54],[8.2,55.5],[8.1,57],[10.5,57.7],[10.5,56.5],[11.2,56],[12.6,56.1],[12.7,55.6],[12.1,54.9],[11,54.3],[14,54],[18.5,54.8],[21,55.3],[21,57],[24,57.5],[24,59.2],[28,59.5],[30,60],[28,60.5],[25,60.1],[22.5,60.3],[21.5,61.5],[21.5,63],[25,65],[25.5,65.6],[22,65.8],[20.5,63.5],[18,62.5],[17.4,61],[19,59.8],[18,59],[16.5,57],[16,56.2],[14.2,55.4],[13,55.4],[12.9,56.5],[11.5,58],[10.5,59.3],[8,58],[5.5,58.5],[5,60],[5,62],[7,63],[10,64],[12.5,66],[15,68.5],[18,69.8],[21.5,70.2],[26,71],[30,70],[33,69.3],[41,67],[44,68.5],[53,68.5],[58,69],[68,69],[69,72.8],[73,72.5],[80,73.5],[87,74.8],[100,76],[104,77.7],[112,74],[113.5,73.5],[127,73.5],[132,71.5],[140,72.5],[150,71.5],[160,70],[170,70],[180,69],[190,66.5],[186,64.5],[182,65],[178,62.5],[173,61],[170,60],[164,60],[164,57],[162,55],[159,52],[156.7,51],[156,55.5],[157,58],[155,59.5],[150,59.5],[143,59.3],[137,54.5],[141,53],[140,48.5],[135,43.5],[131,42.7],[129.5,41],[129.4,37],[129.4,35.5],[127.5,34.6],[126.3,34.8],[126.5,37],[125,37.8],[124.5,39.7],[121.5,39],[121.7,40.8],[119,39.3],[117.8,38.5],[119,37.2],[122.5,37.3],[120.5,36],[119.2,35],[121,32],[121.9,30.8],[121.5,28],[119.5,25.5],[116.5,23],[114.3,22.1],[111,21.5],[109.7,20.5],[108.5,21.6],[106.5,20],[106,18],[108.5,15],[109.3,12],[107,10.5],[105,8.6],[104.8,10.3],[103,11],[100.9,12.6],[100,13.4],[99.3,10.5],[100.3,7],[101,6.8],[103.4,4],[104.3,1.4],[103.6,1.25],[101.3,2.8],[100.2,5.3],[98.3,8],[98.6,13],[97.7,16.5],[94.4,16.2],[94.2,18.8],[92.3,20.6],[91.8,22.6],[90,22],[88.3,21.6],[86.9,20.6],[85,19.5],[82.3,16.6],[80.3,15.8],[80.3,13.5],[79.8,10.3],[78.3,8.9],[77.5,8.1],[76.5,8.9],[75.8,11.5],[74.8,12.9],[73.5,16],[72.8,19],[72.7,21.2],[70,22.5],[68.5,23.5],[66.6,25.4],[61.6,25.2],[57.3,25.8],[56.4,27.1],[54.7,26.5],[51.5,27.9],[50,30],[48,30],[48.4,28.5],[49.5,26.7],[50.8,24.8],[50.85,25.6],[51.2,26.15],[51.62,25.9],[51.62,24.6],[52.6,24.2],[54.3,24.6],[55.3,25.3],[55.9,25.75],[56.1,26.1],[56.35,26.38],[56.42,25.8],[56.38,25.0],[56.5,24.6],[57.8,23.8],[58.7,23.75],[58.8,22.5],[59.8,22.4],[58.5,20.5],[57.7,19],[55.4,17.7],[52.2,15.7],[48.7,14],[45,12.8],[43.4,12.6],[42.7,15.7],[42.5,17.2],[41,19.5],[39.1,21.6],[38.4,23.6],[37,25.5],[35.2,28],[34.9,29.5],[34.3,27.8],[33,28.8],[32.6,30],[32.3,31.2],[34.2,31.3],[34.9,32.8],[35.6,34.5],[36,35.8],[36.2,36.7],[34.5,36.8],[32.5,36.1],[30.5,36.4],[29,36.6],[27.3,37.4],[26.3,38.6],[26.5,40],[26.2,40.6],[24,40.8],[22.6,40.4],[24.1,38.2],[24,37.6],[23.2,37.5],[22.3,36.5],[21.7,36.8],[21.2,38.4],[19.5,40],[19.5,41.8],[18.5,42.5],[16,43.5],[13.7,45.6],[12.3,45.3],[12.4,44.2],[13.6,43.5],[15.9,41.6],[18.5,40.2],[17,39],[16.6,38],[15.6,38],[15.3,37],[15.1,36.65],[12.4,37.8],[13.3,38.25],[15.55,38.3],[16.1,39],[15.6,40.1],[14.3,40.6],[12.5,41.6],[11,42.5],[10.2,43.9],[8.8,44.4],[7.5,43.8],[6,43.1],[4,43.5],[3.1,43.1],[3.2,41.9],[0.8,41],[0,39.5],[-0.3,38.4],[-0.8,37.6],[-2.1,36.7],[-4.4,36.7],[-5.6,36],[-6.3,36.8],[-7.4,37.2],[-8.9,37],[-8.8,38.4],[-9.5,38.6]]},
|
||||
{id:'af',ll:[[-17.5,14.7],[-17,21],[-16,24],[-13,27.5],[-9.8,30],[-9.2,32.5],[-6.8,34],[-5.9,35.8],[-2,35.1],[1,36.5],[5,36.8],[9.8,37.3],[11,36.9],[10.2,35.2],[11.1,33.3],[15.2,32.3],[19,30.3],[20.1,32],[23,32.6],[25,31.7],[29,30.9],[32.2,31.3],[32.6,30],[33.5,28],[35.5,24],[37.2,21],[38.5,18],[39.6,15.5],[41.6,13.5],[43.3,12.4],[44,10.4],[47,11.1],[51.2,11.8],[51,10.4],[49.5,7],[47.8,4.5],[45,1.6],[42,-1],[40.2,-2.8],[39.3,-4.8],[38.8,-6.5],[39.6,-10],[40.5,-11],[40.6,-14.6],[37,-17.5],[35.4,-22],[35.5,-24],[32.9,-25.9],[32.5,-28.6],[31,-29.9],[28,-32.7],[25.6,-33.9],[22.5,-34],[20,-34.8],[18.4,-34],[17.9,-32.5],[16.5,-28.6],[15.2,-27],[14.4,-23],[12.8,-19],[11.8,-16.8],[12.2,-14.5],[13.6,-12.2],[13.2,-8.8],[12.3,-6],[11.8,-3.5],[9.5,-1],[9.4,1],[9.8,3.2],[8.9,4.5],[6,4.3],[4.3,6.3],[1.6,6.2],[-2,4.8],[-4.6,5.2],[-7.5,4.4],[-9.4,5.4],[-11.5,6.9],[-13.2,8.7],[-15,10.9],[-16.7,12.4]]},
|
||||
{id:'uk',ll:[[-5.7,50.1],[-3,50.6],[1.4,51.2],[1.7,52.7],[0.3,53.4],[-0.2,54.3],[-1.6,55.6],[-2,56.4],[-1.8,57.6],[-3.4,58.6],[-5,58.6],[-6.2,57.5],[-5.6,56.3],[-5,55],[-3.2,54.9],[-3.4,54],[-3,53.4],[-4.6,53.3],[-4.2,52.2],[-5.2,51.7],[-3.2,51.4],[-4.6,51]]},
|
||||
|
|
@ -39,13 +39,13 @@ LANDS_LL.push(
|
|||
);
|
||||
LANDS_LL.push(
|
||||
{id:'lk',ll:[[79.9, 9.8], [80.6, 9.6], [81.4, 8.5], [81.9, 7.4], [81.6, 6.4], [80.6, 5.9], [80.0, 6.2], [79.75, 7.2], [79.75, 8.3]]},
|
||||
{id:'sa',hide:true,ll:[[-77.5, 8.6], [-75, 10.8], [-71.5, 12.3], [-68, 10.6], [-62, 10.5], [-60, 8], [-57, 6], [-52, 5], [-50, 1.5], [-48, -1], [-44, -2.5], [-39, -3.5], [-35, -5.5], [-35, -9], [-37.5, -12.5], [-39, -15], [-39.7, -19], [-41, -22], [-44, -23], [-48, -26], [-48.6, -28.5], [-51, -31], [-53, -34], [-58, -34.5], [-57, -37], [-62, -39], [-65, -41], [-64, -43], [-67.5, -46], [-66, -48], [-69, -51], [-68.5, -53], [-70, -55], [-73, -53], [-75, -48], [-73.5, -43], [-73.5, -37], [-71.5, -32], [-71.3, -27], [-70.5, -20], [-71.5, -17], [-76, -14], [-78, -10], [-81, -6], [-80.5, -3], [-80, 0], [-79, 1.5], [-77.5, 4], [-77.4, 7.5]]},
|
||||
{id:'sa',hide:true,ll:[[-77.5, 8.6], [-75, 10.8], [-71.5, 12.3], [-68, 10.6], [-62, 10.5], [-60, 8.6], [-58.2, 7.3], [-55.2, 6.3], [-52, 5.3], [-50, 1.5], [-48, -1], [-44, -2.5], [-39, -3.5], [-35, -5.5], [-35, -9], [-37.5, -12.5], [-39, -15], [-39.7, -19], [-41, -22], [-44, -23], [-48, -26], [-48.6, -28.5], [-51, -31], [-53, -34], [-58, -34.5], [-57, -37], [-62, -39], [-65, -41], [-64, -43], [-67.5, -46], [-66, -48], [-69, -51], [-68.5, -53], [-70, -55], [-73, -53], [-75, -48], [-73.5, -43], [-73.5, -37], [-71.5, -32], [-71.3, -27], [-70.5, -20], [-71.5, -17], [-76, -14], [-78, -10], [-81, -6], [-80.5, -3], [-80, 0], [-79, 1.5], [-77.5, 4], [-77.4, 7.5]]},
|
||||
{id:'tw',ll:[[121.5, 25.35], [122.05, 25.0], [121.85, 24.3], [121.4, 23.0], [120.85, 21.9], [120.6, 22.3], [120.15, 22.9], [120.1, 23.6], [120.55, 24.5], [121.0, 25.1]]},
|
||||
);
|
||||
// Caribbean islands, each its own landmass (#125).
|
||||
LANDS_LL.push(
|
||||
{id:'pr',ll:[[-66.50,18.70],[-65.70,18.70],[-65.70,18.10],[-66.50,18.10]]},
|
||||
{id:'hs',ll:[[-70.33,18.80],[-69.53,18.80],[-69.53,18.20],[-70.33,18.20]]},
|
||||
{id:'hs',ll:[[-74.5,18.45],[-72.8,19.95],[-71,19.95],[-69.9,19.75],[-68.3,18.6],[-69,18.15],[-71,17.55],[-72.8,18.05],[-74.5,18.05]]},
|
||||
{id:'jm',ll:[[-77.18,18.35],[-76.38,18.35],[-76.38,17.75],[-77.18,17.75]]},
|
||||
{id:'cu',ll:[[-82.77,23.39],[-81.97,23.39],[-81.97,22.79],[-82.77,22.79]]},
|
||||
{id:'bs',ll:[[-77.75,25.34],[-76.95,25.34],[-76.95,24.74],[-77.75,24.74]]},
|
||||
|
|
@ -92,4 +92,13 @@ LANDS_LL.push(
|
|||
{id:'gls',hide:true,ll:[[-54.07,67.24],[-53.27,67.24],[-53.27,66.64],[-54.07,66.64]]},
|
||||
{id:'gla',hide:true,ll:[[-53.27,69.01],[-52.47,69.01],[-52.47,68.41],[-53.27,68.41]]},
|
||||
);
|
||||
// The eastern Caribbean capitals, each its own island, on ECFS and Southern Caribbean Fiber
|
||||
LANDS_LL.push(
|
||||
{id:'anu',hide:true,ll:[[-62.25,17.42],[-61.45,17.42],[-61.45,16.82],[-62.25,16.82]]},
|
||||
{id:'kna',hide:true,ll:[[-63.12,17.60],[-62.32,17.60],[-62.32,17.00],[-63.12,17.00]]},
|
||||
{id:'dma',hide:true,ll:[[-61.79,15.60],[-60.99,15.60],[-60.99,15.00],[-61.79,15.00]]},
|
||||
{id:'lca',hide:true,ll:[[-61.39,14.31],[-60.59,14.31],[-60.59,13.71],[-61.39,13.71]]},
|
||||
{id:'vct',hide:true,ll:[[-61.62,13.46],[-60.82,13.46],[-60.82,12.86],[-61.62,12.86]]},
|
||||
{id:'grd',hide:true,ll:[[-62.15,12.35],[-61.35,12.35],[-61.35,11.75],[-62.15,11.75]]},
|
||||
);
|
||||
const LANDS=LANDS_LL.map(l=>({id:l.id,hide:true,pts:l.ll.map(q=>proj(q[0],q[1]))}));
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -11,6 +11,7 @@ const CITY_LL={
|
|||
"ams":[4.9,52.37],
|
||||
"anc":[-149.9,61.22],
|
||||
"anp":[-76.49,38.98],
|
||||
"anu":[-61.85,17.12],
|
||||
"apw":[-171.76,-13.83],
|
||||
"ash":[-77.49,39.04],
|
||||
"asp":[133.88,-23.7],
|
||||
|
|
@ -20,7 +21,9 @@ const CITY_LL={
|
|||
"aug":[-69.78,44.31],
|
||||
"auh":[54.37, 24.45],
|
||||
"aus":[-97.74,30.27],
|
||||
"bas":[-62.72,17.3],
|
||||
"bcn":[2.17,41.39],
|
||||
"bcv":[-88.77,17.25],
|
||||
"bda":[-64.78,32.29],
|
||||
"bde":[-4.54,50.83],
|
||||
"beg":[20.46,44.79],
|
||||
|
|
@ -82,6 +85,7 @@ const CITY_LL={
|
|||
"dks":[80.65,73.51],
|
||||
"dla":[9.7,4.05],
|
||||
"doh":[51.45,25.28],
|
||||
"dom":[-61.39,15.3],
|
||||
"dov":[-75.52,39.16],
|
||||
"drw":[131.05,-12.46],
|
||||
"dsm":[-93.61,41.59],
|
||||
|
|
@ -106,6 +110,8 @@ const CITY_LL={
|
|||
"gbe":[25.91,-24.65],
|
||||
"gdl":[-103.35,20.67],
|
||||
"gdx":[150.8,59.57],
|
||||
"geo":[-58.16,6.8],
|
||||
"gnd":[-61.75,12.05],
|
||||
"gua":[-90.51,14.63],
|
||||
"gum":[144.75,13.47],
|
||||
"gyn":[-49.25,-16.69],
|
||||
|
|
@ -170,6 +176,7 @@ const CITY_LL={
|
|||
"mde":[-75.57,6.24],
|
||||
"mel":[144.96, -37.81],
|
||||
"mex":[-99.13,19.43],
|
||||
"mga":[-86.25,12.13],
|
||||
"mgf":[-51.94,-23.42],
|
||||
"mgm":[-86.3,32.37],
|
||||
"mia":[-80.19,25.76],
|
||||
|
|
@ -201,7 +208,9 @@ const CITY_LL={
|
|||
"osl":[10.75,59.91],
|
||||
"ott":[-75.7,45.42],
|
||||
"pan":[-79.52, 8.98],
|
||||
"pap":[-72.34,18.54],
|
||||
"par":[2.35,48.86],
|
||||
"pbm":[-55.2,5.85],
|
||||
"pcn":[-130.1,-25.07],
|
||||
"pdl":[-25.67,37.74],
|
||||
"pek":[116.4,39.9],
|
||||
|
|
@ -240,6 +249,7 @@ const CITY_LL={
|
|||
"run":[55.46,-20.92],
|
||||
"sac":[-121.49,38.58],
|
||||
"saf":[-105.94,35.69],
|
||||
"sal":[-89.19,13.69],
|
||||
"sao":[-46.63,-23.55],
|
||||
"scl":[-70.67, -33.45],
|
||||
"sdq":[-69.93,18.5],
|
||||
|
|
@ -255,18 +265,22 @@ const CITY_LL={
|
|||
"sju":[-66.1,18.4],
|
||||
"slc":[-111.89,40.76],
|
||||
"sle":[-123.03,44.94],
|
||||
"slu":[-60.99,14.01],
|
||||
"slz":[-44.3,-2.53],
|
||||
"sof":[23.32,42.7],
|
||||
"spi":[-89.65,39.8],
|
||||
"sre":[-65.26,-19.04],
|
||||
"ssa":[-38.5,-12.97],
|
||||
"stg":[9.18,48.78],
|
||||
"sto":[18.07,59.33],
|
||||
"stp":[-93.09,44.95],
|
||||
"suv":[178.44,-18.14],
|
||||
"svd":[-61.22,13.16],
|
||||
"svg":[5.73,58.97],
|
||||
"syd":[151.21,-33.87],
|
||||
"tbu":[-175.2,-21.14],
|
||||
"tci":[-16.3,28.44],
|
||||
"tgu":[-87.19,14.07],
|
||||
"the":[-42.8,-5.09],
|
||||
"tik":[128.87,71.64],
|
||||
"tlh":[-84.28,30.44],
|
||||
|
|
|
|||
|
|
@ -309,6 +309,21 @@ const CITIES=[
|
|||
{id:'qaq',name:'Qaqortoq',x:0,y:0,land:'glq',reg:'AM',cc:'GL',P:0.3,blackout:true,ix:'',dc:'Cable Landing Shed'},
|
||||
{id:'sis',name:'Sisimiut',x:0,y:0,land:'gls',reg:'AM',cc:'GL',P:0.5,blackout:true,ix:'',dc:'Dog Sled Depot'},
|
||||
{id:'aas',name:'Aasiaat',x:0,y:0,land:'gla',reg:'AM',cc:'GL',P:0.3,blackout:true,ix:'',dc:'Iceberg View Rack'},
|
||||
// Central America, the Caribbean and the Guianas: every capital (and Sucre, Bolivia's constitutional one)
|
||||
{id:'anu',name:"Saint John's",x:0,y:0,land:'anu',reg:'AM',cc:'AG',capital:true,P:6,ix:'',dc:'Beach-a-Day Colo'},
|
||||
{id:'bas',name:'Basseterre',x:0,y:0,land:'kna',reg:'AM',cc:'KN',capital:true,P:3,ix:'Sugar-Train-IX',dc:'Sugar Mill Rack',note:tr('cities.four_cables_land_on_st_kitts')},
|
||||
{id:'dom',name:'Roseau',x:0,y:0,land:'dma',reg:'AM',cc:'DM',capital:true,P:3,ix:'Nature-Isle-IX',dc:'Boiling Lake DC'},
|
||||
{id:'slu',name:'Castries',x:0,y:0,land:'lca',reg:'AM',cc:'LC',capital:true,P:8,ix:'',dc:'Twin Pitons Colo'},
|
||||
{id:'svd',name:'Kingstown',x:0,y:0,land:'vct',reg:'AM',cc:'VC',capital:true,P:5,ix:'Vincy-IX',dc:'Grenadines Hop DC',note:tr('cities.a_cable_strings_the_grenadines_together')},
|
||||
{id:'gnd',name:"Saint George's",x:0,y:0,land:'grd',reg:'AM',cc:'GD',capital:true,P:6,ix:'Nutmeg-IX',dc:'Spice Isle Rack',note:tr('cities.grenada_s_exchange_has_a_dozen')},
|
||||
{id:'bcv',name:'Belmopan',x:0,y:0,land:'am',reg:'AM',cc:'BZ',capital:true,P:2,ix:'',dc:'Jungle Capital Colo',note:tr('cities.a_capital_built_inland_after_a')},
|
||||
{id:'sal',name:'San Salvador',x:0,y:0,land:'am',reg:'AM',cc:'SV',capital:true,P:70,ix:'',dc:'Pupusa Racks',note:tr('cities.san_salvador_has_an_exchange_and')},
|
||||
{id:'tgu',name:'Tegucigalpa',x:0,y:0,land:'am',reg:'AM',cc:'HN',capital:true,P:50,ix:'Baleada-IX',dc:'Hilltop Colo',note:tr('cities.the_capital_s_exchange_is_small')},
|
||||
{id:'mga',name:'Managua',x:0,y:0,land:'am',reg:'AM',cc:'NI',capital:true,P:45,ix:'',dc:'Lake & Volcano DC'},
|
||||
{id:'geo',name:'Georgetown',x:0,y:0,land:'sa',reg:'SA',cc:'GY',capital:true,P:12,ix:'',dc:'Stilt House Colo'},
|
||||
{id:'pbm',name:'Paramaribo',x:0,y:0,land:'sa',reg:'SA',cc:'SR',capital:true,P:12,ix:'Pom-IX',dc:'Wooden Cathedral Colo',note:tr('cities.suriname_s_first_cable_comes_ashore')},
|
||||
{id:'pap',name:'Port-au-Prince',x:0,y:0,land:'hs',reg:'AM',cc:'HT',capital:true,P:50,ix:'Kompa-IX',dc:'Gingerbread House DC'},
|
||||
{id:'sre',name:'Sucre',x:0,y:0,land:'sa',reg:'SA',cc:'BO',capital:true,P:10,ix:'',dc:'White City Colo',note:tr('cities.bolivia_s_constitutional_capital_the_courts')},
|
||||
];
|
||||
// Display-only nudges for cities that sit on top of each other at map scale; distances still use real lon/lat.
|
||||
const CITY_NUDGE={
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ const CITY_PDB={
|
|||
ams:[69,2731,1827],
|
||||
anc:[3,12,33300], // est.
|
||||
anp:[0,0,33300], // est.
|
||||
anu:[1,1,20],
|
||||
apw:[0,0,11],
|
||||
ash:[86,1010,33300],
|
||||
asp:[0,0,3196], // est.: no carrier-neutral facility, the incumbent's exchange
|
||||
|
|
@ -25,7 +26,9 @@ const CITY_PDB={
|
|||
aug:[0,0,33300], // est.
|
||||
auh:[4,1,231],
|
||||
aus:[9,55,33300], // est.
|
||||
bas:[0,3,9], // est.
|
||||
bcn:[13,159,1341],
|
||||
bcv:[0,1,38], // est.
|
||||
bda:[2,8,25], // est.
|
||||
bde:[0,0,4027],
|
||||
beg:[7,49,227],
|
||||
|
|
@ -87,6 +90,7 @@ const CITY_PDB={
|
|||
dks:[0,0,6683], // est.
|
||||
dla:[3,14,34],
|
||||
doh:[6,29,31],
|
||||
dom:[0,2,8], // est.
|
||||
dov:[0,0,33300], // est.
|
||||
drw:[3,15,3196],
|
||||
dsm:[3,10,33300], // est.
|
||||
|
|
@ -111,6 +115,8 @@ const CITY_PDB={
|
|||
gbe:[1,2,39],
|
||||
gdl:[4,22,814],
|
||||
gdx:[1,2,6683], // est.
|
||||
geo:[0,2,8], // est.
|
||||
gnd:[0,2,11], // est.
|
||||
gua:[5,16,103],
|
||||
gum:[6,28,11],
|
||||
gyn:[5,28,9693],
|
||||
|
|
@ -175,6 +181,7 @@ const CITY_PDB={
|
|||
mde:[2,18,598],
|
||||
mel:[20,395,3196],
|
||||
mex:[18,122,814],
|
||||
mga:[1,2,35], // est.
|
||||
mgf:[4,9,9693],
|
||||
mgm:[1,4,33300], // est.
|
||||
mia:[27,553,33300],
|
||||
|
|
@ -206,7 +213,9 @@ const CITY_PDB={
|
|||
osl:[20,209,448],
|
||||
ott:[6,21,2595],
|
||||
pan:[8,26,158],
|
||||
pap:[0,3,14], // est.
|
||||
par:[77,1528,2249],
|
||||
pbm:[2,8,7],
|
||||
pcn:[0,0,0], // est.: no network of its own
|
||||
pdl:[1,3,187], // est.
|
||||
pek:[10,15,6717],
|
||||
|
|
@ -245,6 +254,7 @@ const CITY_PDB={
|
|||
run:[3,15,15], // est.
|
||||
sac:[6,30,33300], // est.
|
||||
saf:[0,0,33300], // est.
|
||||
sal:[1,2,56], // est.
|
||||
sao:[70,1875,9693],
|
||||
scl:[36,274,450],
|
||||
sdq:[4,25,90], // est.
|
||||
|
|
@ -260,18 +270,22 @@ const CITY_PDB={
|
|||
sju:[5,40,60], // est.
|
||||
slc:[22,202,33300],
|
||||
sle:[1,2,33300], // est.
|
||||
slu:[0,2,8], // est.
|
||||
slz:[1,6,9693],
|
||||
sof:[15,451,889],
|
||||
spi:[1,2,33300], // est.
|
||||
sre:[0,0,71], // est.
|
||||
ssa:[13,44,9693],
|
||||
stg:[18,63,3705],
|
||||
sto:[31,539,1011],
|
||||
stp:[10,90,33300], // est.
|
||||
suv:[0,0,23],
|
||||
svd:[0,2,6], // est.
|
||||
svg:[2,14,448],
|
||||
syd:[40,979,3196],
|
||||
tbu:[0,0,5],
|
||||
tci:[3,30,1341], // est.
|
||||
tgu:[1,4,126], // est.
|
||||
the:[2,1,9693],
|
||||
tik:[0,0,6683], // est.
|
||||
tlh:[1,3,33300], // est.
|
||||
|
|
|
|||
|
|
@ -116,8 +116,8 @@ const CABLES=[
|
|||
{"id":"canl","name":"Canary in the Cable Mine","price":0.8,"age":"mid","blurb":tr('cables.tenerife_to_the_spanish_mainland_as'),"pairs":[["tci","mad",[[-14.5,30.5],[-9,35],[-6.1,36.3]]]]},
|
||||
{"id":"arcos","name":"ARC-ade Ring","price":1.2,"age":"old","blurb":tr('cables.a_ring_around_the_caribbean_from'),"pairs":[["mia","nas",[[-79.5,25.6]]],["nas","sdq",[[-75,23.5],[-71.5,20.6],[-68.3,19.2],[-68.6,18.2]]],["sdq","sju",[[-68.8,18.15],[-67.3,18.25]]],["sju","cur",[[-66.5,17.6],[-67.5,14.5],[-68.6,12.5]]],["cur","bog",[[-72,13],[-75.5,11.25]]],["pan","sjo",[[-79.5,9.7],[-82.5,10.2]]],["sjo","gua",[[-85.5,9.25],[-90.5,13.5]]]]},
|
||||
{"id":"am2","name":"Americas-Too","price":1.3,"age":"old","blurb":tr('cables.florida_to_brazil_down_the_island'),"pairs":[["mia","sju",[[-79.5,25.8],[-73,24],[-68,20.4],[-66.2,18.7]]],["sju","fdf",[[-65,18.4],[-62.5,17.2],[-61.3,15]]],["fdf","pos",[[-61.3,14.2],[-61.3,11.3]]],["pos","for",[[-60.5,11],[-55,8],[-48,3],[-41,-1.5]]],["sju","cur",[[-66.3,17.7],[-67.2,14.5],[-68.4,12.6]]],["cur","ccs",[[-68.5,11.6],[-67,10.7]]]]},
|
||||
{"id":"ecfs","name":"ECFS (Every Coconut Fully Spliced)","price":1.35,"age":"old","blurb":tr('cables.island_hops_down_the_lesser_antilles'),"pairs":[["sju","fdf",[[-64.8,18.2],[-62.3,17],[-61.2,15.1]]],["fdf","bgi",[[-60.6,14.2],[-59.8,13.3]]],["bgi","pos",[[-59.8,12.6],[-61,11]]]]},
|
||||
{"id":"scf","name":"Southern Cari-Bean","price":1.0,"age":"mid","blurb":tr('cables.newer_glass_along_the_same_island'),"pairs":[["sju","fdf",[[-65.2,18.1],[-62.7,16.9],[-61.4,15.1]]],["fdf","bgi",[[-60.7,14.1],[-59.9,13.2]]],["bgi","pos",[[-59.9,12.5],[-61.1,11.1]]]]},
|
||||
{"id":"ecfs","name":"ECFS (Every Coconut Fully Spliced)","price":1.35,"age":"old","blurb":tr('cables.island_hops_down_the_lesser_antilles'),"pairs":[["sju","anu",[[-64.32,17.8]]],["anu","bas",[[-62.63,17.21]]],["bas","dom",[[-62.41,16.3]]],["dom","fdf",[[-61.58,14.95]]],["fdf","slu",[[-61.38,14.3]]],["slu","bgi",[[-60.66,13.55]]],["bgi","svd",[[-60.77,13.13]]],["svd","gnd",[[-61.84,12.61]]],["gnd","pos",[[-61.98,11.36]]],["sju","fdf",[[-64.8,18.2],[-62.3,17],[-61.2,15.1]]],["fdf","bgi",[[-60.6,14.2],[-59.8,13.3]]],["bgi","pos",[[-59.8,12.6],[-61,11]]]]},
|
||||
{"id":"scf","name":"Southern Cari-Bean","price":1.0,"age":"mid","blurb":tr('cables.newer_glass_along_the_same_island'),"pairs":[["sju","bas",[[-64.06,17.88]]],["bas","anu",[[-61.93,17.21]]],["anu","dom",[[-61.27,16.21]]],["dom","fdf",[[-60.88,14.95]]],["fdf","slu",[[-60.68,14.3]]],["slu","svd",[[-60.76,13.59]]],["svd","gnd",[[-61.13,12.61]]],["gnd","pos",[[-61.28,11.36]]],["sju","fdf",[[-65.2,18.1],[-62.7,16.9],[-61.4,15.1]]],["fdf","bgi",[[-60.7,14.1],[-59.9,13.2]]],["bgi","pos",[[-59.9,12.5],[-61.1,11.1]]]]},
|
||||
{"id":"alba","name":"ALBA-tross","price":1.1,"age":"mid","blurb":tr('cables.cuba_s_only_cable_laid_from'),"pairs":[["ccs","hav",[[-75,18.5],[-73.75,20.25],[-77.25,23.75],[-81.75,23.75]]],["hav","kin",[[-82.5,22.2],[-80,21.3],[-77.5,19.5],[-76.9,18.4]]]]},
|
||||
{"id":"cfx","name":"Columbus’ Fixer-1","price":1.0,"age":"mid","blurb":tr('cables.florida_to_jamaica_and_colombia_discovering'),"pairs":[["mia","kin",[[-79.5,25],[-78,23],[-74.5,20.4],[-75.5,18.2],[-76.6,17.8]]],["kin","bog",[[-76.5,17.6],[-76,13],[-75.6,10.6]]]]},
|
||||
{"id":"fibr","name":"Fibra-Linky","price":1.0,"age":"mid","blurb":tr('cables.a_short_cable_from_jamaica_to'),"pairs":[["kin","sdq",[[-76.3,17.8],[-73,17.5],[-71,17.8],[-70,18.3]]]]},
|
||||
|
|
@ -166,6 +166,11 @@ const CABLES=[
|
|||
{"id":"pdscn","name":"Pan de Sal Cable Network","price":0.9,"age":"new","blurb":tr('cables.the_philippines_longest_domestic_cable_fresh'),"pairs":[["mnl","ceb",[[120.6,14.4],[120.45,13.95],[120.85,13.6],[121.9,12.9],[122.7,12.3],[123.6,11.6],[124.2,11.2],[124.15,10.5]]],["ceb","dvo",[[124.05,10.2],[124.1,9.6],[124.5,8.9],[124.62,8.55]]],["mnl","dvo",[[121.6,13.85],[122.1,13.2],[122.9,12.45],[123.75,11.7],[124.3,11.1],[124.25,10.3],[124.1,9.6],[124.5,8.9],[124.62,8.55]]]]},
|
||||
{"id":"dfon","name":"Philippines Long Distance Relationship","price":1.1,"age":"mid","blurb":tr('cables.the_incumbent_s_own_line_south'),"pairs":[["mnl","ceb",[[121.6,13.85],[122.1,13.2],[122.9,12.45],[123.75,11.7],[124.3,11.1],[124.2,10.45]]],["ceb","dvo",[[123.95,10.05],[124.4,9.5],[124.75,9.05]]]]},
|
||||
{"id":"vismin","name":"Diverge VisMin Express","price":0.9,"age":"new","blurb":tr('cables.the_upstart_s_own_cable_from'),"pairs":[["ceb","dvo",[[124.15,10.9],[124.25,10.2],[124.4,9.3],[124.65,8.6]]]]},
|
||||
{"id":"sgscs","name":"Sure-Guy Cable System","price":1.2,"age":"mid","blurb":tr('cables.trinidad_to_guyana_and_suriname_along'),"pairs":[["pos","geo",[[-61,11],[-59.5,9.5]]],["geo","pbm",[[-57.5,7.2],[-56,6.4]]]]},
|
||||
{"id":"dbo","name":"Deep Blue Phone","price":0.9,"age":"new","blurb":tr('cables.the_newest_glass_along_the_guianas'),"pairs":[["pos","geo",[[-60.7,11.2],[-59.2,9.7]]],["geo","pbm",[[-57.4,7.4],[-55.9,6.6]]]]},
|
||||
{"id":"xlnk","name":"X-Linked","price":1.1,"age":"new","blurb":tr('cables.guyana_straight_to_barbados_skipping'),"pairs":[["geo","bgi",[[-57.5,8.5],[-59,11.5]]]]},
|
||||
{"id":"fibl","name":"Fibra-Linguine","price":1.3,"age":"mid","blurb":tr('cables.haiti_to_jamaica_across_the_windward'),"pairs":[["pap","kin",[[-73,18.8],[-75,18.3]]]]},
|
||||
{"id":"bdsn","name":"Bahama-Drama Sub Net","price":1.3,"age":"mid","blurb":tr('cables.the_bahamas_island_chain_with_a'),"pairs":[["nas","pap",[[-76,24],[-73.6,21],[-72.8,19]]]]}
|
||||
];
|
||||
const CAB=Object.fromEntries(CABLES.map(c=>[c.id,c]));
|
||||
const CABLE_PAIRS=CABLES.flatMap(c=>c.pairs.map(([a,b,mid])=>{const A=CITY[a],B=CITY[b];const near=(x,ref)=>x+W*Math.round((ref-x)/W);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue