Every capital in the Middle East, the Caucasus and Central Asia, with Bahrain on the Gulf's cables

The MCP server reads a dropdown as its selected option, so a long network list no longer crowds the traceroute out of a report.
This commit is contained in:
Frederic Jung 2026-11-03 20:48:15 +01:00
parent 296392fb96
commit 894307a35c
No known key found for this signature in database
20 changed files with 391 additions and 17 deletions

View file

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

View file

@ -7,4 +7,6 @@ COAST_LL.push([[123.37,9.45],[123.33,9.42],[123.32,9.49],[123.33,9.58],[123.4,9.
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]]);
// Bahrain, from the same Natural Earth 1:50m land.
COAST_LL.push([[50.61,25.88],[50.58,25.81],[50.54,25.83],[50.47,25.97],[50.49,26.06],[50.45,26.19],[50.47,26.23],[50.56,26.25],[50.59,26.24],[50.56,26.2],[50.61,26.12],[50.62,26]]);
const COAST=COAST_LL.map(poly=>poly.map(q=>proj(q[0],q[1])));

View file

@ -9,11 +9,13 @@ const CITY_LL={
"ala":[1.52,42.51],
"alb":[-73.76,42.65],
"alg":[3.06,36.75],
"amm":[35.93,31.95],
"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],
"asb":[58.38,37.95],
"ash":[-77.49,39.04],
"asp":[133.88,-23.7],
"asu":[-57.58,-25.26],
@ -22,6 +24,7 @@ const CITY_LL={
"aug":[-69.78,44.31],
"auh":[54.37, 24.45],
"aus":[-97.74,30.27],
"bah":[50.59,26.23],
"bas":[-62.72,17.3],
"bcn":[2.17,41.39],
"bcv":[-88.77,17.25],
@ -31,7 +34,9 @@ const CITY_LL={
"bel":[-48.5,-1.46],
"ber":[13.4,52.52],
"bet":[6.1,49.52],
"bey":[35.5,33.89],
"bgi":[-59.58,13.12],
"bgw":[44.37,33.31],
"bhz":[-43.94,-19.92],
"bis":[-100.78,46.81],
"bkk":[100.5, 13.76],
@ -81,6 +86,7 @@ const CITY_LL={
"cys":[-104.82,41.14],
"dac":[90.41, 23.81],
"dal":[-96.8,32.78],
"dam":[36.29,33.51],
"dar":[39.28,-6.79],
"del":[77.21, 28.61],
"den":[-104.99,39.74],
@ -99,8 +105,11 @@ const CITY_LL={
"dvo":[125.6,7.08],
"dxb":[55.27,25.2],
"dyr":[177.4,64.7],
"dyu":[68.77,38.56],
"ebj":[8.52,55.48],
"edi":[-3.19,55.95],
"esb":[32.86,39.93],
"evn":[44.51,40.18],
"fdf":[-61.03,14.64],
"fec":[-38.97,-12.27],
"fft":[-84.87,38.2],
@ -108,6 +117,7 @@ const CITY_LL={
"fln":[-48.55,-27.6],
"for":[-38.54, -3.73],
"fra":[8.68,50.11],
"fru":[74.59,42.87],
"fuj":[56.15,25.07],
"fuk":[130.4,33.59],
"gbe":[25.91,-24.65],
@ -117,6 +127,7 @@ const CITY_LL={
"gnd":[-61.75,12.05],
"gua":[-90.51,14.63],
"gum":[144.75,13.47],
"gyd":[49.87,40.41],
"gyn":[-49.25,-16.69],
"ham":[9.99,53.55],
"har":[-76.88,40.27],
@ -135,17 +146,20 @@ const CITY_LL={
"icn":[126.98,37.57],
"igu":[-54.59,-25.55],
"ind":[-86.16,39.77],
"isb":[73.05,33.68],
"ist":[28.98, 41.01],
"ivc":[168.35,-46.41],
"jam":[-5.72,-15.93],
"jan":[-90.18,32.3],
"jed":[39.25,21.55],
"jef":[-92.17,38.58],
"jer":[35.21,31.77],
"jib":[43.15,11.59],
"jkt":[106.85,-6.2],
"jnb":[28.05,-26.2],
"jnu":[-134.36,58.31],
"jpa":[-34.86,-7.12],
"kbl":[69.17,34.53],
"kcy":[-94.58,39.1],
"kgl":[30.06,-1.95],
"khi":[67.14,25.0],
@ -154,6 +168,7 @@ const CITY_LL={
"kla":[32.58,0.35],
"krs":[8.0,58.15],
"kul":[101.69, 3.14],
"kwi":[47.99,29.38],
"kyv":[30.52,50.45],
"lad":[13.23,-8.84],
"lag":[3.38,6.52],
@ -207,6 +222,7 @@ const CITY_LL={
"nbo":[36.82,-1.29],
"nic":[33.38,35.19],
"nou":[166.46,-22.27],
"nqz":[71.45,51.17],
"nuk":[-51.72,64.18],
"nyc":[-74.0,40.71],
"okc":[-97.52,35.47],
@ -258,6 +274,7 @@ const CITY_LL={
"run":[55.46,-20.92],
"sac":[-121.49,38.58],
"saf":[-105.94,35.69],
"sah":[44.19,15.37],
"sal":[-89.19,13.69],
"sao":[-46.63,-23.55],
"scl":[-70.67, -33.45],
@ -290,11 +307,14 @@ const CITY_LL={
"svd":[-61.22,13.16],
"svg":[5.73,58.97],
"syd":[151.21,-33.87],
"tas":[69.24,41.3],
"tbs":[44.79,41.72],
"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],
"thr":[51.39,35.69],
"tia":[19.82,41.33],
"tik":[128.87,71.64],
"tlh":[-84.28,30.44],

View file

@ -342,6 +342,27 @@ const CITIES=[
{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')},
// The Middle East, the Caucasus and Central Asia: every capital, and Ankara and Islamabad
{id:'evn',name:'Yerevan',x:0,y:0,land:'eu',reg:'AS',cc:'AM',capital:true,P:70,ix:'Apricot-IX',dc:'Ararat View Colo',note:tr('cities.armenia_s_fibre_leaves_through_georgia')},
{id:'gyd',name:'Baku',x:0,y:0,land:'eu',reg:'AS',cc:'AZ',capital:true,P:150,ix:'',dc:'Flame Towers DC',note:tr('cities.the_caspian_has_no_way_out')},
{id:'tbs',name:'Tbilisi',x:0,y:0,land:'eu',reg:'AS',cc:'GE',capital:true,P:80,ix:'Khachapuri-IX',dc:'Sulfur Bath Racks',note:tr('cities.a_cable_under_the_black_sea')},
{id:'nqz',name:'Astana',x:0,y:0,land:'eu',reg:'AS',cc:'KZ',capital:true,P:90,ix:'Beshbarmak-IX',dc:'Baiterek Tower Colo'},
{id:'fru',name:'Bishkek',x:0,y:0,land:'eu',reg:'AS',cc:'KG',capital:true,P:50,ix:'Kumis-IX',dc:'Yurt Rack'},
{id:'dyu',name:'Dushanbe',x:0,y:0,land:'eu',reg:'AS',cc:'TJ',capital:true,P:40,ix:'Pamir-IX',dc:'Monday Market DC'},
{id:'asb',name:'Ashgabat',x:0,y:0,land:'eu',reg:'AS',cc:'TM',capital:true,P:25,ix:'',dc:'White Marble DC',note:tr('cities.nine_networks_for_the_whole_country')},
{id:'tas',name:'Tashkent',x:0,y:0,land:'eu',reg:'AS',cc:'UZ',capital:true,P:150,ix:'Plov-IX',dc:'Silk Road Caravanserai',note:tr('cities.the_gateway_for_half_of_central')},
{id:'kbl',name:'Kabul',x:0,y:0,land:'eu',reg:'AS',cc:'AF',capital:true,P:60,ix:'Kite-Runner-IX',dc:'Kite Hill Colo',note:tr('cities.afghanistan_buys_its_internet_from_four')},
{id:'thr',name:'Tehran',x:0,y:0,land:'eu',reg:'AS',cc:'IR',capital:true,P:500,ix:'Saffron-IX',dc:'Bazaar Basement DC',note:tr('cities.every_big_iranian_operator_reaches_the')},
{id:'bgw',name:'Baghdad',x:0,y:0,land:'eu',reg:'AS',cc:'IQ',capital:true,P:300,ix:'Masgouf-IX',dc:'House of Wisdom DC'},
{id:'jer',name:'Jerusalem',x:0,y:0,land:'eu',reg:'AS',cc:'IL',capital:true,P:110,ix:'',dc:'Old City Wall Rack',note:tr('cities.israel_s_exchanges_and_data_centres')},
{id:'amm',name:'Amman',x:0,y:0,land:'eu',reg:'AS',cc:'JO',capital:true,P:250,ix:'',dc:'Seven Hills Colo',note:tr('cities.jordan_s_only_exchange_is_in')},
{id:'kwi',name:'Kuwait City',x:0,y:0,land:'eu',reg:'AS',cc:'KW',capital:true,P:250,ix:'Dhow-IX',dc:'Towers Colo'},
{id:'bey',name:'Beirut',x:0,y:0,land:'eu',reg:'AS',cc:'LB',capital:true,P:150,ix:'Hummus-IX',dc:'Cedar Colo',note:tr('cities.both_mobile_networks_buy_from_the')},
{id:'dam',name:'Damascus',x:0,y:0,land:'eu',reg:'AS',cc:'SY',capital:true,P:80,ix:'',dc:'Straight Street DC'},
{id:'sah',name:'Sanaa',x:0,y:0,land:'eu',reg:'AS',cc:'YE',capital:true,P:40,ix:'',dc:'Mud Tower Rack',note:tr('cities.six_networks_and_one_gateway_for')},
{id:'bah',name:'Manama',x:0,y:0,land:'bhr',reg:'AS',cc:'BH',capital:true,P:70,ix:'Pearl-IX',dc:'Pearl Diver DC',note:tr('cities.a_cloud_region_on_an_island')},
{id:'esb',name:'Ankara',x:0,y:0,land:'eu',reg:'AS',cc:'TR',capital:true,P:350,ix:'Simit-IX',dc:'Mausoleum Hill Colo'},
{id:'isb',name:'Islamabad',x:0,y:0,land:'eu',reg:'AS',cc:'PK',capital:true,P:150,ix:'',dc:'Margalla Hills DC'},
];
// Display-only nudges for cities that sit on top of each other at map scale; distances still use real lon/lat.
const CITY_NUDGE={
@ -353,8 +374,11 @@ const CITY_NUDGE={
anp:[-0.3,0.6],
asu:[-1.2,-0.8],
auh:[-5,6],
bah:[-0.15,-0.06],
bcn:[-6,-4],
bel:[0.4,0.4],
bey:[0.6,0],
bgw:[-15,0],
brn:[-3.5,2],
bru:[1,3],
bts:[4.5,-2.25],
@ -382,6 +406,7 @@ const CITY_NUDGE={
jib:[0.1,0.2],
jpa:[-0.9,0.6],
khi:[-2,-6],
kwi:[-0.4,0.5],
ldb:[6.2,0.1],
lis:[.8,0],
ljd:[-5.2,-7.7],

View file

@ -14,11 +14,13 @@ const CITY_PDB={
ala:[1,2,3], // est.
alb:[3,12,33300], // est.
alg:[0,0,16],
amm:[2,5,58],
ams:[69,2731,1827],
anc:[3,12,33300], // est.
anp:[0,0,33300], // est.
anu:[1,1,20],
apw:[0,0,11],
asb:[1,2,9], // est.
ash:[86,1010,33300],
asp:[0,0,3196], // est.: no carrier-neutral facility, the incumbent's exchange
asu:[3,8,124],
@ -27,6 +29,7 @@ const CITY_PDB={
aug:[0,0,33300], // est.
auh:[4,1,231],
aus:[9,55,33300], // est.
bah:[8,8,28],
bas:[0,3,9], // est.
bcn:[13,159,1341],
bcv:[0,1,38], // est.
@ -36,7 +39,9 @@ const CITY_PDB={
bel:[3,7,9693],
ber:[22,351,3705],
bet:[16,174,152],
bey:[2,1,191],
bgi:[1,5,20], // est.
bgw:[3,2,222],
bhz:[13,40,9693],
bis:[0,0,33300], // est.
bkk:[32,397,675],
@ -86,6 +91,7 @@ const CITY_PDB={
cys:[1,2,33300], // est.
dac:[30,107,2105],
dal:[59,969,33300],
dam:[0,0,15], // est.
dar:[9,67,124],
del:[31,479,6412],
den:[28,310,33300],
@ -104,8 +110,11 @@ const CITY_PDB={
dvo:[2,10,750], // est.
dxb:[8,135,231],
dyr:[0,0,6683], // est.
dyu:[1,3,45],
ebj:[1,5,529], // est.
edi:[4,46,4027],
esb:[8,24,1295],
evn:[7,6,161],
fdf:[1,5,10], // est.
fec:[5,4,9693],
fft:[0,0,33300], // est.
@ -113,6 +122,7 @@ const CITY_PDB={
fln:[5,23,9693],
for:[16,362,9693],
fra:[56,2450,3705],
fru:[2,3,78],
fuj:[1,49,231],
fuk:[5,50,1330], // QTnet QD3 has 14 networks, BBIX Fukuoka is there; the rest est.
gbe:[1,2,39],
@ -122,6 +132,7 @@ const CITY_PDB={
gnd:[0,2,11], // est.
gua:[5,16,103],
gum:[6,28,11],
gyd:[7,15,131],
gyn:[5,28,9693],
ham:[26,228,3705],
har:[2,6,33300], // est.
@ -140,17 +151,20 @@ const CITY_PDB={
icn:[37,201,1197],
igu:[5,26,124],
ind:[8,45,33300], // est.
isb:[3,4,488],
ist:[28,334,1290],
ivc:[1,2,755], // est.
jam:[0,0,2], // est.
jan:[1,3,33300], // est.
jed:[5,25,220],
jef:[0,0,33300], // est.
jer:[2,10,454], // est.
jib:[3,19,5],
jkt:[98,3015,4108],
jnb:[14,561,879],
jnu:[1,2,33300], // est.
jpa:[4,18,9693],
kbl:[1,5,84], // est.
kcy:[22,313,33300],
kgl:[5,14,34],
khi:[7,15,488],
@ -159,6 +173,7 @@ const CITY_PDB={
kla:[2,18,71],
krs:[3,15,448], // est.
kul:[20,210,434],
kwi:[3,2,91],
kyv:[33,506,2342],
lad:[8,27,79],
lag:[13,279,304],
@ -212,6 +227,7 @@ const CITY_PDB={
nbo:[9,283,274],
nic:[1,3,139],
nou:[2,2,19],
nqz:[2,3,284],
nuk:[0,0,2], // est.
nyc:[96,1322,33300],
okc:[4,18,33300], // est.
@ -263,6 +279,7 @@ const CITY_PDB={
run:[3,15,15], // est.
sac:[6,30,33300], // est.
saf:[0,0,33300], // est.
sah:[1,0,6],
sal:[1,2,56], // est.
sao:[70,1875,9693],
scl:[36,274,450],
@ -295,11 +312,14 @@ const CITY_PDB={
svd:[0,2,6], // est.
svg:[2,14,448],
syd:[40,979,3196],
tas:[7,3,140],
tbs:[4,15,185],
tbu:[0,0,5],
tci:[3,30,1341], // est.
tgd:[2,4,21], // est.
tgu:[1,4,126], // est.
the:[2,1,9693],
thr:[2,2,950],
tia:[6,22,124],
tik:[0,0,6683], // est.
tlh:[1,3,33300], // est.

File diff suppressed because one or more lines are too long