Every capital in Europe: Tirana to Ljubljana, Malta and Cyprus on their cables, and Bern

Sixteen capitals and Bern. National telcos with their real ASNs (One Albania,
Andorra Telecom, Beltelecom, BH Telecom, Hrvatski Telekom, Cyta, Cablenet, FL1,
Hoi, Telia Lietuva, Bite, GO, Melita, Moldtelecom, Monaco Telecom, Crnogorski
Telekom, Slovak Telekom, Telekom Slovenije, Telenet San Marino), and the groups
already in the game take the countries they really run (A1, Orange, Vodafone,
Telekom Srbija, Magyar Telekom, TIM). Andorra and Monaco have one operator each
(W2), San Marino buys its transit in Italy (W3).

Malta and Cyprus are islands on PEACE, MedNautilus, Blue and Malta's own lines
to Sicily; Malta's coastline from Natural Earth. Exchanges only where PeeringDB
has one with members. The capitals test covers Europe's 44.
This commit is contained in:
Frederic Jung 2026-11-03 19:28:16 +01:00
parent c5c0d853ae
commit 296392fb96
No known key found for this signature in database
18 changed files with 306 additions and 21 deletions

View file

@ -101,4 +101,9 @@ LANDS_LL.push(
{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]]},
);
const LANDS=LANDS_LL.map(l=>({id:l.id,hide:true,pts:l.ll.map(q=>proj(q[0],q[1]))}));

View file

