seriesoftubes/src/game/20-world/20-landmasses.js
Frederic Jung 08bf22cfec
Fiber over land inside one country; no circuits between the Koreas
Towns with no road in (Russia's Arctic and Kamchatka, Juneau and Alaska's
Arctic coast, Greenland's towns) keep their own landmass, which now says
which land it is really part of. isSub() lets two cities of one country on
that land build over land; other countries still need the sea. Inside one
country, Europe to Asia (Moscow-Vladivostok, Istanbul-Ankara) is no longer
a crossing between continents.

North and South Korea join Kyiv-Moscow in a table of pairs nobody sells a
circuit between: the link window says so, the actions refuse, and neither
the diversity map nor the latency floor counts a link there.
2026-11-04 12:46:37 +00:00

131 lines
16 KiB
JavaScript

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.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.9,34.2],[-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],[13.2,33.1],[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.6,5.1],[-11.6,6.5],[-13.4,8.3],[-13.3,8.8],[-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]]},
{id:'ie',ll:[[-6,52.2],[-6.2,53.5],[-5.6,54.6],[-6.4,55.2],[-7.4,55.4],[-8.5,54.5],[-10,54.2],[-9.6,53.2],[-10.2,51.9],[-9.6,51.5],[-8.2,51.8]]},
{id:'is',ll:[[-22.5,63.9],[-24,65.5],[-22,66.4],[-16,66.5],[-14.5,65.3],[-14.6,64.4],[-18,63.4]]},
{id:'jp',ll:[[129.6,33.3],[130.2,31.3],[131.4,31.5],[132,33],[133.5,33.4],[135.2,33.6],[136.8,34.3],[138.8,34.6],[140,35],[140.8,35.7],[141,38.2],[141.9,39.5],[141.4,41.4],[140,41.4],[139.9,40.3],[139.8,38.5],[138.8,37.8],[137.3,36.9],[136,36],[135.4,35.6],[133,35.5],[131.5,34.6],[130.9,34]]},
{id:'oc',ll:[[113.5,-22],[114,-26.5],[115,-30],[115.7,-33.6],[115,-34.3],[117.9,-35.1],[123.5,-33.9],[126,-32.3],[131,-31.5],[134,-32.8],[135.6,-34.8],[137.6,-35.6],[138.3,-34.5],[139.6,-36.9],[141.5,-38.4],[144.9,-37.9],[146.4,-39.1],[150,-37.5],[150.8,-34.5],[152.5,-32.4],[153.6,-28.5],[153,-25],[150.8,-22.5],[149,-20.6],[146.3,-18.9],[145.4,-16],[145.3,-14.9],[143.5,-12.3],[142.5,-10.7],[141.6,-12.8],[141.6,-16],[140.6,-17.6],[139.3,-17.4],[137,-15.9],[135.8,-15],[136.8,-12.2],[135,-12],[132.6,-11.5],[131,-12.2],[129.5,-14.9],[128,-15.4],[126.5,-13.9],[124.5,-16.5],[122.2,-18.2],[121,-19.7],[118.5,-20.3],[116.7,-20.6],[114.6,-21.8]]},
{id:'tas',ll:[[144.6,-40.7],[146.5,-41.1],[148.3,-40.9],[148.3,-42.2],[147.9,-43.2],[146.9,-43.6],[146,-43.5],[145.2,-42.2],[144.7,-41.2]]},
{id:'nz',ll:[[172.7,-34.4],[174.5,-36],[175.9,-37.5],[178.5,-37.7],[177.9,-39.2],[176.9,-39.6],[175.2,-41.6],[174.6,-41.2],[174.9,-39.9],[173.8,-39.3],[174.6,-38.1],[174.5,-37.3],[173.1,-35.3]]},
{id:'nzs',ll:[[172.6,-40.5],[174.3,-41.0],[174.2,-41.7],[173.3,-42.9],[172.8,-43.9],[171.3,-44.4],[170.7,-45.8],[169.3,-46.6],[168.3,-46.6],[166.5,-46.0],[166.8,-45.3],[168.2,-44.0],[170.6,-43.0],[171.4,-41.8],[172.1,-40.9]]},
{id:'idn',ll:[[105.2,-6.8],[106.8,-6.1],[108.5,-6.4],[110.5,-6.9],[112.6,-6.9],[114.6,-7.7],[114.4,-8.7],[111,-8.3],[108,-7.8],[105.5,-7]]},
{id:'ph',ll:[[120.6,18.5],[122.2,18.5],[122,16.5],[121.6,14.2],[124,13.8],[124,12.5],[123.3,13],[121,13.6],[120.6,14.5],[119.8,16.2]]},
];
// South America is drawn as part of 'am' but counts as its own landmass: nothing crosses the Darién Gap.
// Atlantic islands, each its own landmass too.
LANDS_LL.push(
{id:'bm',ll:[[-65.18,32.59],[-64.38,32.59],[-64.38,31.99],[-65.18,31.99]]},
{id:'az',ll:[[-26.07,38.04],[-25.27,38.04],[-25.27,37.44],[-26.07,37.44]]},
{id:'ic',ll:[[-16.65,28.76],[-15.85,28.76],[-15.85,28.16],[-16.65,28.16]]},
{id:'cv',ll:[[-23.91,15.22],[-23.11,15.22],[-23.11,14.62],[-23.91,14.62]]},
{id:'sh',ll:[[-6.12,-15.63],[-5.32,-15.63],[-5.32,-16.23],[-6.12,-16.23]]},
);
// Pacific islands, each its own landmass.
LANDS_LL.push(
{id:'hi',ll:[[-158.26,21.61],[-157.46,21.61],[-157.46,21.01],[-158.26,21.01]]},
{id:'gu',ll:[[144.35,13.77],[145.15,13.77],[145.15,13.17],[144.35,13.17]]},
{id:'pw',ll:[[134.08,7.64],[134.88,7.64],[134.88,7.04],[134.08,7.04]]},
{id:'mh',ll:[[170.98,7.39],[171.78,7.39],[171.78,6.79],[170.98,6.79]]},
{id:'pg',ll:[[146.78,-9.14],[147.58,-9.14],[147.58,-9.74],[146.78,-9.74]]},
{id:'sb',ll:[[159.55,-9.13],[160.35,-9.13],[160.35,-9.73],[159.55,-9.73]]},
{id:'nc',ll:[[166.06,-21.97],[166.86,-21.97],[166.86,-22.57],[166.06,-22.57]]},
{id:'fj',ll:[[178.04,-17.84],[178.84,-17.84],[178.84,-18.44],[178.04,-18.44]]},
{id:'to',ll:[[-175.60,-20.84],[-174.80,-20.84],[-174.80,-21.44],[-175.60,-21.44]]},
{id:'ws',ll:[[-172.16,-13.53],[-171.36,-13.53],[-171.36,-14.13],[-172.16,-14.13]]},
{id:'as',ll:[[-171.10,-13.98],[-170.30,-13.98],[-170.30,-14.58],[-171.10,-14.58]]},
{id:'pf',ll:[[-149.97,-17.23],[-149.17,-17.23],[-149.17,-17.83],[-149.97,-17.83]]},
);
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.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:[[-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]]},
{id:'tt',ll:[[-61.88,10.96],[-61.08,10.96],[-61.08,10.36],[-61.88,10.36]]},
{id:'bb',ll:[[-59.98,13.42],[-59.18,13.42],[-59.18,12.82],[-59.98,12.82]]},
{id:'mq',ll:[[-61.43,14.94],[-60.63,14.94],[-60.63,14.34],[-61.43,14.34]]},
{id:'cw',ll:[[-69.32,12.43],[-68.52,12.43],[-68.52,11.83],[-69.32,11.83]]},
);
// Indian Ocean islands (#152), Pitcairn (#124), the Aleutians and Sakhalin (#145).
LANDS_LL.push(
{id:'re',ll:[[55.06,-20.62],[55.86,-20.62],[55.86,-21.22],[55.06,-21.22]]},
{id:'mu',ll:[[57.12,-19.88],[57.92,-19.88],[57.92,-20.48],[57.12,-20.48]]},
{id:'mg',ll:[[47.12,-18.58],[47.92,-18.58],[47.92,-19.18],[47.12,-19.18]]},
{id:'sc',ll:[[55.07,-4.35],[55.87,-4.35],[55.87,-4.95],[55.07,-4.95]]},
{id:'pn',ll:[[-130.50,-24.77],[-129.70,-24.77],[-129.70,-25.37],[-130.50,-25.37]]},
{id:'al',ll:[[-166.93,54.18],[-166.13,54.18],[-166.13,53.58],[-166.93,53.58]]},
{id:'sak',ll:[[142.34,47.26],[143.14,47.26],[143.14,46.66],[142.34,46.66]]},
);
// Places on a continent with no road or fiber in, only the sea: Juneau, Alaska's Arctic coast and Russia's Arctic and Kamchatka (#145).
// `on` is the land they are really part of: your own country may still dig to them over land (isSub()), nobody else's can.
LANDS_LL.push(
{id:'aks',hide:true,on:'am',ll:[[-134.76,58.61],[-133.96,58.61],[-133.96,58.01],[-134.76,58.01]]},
{id:'swd',hide:true,on:'am',ll:[[-165.78,64.82],[-164.98,64.82],[-164.98,64.22],[-165.78,64.22]]},
{id:'nsl',hide:true,on:'am',ll:[[-157.15,71.58],[-156.35,71.58],[-156.35,70.98],[-157.15,70.98]]},
{id:'tay',hide:true,on:'eu',ll:[[80.25,73.81],[81.05,73.81],[81.05,73.21],[80.25,73.21]]},
{id:'lap',hide:true,on:'eu',ll:[[128.47,71.94],[129.27,71.94],[129.27,71.34],[128.47,71.34]]},
{id:'pvk',hide:true,on:'eu',ll:[[169.91,70.00],[170.71,70.00],[170.71,69.40],[169.91,69.40]]},
{id:'chu',hide:true,on:'eu',ll:[[177.05,65.05],[177.85,65.05],[177.85,64.45],[177.05,64.45]]},
{id:'kam',hide:true,on:'eu',ll:[[158.25,53.32],[159.05,53.32],[159.05,52.72],[158.25,52.72]]},
);
// The Maldives.
LANDS_LL.push(
{id:'mv',ll:[[73.11,4.48],[73.91,4.48],[73.91,3.88],[73.11,3.88]]},
);
// The Visayas and Mindanao: Cebu and Davao are islands of their own, reached from Luzon only by cable.
LANDS_LL.push(
{id:'ceb',ll:[[123.3,11.3],[124.1,11.3],[124.1,9.4],[123.3,9.4]]},
{id:'mdn',ll:[[121.9,7],[123,8.4],[125.4,9.8],[126.6,7.5],[126.2,5.6],[125,5.6],[122,6.6]]},
);
// Greenland's towns and Iqaluit: no road between them, and no fiber over the ice, only the sea. Greenland's towns share one
// island ('grl'), so Greenland may dig between them; Iqaluit is on Baffin Island.
LANDS_LL.push(
{id:'baf',hide:true,ll:[[-68.92,64.05],[-68.12,64.05],[-68.12,63.45],[-68.92,63.45]]},
{id:'gln',hide:true,on:'grl',ll:[[-52.12,64.48],[-51.32,64.48],[-51.32,63.88],[-52.12,63.88]]},
{id:'glq',hide:true,on:'grl',ll:[[-46.44,61.02],[-45.64,61.02],[-45.64,60.42],[-46.44,60.42]]},
{id:'gls',hide:true,on:'grl',ll:[[-54.07,67.24],[-53.27,67.24],[-53.27,66.64],[-54.07,66.64]]},
{id:'gla',hide:true,on:'grl',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]]},
);
// Malta and Cyprus, islands reached only by their cables
LANDS_LL.push(
{id:'cyp',hide:true,ll:[[32.98,35.49],[33.78,35.49],[33.78,34.89],[32.98,34.89]]},
{id:'mlt',hide:true,ll:[[14.11,36.20],[14.91,36.20],[14.91,35.60],[14.11,35.60]]},
);
// Bahrain, an island of its own: reached by its cables (and the causeway's fibre, which the game leaves out).
LANDS_LL.push(
{id:'bhr',hide:true,ll:[[50.19,26.53],[50.99,26.53],[50.99,25.93],[50.19,25.93]]},
);
// Brunei, Timor-Leste and the Pacific capitals, each its own island
LANDS_LL.push(
{id:'brn',hide:true,ll:[[114.54,5.20],[115.34,5.20],[115.34,4.60],[114.54,4.60]]},
{id:'tim',hide:true,ll:[[125.17,-8.26],[125.97,-8.26],[125.97,-8.86],[125.17,-8.86]]},
{id:'kir',hide:true,ll:[[172.58,1.63],[173.38,1.63],[173.38,1.03],[172.58,1.03]]},
{id:'pnp',hide:true,ll:[[157.76,7.22],[158.56,7.22],[158.56,6.62],[157.76,6.62]]},
{id:'nru',hide:true,ll:[[166.52,-0.25],[167.32,-0.25],[167.32,-0.85],[166.52,-0.85]]},
{id:'tuv',hide:true,ll:[[178.80,-8.22],[179.60,-8.22],[179.60,-8.82],[178.80,-8.82]]},
{id:'vut',hide:true,ll:[[167.92,-17.43],[168.72,-17.43],[168.72,-18.03],[167.92,-18.03]]},
);
// Moroni, São Tomé and Malabo, island capitals on their cables
LANDS_LL.push(
{id:'com',hide:true,ll:[[42.86,-11.40],[43.66,-11.40],[43.66,-12.00],[42.86,-12.00]]},
{id:'stp',hide:true,ll:[[6.33,0.64],[7.13,0.64],[7.13,0.04],[6.33,0.04]]},
{id:'bio',hide:true,ll:[[8.38,4.05],[9.18,4.05],[9.18,3.45],[8.38,3.45]]},
);
const LANDS=LANDS_LL.map(l=>({id:l.id,hide:true,pts:l.ll.map(q=>proj(q[0],q[1]))}));