@ -5,4 +5,6 @@ const COAST_LL=[[[86.89,73.89],[85.79,73.44],[86.68,73.11],[85.91,73.39],[87.57,
COAST_LL.push([[123.37,9.45],[123.33,9.42],[123.32,9.49],[123.33,9.58],[123.4,9.89],[123.39,9.97],[123.51,10.14],[123.59,10.3],[123.71,10.47],[123.73,10.56],[123.83,10.73],[123.93,10.96],[123.92,11.04],[123.95,11.08],[123.96,11.14],[123.97,11.19],[124.04,11.27],[124.06,11.22],[124.04,11.11],[124.04,11.05],[124.05,11.03],[124.05,10.93],[124.03,10.77],[124.05,10.59],[124,10.4],[123.95,10.32],[123.87,10.26],[123.79,10.22],[123.7,10.13],[123.64,10.02],[123.63,9.92],[123.49,9.59]]);
// Antigua, St Kitts, Dominica, St Lucia, St Vincent and Grenada, from the same Natural Earth 1:50m land.
COAST_LL.push([[-61.72,17.04],[-61.75,17],[-61.86,17.01],[-61.88,17.06],[-61.89,17.1],[-61.82,17.17],[-61.74,17.14],[-61.71,17.11],[-61.68,17.1],[-61.68,17.07],[-61.7,17.05]],[[-62.63,17.24],[-62.66,17.23],[-62.7,17.29],[-62.78,17.3],[-62.84,17.34],[-62.84,17.35],[-62.84,17.37],[-62.83,17.39],[-62.79,17.4],[-62.71,17.35],[-62.67,17.29],[-62.64,17.26]],[[-61.28,15.25],[-61.38,15.23],[-61.41,15.4],[-61.48,15.53],[-61.47,15.6],[-61.46,15.63],[-61.32,15.58],[-61.28,15.53],[-61.25,15.37]],[[-60.9,13.82],[-60.95,13.72],[-61.06,13.78],[-61.07,13.87],[-61.06,13.92],[-61,14.01],[-60.94,14.07],[-60.91,14.09],[-60.89,14.01]],[[-61.17,13.16],[-61.2,13.14],[-61.28,13.21],[-61.27,13.29],[-61.22,13.33],[-61.18,13.36],[-61.14,13.36],[-61.12,13.29],[-61.13,13.2]],[[-61.72,12.01],[-61.78,12.01],[-61.76,12.05],[-61.75,12.11],[-61.71,12.19],[-61.66,12.24],[-61.61,12.22],[-61.63,12.05]]);
// Malta, from the same Natural Earth 1:50m land.
COAST_LL.push([[14.57,35.85],[14.53,35.82],[14.44,35.82],[14.35,35.87],[14.35,35.98],[14.45,35.96],[14.54,35.89]]);
const COAST=COAST_LL.map(poly=>poly.map(q=>proj(q[0],q[1])));

View file

@ -6,6 +6,7 @@ const CITY_LL={
"adl":[138.6,-34.93],
"aju":[-37.07,-10.91],
"akl":[174.76,-36.85],
"ala":[1.52,42.51],
"alb":[-73.76,42.65],
"alg":[3.06,36.75],
"ams":[4.9,52.37],
@ -41,10 +42,12 @@ const CITY_LL={
"boi":[-116.2,43.62],
"bom":[72.88,19.08],
"bos":[-71.06,42.36],
"brn":[7.45,46.95],
"bru":[4.35,50.85],
"brw":[-156.75,71.28],
"bsb":[-47.88,-15.79],
"btr":[-91.15,30.45],
"bts":[17.11,48.15],
"bud":[19.04, 47.5],
"bue":[-58.38, -34.6],
"buh":[26.1, 44.43],
@ -147,6 +150,7 @@ const CITY_LL={
"kgl":[30.06,-1.95],
"khi":[67.14,25.0],
"kin":[-76.78,18.05],
"kiv":[28.86,47.01],
"kla":[32.58,0.35],
"krs":[8.0,58.15],
"kul":[101.69, 3.14],
@ -160,6 +164,7 @@ const CITY_LL={
"lis":[-9.14,38.72],
"lit":[-92.29,34.75],
"ljd":[-51.96,-29.47],
"lju":[14.51,46.06],
"lnk":[-96.7,40.81],
"lon":[-0.13,51.51],
"lpb":[-68.15,-16.5],
@ -170,6 +175,7 @@ const CITY_LL={
"man":[-2.24,53.48],
"mao":[-60.02,-3.12],
"mba":[39.67,-4.04],
"mco":[7.42,43.74],
"mcp":[-51.07,0.03],
"mct":[58.41,23.59],
"mcz":[-35.74,-9.67],
@ -181,6 +187,7 @@ const CITY_LL={
"mgm":[-86.3,32.37],
"mia":[-80.19,25.76],
"mil":[9.19,45.46],
"mla":[14.51,35.9],
"mle":[73.51,4.18],
"mmk":[33.08,68.97],
"mnl":[120.98,14.6],
@ -190,6 +197,7 @@ const CITY_LL={
"mrs":[5.37,43.3],
"mru":[57.52,-20.18],
"msn":[-89.4,43.07],
"msq":[27.56,53.9],
"mtl":[-73.57,45.5],
"mty":[-100.31,25.69],
"muc":[11.58,48.14],
@ -197,6 +205,7 @@ const CITY_LL={
"nas":[-77.35,25.04],
"nat":[-35.21,-5.79],
"nbo":[36.82,-1.29],
"nic":[33.38,35.19],
"nou":[166.46,-22.27],
"nuk":[-51.72,64.18],
"nyc":[-74.0,40.71],
@ -260,13 +269,16 @@ const CITY_LL={
"sin":[103.82,1.35],
"sis":[-53.67,66.94],
"sjc":[-121.89,37.34],
"sjj":[18.41,43.86],
"sjo":[-84.09,9.93],
"sjp":[-49.38,-20.81],
"sju":[-66.1,18.4],
"skp":[21.43,41.99],
"slc":[-111.89,40.76],
"sle":[-123.03,44.94],
"slu":[-60.99,14.01],
"slz":[-44.3,-2.53],
"smr":[12.45,43.94],
"sof":[23.32,42.7],
"spi":[-89.65,39.8],
"sre":[-65.26,-19.04],
@ -280,8 +292,10 @@ const CITY_LL={
"syd":[151.21,-33.87],
"tbu":[-175.2,-21.14],
"tci":[-16.3,28.44],
"tgd":[19.26,42.44],
"tgu":[-87.19,14.07],
"the":[-42.8,-5.09],
"tia":[19.82,41.33],
"tik":[128.87,71.64],
"tlh":[-84.28,30.44],
"tll":[24.45,58.9],
@ -296,8 +310,10 @@ const CITY_LL={
"uio":[-78.47,-0.18],
"uus":[142.74,46.96],
"van":[-123.12,49.28],
"vdz":[9.52,47.14],
"vie":[16.37, 48.21],
"vix":[-40.31,-20.32],
"vno":[25.28,54.69],
"vvo":[131.89,43.12],
"was":[-77.04,38.91],
"waw":[21.01, 52.23],
@ -314,5 +330,6 @@ const CITY_LL={
"yyj":[-123.37,48.43],
"yyt":[-52.71,47.56],
"yzf":[-114.37,62.45],
"zag":[15.98,45.81],
"zrh":[8.54,47.37],
};

View file

@ -324,19 +324,40 @@ const CITIES=[
{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')},
// Europe: every capital not yet on the map (Vatican City is Rome's), and Bern
{id:'tia',name:'Tirana',x:0,y:0,land:'eu',reg:'EU',cc:'AL',capital:true,P:70,ix:'Byrek-IX',dc:'Bunker Colo',note:tr('cities.albania_s_exchange_is_run_by')},
{id:'ala',name:'Andorra la Vella',x:0,y:0,land:'eu',reg:'EU',cc:'AD',capital:true,P:3,ix:'',dc:'Duty-Free Rack',note:tr('cities.andorra_brought_fibre_to_every_home')},
{id:'msq',name:'Minsk',x:0,y:0,land:'eu',reg:'EU',cc:'BY',capital:true,P:140,ix:'Draniki-IX',dc:'Tractor Factory DC',note:tr('cities.belarus_sends_its_traffic_through_two')},
{id:'sjj',name:'Sarajevo',x:0,y:0,land:'eu',reg:'EU',cc:'BA',capital:true,P:40,ix:'Ćevapi-IX',dc:'Old Bazaar Colo'},
{id:'zag',name:'Zagreb',x:0,y:0,land:'eu',reg:'EU',cc:'HR',capital:true,P:90,ix:'Štrukli-IX',dc:'Funicular Racks'},
{id:'nic',name:'Nicosia',x:0,y:0,land:'cyp',reg:'EU',cc:'CY',capital:true,P:30,ix:'Halloumi-IX',dc:'Green Line DC',note:tr('cities.a_divided_capital_the_south_s')},
{id:'vdz',name:'Vaduz',x:0,y:0,land:'eu',reg:'EU',cc:'LI',capital:true,P:3,ix:'Postage-Stamp-IX',dc:'Royal Postage Rack'},
{id:'vno',name:'Vilnius',x:0,y:0,land:'eu',reg:'EU',cc:'LT',capital:true,P:60,ix:'Cepelinai-IX',dc:'Užupis Republic Colo',note:tr('cities.four_exchanges_in_one_city_of')},
{id:'mla',name:'Valletta',x:0,y:0,land:'mlt',reg:'EU',cc:'MT',capital:true,P:40,ix:'',dc:"Knights' Vault DC",note:tr('cities.each_of_malta_s_three_operators')},
{id:'kiv',name:'Chișinău',x:0,y:0,land:'eu',reg:'EU',cc:'MD',capital:true,P:55,ix:'Plăcintă-IX',dc:'Wine Cellar Colo'},
{id:'mco',name:'Monaco',x:0,y:0,land:'eu',reg:'EU',cc:'MC',capital:true,P:4,ix:'',dc:'Casino Vault DC',note:tr('cities.one_telco_for_the_whole_principality')},
{id:'tgd',name:'Podgorica',x:0,y:0,land:'eu',reg:'EU',cc:'ME',capital:true,P:15,ix:'Black-Mountain-IX',dc:'Millennium Bridge Rack'},
{id:'skp',name:'Skopje',x:0,y:0,land:'eu',reg:'EU',cc:'MK',capital:true,P:45,ix:'Ajvar-IX',dc:'Stone Bridge Colo'},
{id:'smr',name:'San Marino',x:0,y:0,land:'eu',reg:'EU',cc:'SM',capital:true,P:3,ix:'',dc:'Three Towers DC'},
{id:'bts',name:'Bratislava',x:0,y:0,land:'eu',reg:'EU',cc:'SK',capital:true,P:55,ix:'Bryndza-IX',dc:'UFO Bridge Colo',note:tr('cities.two_rival_exchanges_one_at_the')},
{id:'lju',name:'Ljubljana',x:0,y:0,land:'eu',reg:'EU',cc:'SI',capital:true,P:45,ix:'Potica-IX',dc:'Dragon Bridge DC'},
{id:'brn',name:'Bern',x:0,y:0,land:'eu',reg:'EU',cc:'CH',capital:true,P:35,ix:'',dc:'Bear Pit Colo',note:tr('cities.switzerland_s_federal_city_governs_from')},
];
// Display-only nudges for cities that sit on top of each other at map scale; distances still use real lon/lat.
const CITY_NUDGE={
aas:[0.8,1.2],
aju:[-13.5,-2.7],
akl:[.6,.4],
ala:[-1.8,-1.8],
alg:[0.9,0.9],
anp:[-0.3,0.6],
asu:[-1.2,-0.8],
auh:[-5,6],
bcn:[-6,-4],
bel:[0.4,0.4],
brn:[-3.5,2],
bru:[1,3],
bts:[4.5,-2.25],
cac:[2.4,-0.7],
cas:[0.6,0.6],
cau:[-10.2,2.4],
@ -365,6 +386,7 @@ const CITY_NUDGE={
lis:[.8,0],
ljd:[-5.2,-7.7],
mba:[-0.8,0],
mco:[-0.5,-0.4],
mcp:[-1.7,1.7],
mcz:[-7.2,8],
mde:[-1.7,-1.9],
@ -391,8 +413,10 @@ const CITY_NUDGE={
slz:[0.3,0.3],
ssa:[0.5,-0.2],
stg:[7,1],
tgd:[-0.8,-1.3],
tll:[4,10],
van:[-3,-6],
vie:[-4.5,2.25],
vix:[-0.4,0.4],
yqb:[0.3,0.2],
yyg:[-2,3.4],

View file

@ -11,6 +11,7 @@ const CITY_PDB={
adl:[6,70,3196], // est.
aju:[4,3,9693],
akl:[27,398,755],
ala:[1,2,3], // est.
alb:[3,12,33300], // est.
alg:[0,0,16],
ams:[69,2731,1827],
@ -46,10 +47,12 @@ const CITY_PDB={
boi:[3,12,33300], // est.
bom:[59,1050,6412],
bos:[31,209,33300],
brn:[7,29,1209],
bru:[33,328,443],
brw:[0,0,33300], // est.
bsb:[14,108,9693],
btr:[2,6,33300], // est.
bts:[4,97,199],
bud:[6,146,369],
bue:[28,372,1357],
buh:[23,289,1424],
@ -152,6 +155,7 @@ const CITY_PDB={
kgl:[5,14,34],
khi:[7,15,488],
kin:[2,10,30], // est.
kiv:[5,12,132],
kla:[2,18,71],
krs:[3,15,448], // est.
kul:[20,210,434],
@ -165,6 +169,7 @@ const CITY_PDB={
lis:[9,129,187],
lit:[2,6,33300], // est.
ljd:[1,2,9693],
lju:[9,34,270],
lnk:[1,3,33300], // est.
lon:[100,2588,4027],
lpb:[1,2,71],
@ -175,6 +180,7 @@ const CITY_PDB={
man:[29,353,4027],
mao:[7,15,9693],
mba:[4,176,274],
mco:[1,3,4], // est.
mcp:[2,0,9693],
mct:[3,25,45], // Equinix MC1 and WCS; presences est.
mcz:[1,5,9693],
@ -186,6 +192,7 @@ const CITY_PDB={
mgm:[1,4,33300], // est.
mia:[27,553,33300],
mil:[29,728,1534],
mla:[3,10,43], // est.
mle:[1,3,15], // est.
mmk:[2,4,6683], // est.
mnl:[17,352,750],
@ -195,6 +202,7 @@ const CITY_PDB={
mrs:[8,273,2249],
mru:[3,20,60], // est.
msn:[3,15,33300], // est.
msq:[2,7,107],
mtl:[35,283,2595],
mty:[5,27,814],
muc:[22,230,3705],
@ -202,6 +210,7 @@ const CITY_PDB={
nas:[1,4,20], // est.
nat:[1,3,9693],
nbo:[9,283,274],
nic:[1,3,139],
nou:[2,2,19],
nuk:[0,0,2], // est.
nyc:[96,1322,33300],
@ -265,13 +274,16 @@ const CITY_PDB={
sin:[58,1271,782],
sis:[0,0,2], // est.
sjc:[57,1048,33300],
sjj:[1,2,46],
sjo:[8,6,128],
sjp:[2,4,9693],
sju:[5,40,60], // est.
skp:[4,8,60],
slc:[22,202,33300],
sle:[1,2,33300], // est.
slu:[0,2,8], // est.
slz:[1,6,9693],
smr:[1,3,10], // est.
sof:[15,451,889],
spi:[1,2,33300], // est.
sre:[0,0,71], // est.
@ -285,8 +297,10 @@ const CITY_PDB={
syd:[40,979,3196],
tbu:[0,0,5],
tci:[3,30,1341], // est.
tgd:[2,4,21], // est.
tgu:[1,4,126], // est.
the:[2,1,9693],
tia:[6,22,124],
tik:[0,0,6683], // est.
tlh:[1,3,33300], // est.
tll:[7,80,256],
@ -301,8 +315,10 @@ const CITY_PDB={
uio:[9,16,287],
uus:[1,3,6683], // est.
van:[13,214,2595],
vdz:[4,7,25],
vie:[30,377,860],
vix:[6,30,9693],
vno:[11,52,190],
vvo:[5,25,6683], // est.
was:[3,20,33300], // est.
waw:[25,855,2743],
@ -319,5 +335,6 @@ const CITY_PDB={
yyj:[1,1,2595],
yyt:[0,0,2595], // est.
yzf:[0,0,2595], // est.
zag:[6,59,147],
zrh:[38,535,1209],
};

File diff suppressed because one or more lines are too long