-
-
Save graydon/11198540 to your computer and use it in GitHub Desktop.
# extracted from http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip | |
# under public domain terms | |
country_bounding_boxes = { | |
'AF': ('Afghanistan', (60.5284298033, 29.318572496, 75.1580277851, 38.4862816432)), | |
'AO': ('Angola', (11.6400960629, -17.9306364885, 24.0799052263, -4.43802336998)), | |
'AL': ('Albania', (19.3044861183, 39.624997667, 21.0200403175, 42.6882473822)), | |
'AE': ('United Arab Emirates', (51.5795186705, 22.4969475367, 56.3968473651, 26.055464179)), | |
'AR': ('Argentina', (-73.4154357571, -55.25, -53.628348965, -21.8323104794)), | |
'AM': ('Armenia', (43.5827458026, 38.7412014837, 46.5057198423, 41.2481285671)), | |
'AQ': ('Antarctica', (-180.0, -90.0, 180.0, -63.2706604895)), | |
'TF': ('Fr. S. and Antarctic Lands', (68.72, -49.775, 70.56, -48.625)), | |
'AU': ('Australia', (113.338953078, -43.6345972634, 153.569469029, -10.6681857235)), | |
'AT': ('Austria', (9.47996951665, 46.4318173285, 16.9796667823, 49.0390742051)), | |
'AZ': ('Azerbaijan', (44.7939896991, 38.2703775091, 50.3928210793, 41.8606751572)), | |
'BI': ('Burundi', (29.0249263852, -4.49998341229, 30.752262811, -2.34848683025)), | |
'BE': ('Belgium', (2.51357303225, 49.5294835476, 6.15665815596, 51.4750237087)), | |
'BJ': ('Benin', (0.772335646171, 6.14215770103, 3.79711225751, 12.2356358912)), | |
'BF': ('Burkina Faso', (-5.47056494793, 9.61083486576, 2.17710778159, 15.1161577418)), | |
'BD': ('Bangladesh', (88.0844222351, 20.670883287, 92.6727209818, 26.4465255803)), | |
'BG': ('Bulgaria', (22.3805257504, 41.2344859889, 28.5580814959, 44.2349230007)), | |
'BS': ('Bahamas', (-78.98, 23.71, -77.0, 27.04)), | |
'BA': ('Bosnia and Herz.', (15.7500260759, 42.65, 19.59976, 45.2337767604)), | |
'BY': ('Belarus', (23.1994938494, 51.3195034857, 32.6936430193, 56.1691299506)), | |
'BZ': ('Belize', (-89.2291216703, 15.8869375676, -88.1068129138, 18.4999822047)), | |
'BO': ('Bolivia', (-69.5904237535, -22.8729187965, -57.4983711412, -9.76198780685)), | |
'BR': ('Brazil', (-73.9872354804, -33.7683777809, -34.7299934555, 5.24448639569)), | |
'BN': ('Brunei', (114.204016555, 4.007636827, 115.450710484, 5.44772980389)), | |
'BT': ('Bhutan', (88.8142484883, 26.7194029811, 92.1037117859, 28.2964385035)), | |
'BW': ('Botswana', (19.8954577979, -26.8285429827, 29.4321883481, -17.6618156877)), | |
'CF': ('Central African Rep.', (14.4594071794, 2.2676396753, 27.3742261085, 11.1423951278)), | |
'CA': ('Canada', (-140.99778, 41.6751050889, -52.6480987209, 83.23324)), | |
'CH': ('Switzerland', (6.02260949059, 45.7769477403, 10.4427014502, 47.8308275417)), | |
'CL': ('Chile', (-75.6443953112, -55.61183, -66.95992, -17.5800118954)), | |
'CN': ('China', (73.6753792663, 18.197700914, 135.026311477, 53.4588044297)), | |
'CI': ('Ivory Coast', (-8.60288021487, 4.33828847902, -2.56218950033, 10.5240607772)), | |
'CM': ('Cameroon', (8.48881554529, 1.72767263428, 16.0128524106, 12.8593962671)), | |
'CD': ('Congo (Kinshasa)', (12.1823368669, -13.2572266578, 31.1741492042, 5.25608775474)), | |
'CG': ('Congo (Brazzaville)', (11.0937728207, -5.03798674888, 18.4530652198, 3.72819651938)), | |
'CO': ('Colombia', (-78.9909352282, -4.29818694419, -66.8763258531, 12.4373031682)), | |
'CR': ('Costa Rica', (-85.94172543, 8.22502798099, -82.5461962552, 11.2171192489)), | |
'CU': ('Cuba', (-84.9749110583, 19.8554808619, -74.1780248685, 23.1886107447)), | |
'CY': ('Cyprus', (32.2566671079, 34.5718694118, 34.0048808123, 35.1731247015)), | |
'CZ': ('Czech Rep.', (12.2401111182, 48.5553052842, 18.8531441586, 51.1172677679)), | |
'DE': ('Germany', (5.98865807458, 47.3024876979, 15.0169958839, 54.983104153)), | |
'DJ': ('Djibouti', (41.66176, 10.9268785669, 43.3178524107, 12.6996385767)), | |
'DK': ('Denmark', (8.08997684086, 54.8000145534, 12.6900061378, 57.730016588)), | |
'DO': ('Dominican Rep.', (-71.9451120673, 17.598564358, -68.3179432848, 19.8849105901)), | |
'DZ': ('Algeria', (-8.68439978681, 19.0573642034, 11.9995056495, 37.1183806422)), | |
'EC': ('Ecuador', (-80.9677654691, -4.95912851321, -75.2337227037, 1.3809237736)), | |
'EG': ('Egypt', (24.70007, 22.0, 36.86623, 31.58568)), | |
'ER': ('Eritrea', (36.3231889178, 12.4554157577, 43.0812260272, 17.9983074)), | |
'ES': ('Spain', (-9.39288367353, 35.946850084, 3.03948408368, 43.7483377142)), | |
'EE': ('Estonia', (23.3397953631, 57.4745283067, 28.1316992531, 59.6110903998)), | |
'ET': ('Ethiopia', (32.95418, 3.42206, 47.78942, 14.95943)), | |
'FI': ('Finland', (20.6455928891, 59.846373196, 31.5160921567, 70.1641930203)), | |
'FJ': ('Fiji', (-180.0, -18.28799, 180.0, -16.0208822567)), | |
'FK': ('Falkland Is.', (-61.2, -52.3, -57.75, -51.1)), | |
'FR': ('France', (-54.5247541978, 2.05338918702, 9.56001631027, 51.1485061713)), | |
'GA': ('Gabon', (8.79799563969, -3.97882659263, 14.4254557634, 2.32675751384)), | |
'GB': ('United Kingdom', (-7.57216793459, 49.959999905, 1.68153079591, 58.6350001085)), | |
'GE': ('Georgia', (39.9550085793, 41.0644446885, 46.6379081561, 43.553104153)), | |
'GH': ('Ghana', (-3.24437008301, 4.71046214438, 1.0601216976, 11.0983409693)), | |
'GN': ('Guinea', (-15.1303112452, 7.3090373804, -7.83210038902, 12.5861829696)), | |
'GM': ('Gambia', (-16.8415246241, 13.1302841252, -13.8449633448, 13.8764918075)), | |
'GW': ('Guinea Bissau', (-16.6774519516, 11.0404116887, -13.7004760401, 12.6281700708)), | |
'GQ': ('Eq. Guinea', (9.3056132341, 1.01011953369, 11.285078973, 2.28386607504)), | |
'GR': ('Greece', (20.1500159034, 34.9199876979, 26.6041955909, 41.8269046087)), | |
'GL': ('Greenland', (-73.297, 60.03676, -12.20855, 83.64513)), | |
'GT': ('Guatemala', (-92.2292486234, 13.7353376327, -88.2250227526, 17.8193260767)), | |
'GY': ('Guyana', (-61.4103029039, 1.26808828369, -56.5393857489, 8.36703481692)), | |
'HN': ('Honduras', (-89.3533259753, 12.9846857772, -83.147219001, 16.0054057886)), | |
'HR': ('Croatia', (13.6569755388, 42.47999136, 19.3904757016, 46.5037509222)), | |
'HT': ('Haiti', (-74.4580336168, 18.0309927434, -71.6248732164, 19.9156839055)), | |
'HU': ('Hungary', (16.2022982113, 45.7594811061, 22.710531447, 48.6238540716)), | |
'ID': ('Indonesia', (95.2930261576, -10.3599874813, 141.03385176, 5.47982086834)), | |
'IN': ('India', (68.1766451354, 7.96553477623, 97.4025614766, 35.4940095078)), | |
'IE': ('Ireland', (-9.97708574059, 51.6693012559, -6.03298539878, 55.1316222195)), | |
'IR': ('Iran', (44.1092252948, 25.0782370061, 63.3166317076, 39.7130026312)), | |
'IQ': ('Iraq', (38.7923405291, 29.0990251735, 48.5679712258, 37.3852635768)), | |
'IS': ('Iceland', (-24.3261840479, 63.4963829617, -13.609732225, 66.5267923041)), | |
'IL': ('Israel', (34.2654333839, 29.5013261988, 35.8363969256, 33.2774264593)), | |
'IT': ('Italy', (6.7499552751, 36.619987291, 18.4802470232, 47.1153931748)), | |
'JM': ('Jamaica', (-78.3377192858, 17.7011162379, -76.1996585761, 18.5242184514)), | |
'JO': ('Jordan', (34.9226025734, 29.1974946152, 39.1954683774, 33.3786864284)), | |
'JP': ('Japan', (129.408463169, 31.0295791692, 145.543137242, 45.5514834662)), | |
'KZ': ('Kazakhstan', (46.4664457538, 40.6623245306, 87.3599703308, 55.3852501491)), | |
'KE': ('Kenya', (33.8935689697, -4.67677, 41.8550830926, 5.506)), | |
'KG': ('Kyrgyzstan', (69.464886916, 39.2794632025, 80.2599902689, 43.2983393418)), | |
'KH': ('Cambodia', (102.3480994, 10.4865436874, 107.614547968, 14.5705838078)), | |
'KR': ('S. Korea', (126.117397903, 34.3900458847, 129.468304478, 38.6122429469)), | |
'KW': ('Kuwait', (46.5687134133, 28.5260627304, 48.4160941913, 30.0590699326)), | |
'LA': ('Laos', (100.115987583, 13.88109101, 107.564525181, 22.4647531194)), | |
'LB': ('Lebanon', (35.1260526873, 33.0890400254, 36.6117501157, 34.6449140488)), | |
'LR': ('Liberia', (-11.4387794662, 4.35575511313, -7.53971513511, 8.54105520267)), | |
'LY': ('Libya', (9.31941084152, 19.58047, 25.16482, 33.1369957545)), | |
'LK': ('Sri Lanka', (79.6951668639, 5.96836985923, 81.7879590189, 9.82407766361)), | |
'LS': ('Lesotho', (26.9992619158, -30.6451058896, 29.3251664568, -28.6475017229)), | |
'LT': ('Lithuania', (21.0558004086, 53.9057022162, 26.5882792498, 56.3725283881)), | |
'LU': ('Luxembourg', (5.67405195478, 49.4426671413, 6.24275109216, 50.1280516628)), | |
'LV': ('Latvia', (21.0558004086, 55.61510692, 28.1767094256, 57.9701569688)), | |
'MA': ('Morocco', (-17.0204284327, 21.4207341578, -1.12455115397, 35.7599881048)), | |
'MD': ('Moldova', (26.6193367856, 45.4882831895, 30.0246586443, 48.4671194525)), | |
'MG': ('Madagascar', (43.2541870461, -25.6014344215, 50.4765368996, -12.0405567359)), | |
'MX': ('Mexico', (-117.12776, 14.5388286402, -86.811982388, 32.72083)), | |
'MK': ('Macedonia', (20.46315, 40.8427269557, 22.9523771502, 42.3202595078)), | |
'ML': ('Mali', (-12.1707502914, 10.0963607854, 4.27020999514, 24.9745740829)), | |
'MM': ('Myanmar', (92.3032344909, 9.93295990645, 101.180005324, 28.335945136)), | |
'ME': ('Montenegro', (18.45, 41.87755, 20.3398, 43.52384)), | |
'MN': ('Mongolia', (87.7512642761, 41.5974095729, 119.772823928, 52.0473660345)), | |
'MZ': ('Mozambique', (30.1794812355, -26.7421916643, 40.7754752948, -10.3170960425)), | |
'MR': ('Mauritania', (-17.0634232243, 14.6168342147, -4.92333736817, 27.3957441269)), | |
'MW': ('Malawi', (32.6881653175, -16.8012997372, 35.7719047381, -9.23059905359)), | |
'MY': ('Malaysia', (100.085756871, 0.773131415201, 119.181903925, 6.92805288332)), | |
'NA': ('Namibia', (11.7341988461, -29.045461928, 25.0844433937, -16.9413428687)), | |
'NC': ('New Caledonia', (164.029605748, -22.3999760881, 167.120011428, -20.1056458473)), | |
'NE': ('Niger', (0.295646396495, 11.6601671412, 15.9032466977, 23.4716684026)), | |
'NG': ('Nigeria', (2.69170169436, 4.24059418377, 14.5771777686, 13.8659239771)), | |
'NI': ('Nicaragua', (-87.6684934151, 10.7268390975, -83.147219001, 15.0162671981)), | |
'NL': ('Netherlands', (3.31497114423, 50.803721015, 7.09205325687, 53.5104033474)), | |
'NO': ('Norway', (4.99207807783, 58.0788841824, 31.29341841, 80.6571442736)), | |
'NP': ('Nepal', (80.0884245137, 26.3978980576, 88.1748043151, 30.4227169866)), | |
'NZ': ('New Zealand', (166.509144322, -46.641235447, 178.517093541, -34.4506617165)), | |
'OM': ('Oman', (52.0000098, 16.6510511337, 59.8080603372, 26.3959343531)), | |
'PK': ('Pakistan', (60.8742484882, 23.6919650335, 77.8374507995, 37.1330309108)), | |
'PA': ('Panama', (-82.9657830472, 7.2205414901, -77.2425664944, 9.61161001224)), | |
'PE': ('Peru', (-81.4109425524, -18.3479753557, -68.6650797187, -0.0572054988649)), | |
'PH': ('Philippines', (117.17427453, 5.58100332277, 126.537423944, 18.5052273625)), | |
'PG': ('Papua New Guinea', (141.000210403, -10.6524760881, 156.019965448, -2.50000212973)), | |
'PL': ('Poland', (14.0745211117, 49.0273953314, 24.0299857927, 54.8515359564)), | |
'PR': ('Puerto Rico', (-67.2424275377, 17.946553453, -65.5910037909, 18.5206011011)), | |
'KP': ('N. Korea', (124.265624628, 37.669070543, 130.780007359, 42.9853868678)), | |
'PT': ('Portugal', (-9.52657060387, 36.838268541, -6.3890876937, 42.280468655)), | |
'PY': ('Paraguay', (-62.6850571357, -27.5484990374, -54.2929595608, -19.3427466773)), | |
'QA': ('Qatar', (50.7439107603, 24.5563308782, 51.6067004738, 26.1145820175)), | |
'RO': ('Romania', (20.2201924985, 43.6884447292, 29.62654341, 48.2208812526)), | |
'RU': ('Russia', (-180.0, 41.151416124, 180.0, 81.2504)), | |
'RW': ('Rwanda', (29.0249263852, -2.91785776125, 30.8161348813, -1.13465911215)), | |
'SA': ('Saudi Arabia', (34.6323360532, 16.3478913436, 55.6666593769, 32.161008816)), | |
'SD': ('Sudan', (21.93681, 8.61972971293, 38.4100899595, 22.0)), | |
'SS': ('S. Sudan', (23.8869795809, 3.50917, 35.2980071182, 12.2480077571)), | |
'SN': ('Senegal', (-17.6250426905, 12.332089952, -11.4678991358, 16.5982636581)), | |
'SB': ('Solomon Is.', (156.491357864, -10.8263672828, 162.398645868, -6.59933847415)), | |
'SL': ('Sierra Leone', (-13.2465502588, 6.78591685631, -10.2300935531, 10.0469839543)), | |
'SV': ('El Salvador', (-90.0955545723, 13.1490168319, -87.7235029772, 14.4241327987)), | |
'SO': ('Somalia', (40.98105, -1.68325, 51.13387, 12.02464)), | |
'RS': ('Serbia', (18.82982, 42.2452243971, 22.9860185076, 46.1717298447)), | |
'SR': ('Suriname', (-58.0446943834, 1.81766714112, -53.9580446031, 6.0252914494)), | |
'SK': ('Slovakia', (16.8799829444, 47.7584288601, 22.5581376482, 49.5715740017)), | |
'SI': ('Slovenia', (13.6981099789, 45.4523163926, 16.5648083839, 46.8523859727)), | |
'SE': ('Sweden', (11.0273686052, 55.3617373725, 23.9033785336, 69.1062472602)), | |
'SZ': ('Swaziland', (30.6766085141, -27.2858794085, 32.0716654803, -25.660190525)), | |
'SY': ('Syria', (35.7007979673, 32.312937527, 42.3495910988, 37.2298725449)), | |
'TD': ('Chad', (13.5403935076, 7.42192454674, 23.88689, 23.40972)), | |
'TG': ('Togo', (-0.0497847151599, 5.92883738853, 1.86524051271, 11.0186817489)), | |
'TH': ('Thailand', (97.3758964376, 5.69138418215, 105.589038527, 20.4178496363)), | |
'TJ': ('Tajikistan', (67.4422196796, 36.7381712916, 74.9800024759, 40.9602133245)), | |
'TM': ('Turkmenistan', (52.5024597512, 35.2706639674, 66.5461503437, 42.7515510117)), | |
'TL': ('East Timor', (124.968682489, -9.39317310958, 127.335928176, -8.27334482181)), | |
'TT': ('Trinidad and Tobago', (-61.95, 10.0, -60.895, 10.89)), | |
'TN': ('Tunisia', (7.52448164229, 30.3075560572, 11.4887874691, 37.3499944118)), | |
'TR': ('Turkey', (26.0433512713, 35.8215347357, 44.7939896991, 42.1414848903)), | |
'TW': ('Taiwan', (120.106188593, 21.9705713974, 121.951243931, 25.2954588893)), | |
'TZ': ('Tanzania', (29.3399975929, -11.7209380022, 40.31659, -0.95)), | |
'UG': ('Uganda', (29.5794661801, -1.44332244223, 35.03599, 4.24988494736)), | |
'UA': ('Ukraine', (22.0856083513, 44.3614785833, 40.0807890155, 52.3350745713)), | |
'UY': ('Uruguay', (-58.4270741441, -34.9526465797, -53.209588996, -30.1096863746)), | |
'US': ('United States', (-171.791110603, 18.91619, -66.96466, 71.3577635769)), | |
'UZ': ('Uzbekistan', (55.9289172707, 37.1449940049, 73.055417108, 45.5868043076)), | |
'VE': ('Venezuela', (-73.3049515449, 0.724452215982, -59.7582848782, 12.1623070337)), | |
'VN': ('Vietnam', (102.170435826, 8.59975962975, 109.33526981, 23.3520633001)), | |
'VU': ('Vanuatu', (166.629136998, -16.5978496233, 167.844876744, -14.6264970842)), | |
'PS': ('West Bank', (34.9274084816, 31.3534353704, 35.5456653175, 32.5325106878)), | |
'YE': ('Yemen', (42.6048726743, 12.5859504257, 53.1085726255, 19.0000033635)), | |
'ZA': ('South Africa', (16.3449768409, -34.8191663551, 32.830120477, -22.0913127581)), | |
'ZM': ('Zambia', (21.887842645, -17.9612289364, 33.4856876971, -8.23825652429)), | |
'ZW': ('Zimbabwe', (25.2642257016, -22.2716118303, 32.8498608742, -15.5077869605)), | |
} |
Some may find this easier to use. Same as above @hduchesn
{'ABW': {'sw': {'lat': 12.1702998, 'lon': -70.2809842}, 'ne': {'lat': 12.8102998, 'lon': -69.6409842}}, 'AFG': {'sw': {'lat': 29.3772, 'lon': 60.5176034}, 'ne': {'lat': 38.4910682, 'lon': 74.889862}}, 'AGO': {'sw': {'lat': -18.038945, 'lon': 11.4609793}, 'ne': {'lat': -4.3880634, 'lon': 24.0878856}}, 'AIA': {'sw': {'lat': 18.0615454, 'lon': -63.6391992}, 'ne': {'lat': 18.7951194, 'lon': -62.7125449}}, 'ALA': {'sw': {'lat': 59.4541578, 'lon': 19.0832098}, 'ne': {'lat': 60.87665, 'lon': 21.3456556}}, 'ALB': {'sw': {'lat': 39.6448625, 'lon': 19.1246095}, 'ne': {'lat': 42.6610848, 'lon': 21.0574335}}, 'AND': {'sw': {'lat': 42.4288238, 'lon': 1.4135781}, 'ne': {'lat': 42.6559357, 'lon': 1.7863837}}, 'ANT': {'sw': {'lat': 12.1544542, 'lon': -68.940593}, 'ne': {'lat': 12.1547472, 'lon': -68.9403518}}, 'ARE': {'sw': {'lat': 22.6444, 'lon': 51.498}, 'ne': {'lat': 26.2822, 'lon': 56.3834}}, 'ARG': {'sw': {'lat': -55.1850761, 'lon': -73.5600329}, 'ne': {'lat': -21.781168, 'lon': -53.6374515}}, 'ARM': {'sw': {'lat': 38.8404775, 'lon': 43.4471395}, 'ne': {'lat': 41.300712, 'lon': 46.6333087}}, 'ASM': {'sw': {'lat': -14.7608358, 'lon': -171.2951296}, 'ne': {'lat': -10.8449746, 'lon': -167.9322899}}, 'ATA': {'sw': {'lat': -85.0511287, 'lon': -180.0}, 'ne': {'lat': -60.0, 'lon': 180.0}}, 'ATF': {'sw': {'lat': -50.2187169, 'lon': 39.4138676}, 'ne': {'lat': -11.3139928, 'lon': 77.8494974}}, 'ATG': {'sw': {'lat': 16.7573901, 'lon': -62.5536517}, 'ne': {'lat': 17.929, 'lon': -61.447857}}, 'AUS': {'sw': {'lat': -55.3228175, 'lon': 72.2460938}, 'ne': {'lat': -9.0882278, 'lon': 168.2249543}}, 'AUT': {'sw': {'lat': 46.3722761, 'lon': 9.5307487}, 'ne': {'lat': 49.0205305, 'lon': 17.160776}}, 'AZE': {'sw': {'lat': 38.3929551, 'lon': 44.7633701}, 'ne': {'lat': 41.9502947, 'lon': 51.0090302}}, 'BDI': {'sw': {'lat': -4.4693155, 'lon': 29.0007401}, 'ne': {'lat': -2.3096796, 'lon': 30.8498462}}, 'BEL': {'sw': {'lat': 49.4969821, 'lon': 2.3889137}, 'ne': {'lat': 51.5516667, 'lon': 6.408097}}, 'BEN': {'sw': {'lat': 6.0398696, 'lon': 0.776667}, 'ne': {'lat': 12.4092447, 'lon': 3.843343}}, 'BFA': {'sw': {'lat': 9.4104718, 'lon': -5.5132416}, 'ne': {'lat': 15.084, 'lon': 2.4089717}}, 'BGD': {'sw': {'lat': 20.3756582, 'lon': 88.0075306}, 'ne': {'lat': 26.6382534, 'lon': 92.6804979}}, 'BGR': {'sw': {'lat': 41.2353929, 'lon': 22.3571459}, 'ne': {'lat': 44.2167064, 'lon': 28.8875409}}, 'BHR': {'sw': {'lat': 25.535, 'lon': 50.2697989}, 'ne': {'lat': 26.6872444, 'lon': 50.9233693}}, 'BHS': {'sw': {'lat': 20.7059846, 'lon': -80.7001941}, 'ne': {'lat': 27.4734551, 'lon': -72.4477521}}, 'BIH': {'sw': {'lat': 42.5553114, 'lon': 15.7287433}, 'ne': {'lat': 45.2764135, 'lon': 19.6237311}}, 'BLM': {'sw': {'lat': 17.670931, 'lon': -63.06639}, 'ne': {'lat': 18.1375569, 'lon': -62.5844019}}, 'BLR': {'sw': {'lat': 51.2575982, 'lon': 23.1783344}, 'ne': {'lat': 56.17218, 'lon': 32.7627809}}, 'BLZ': {'sw': {'lat': 15.8857286, 'lon': -89.2262083}, 'ne': {'lat': 18.496001, 'lon': -87.3098494}}, 'BMU': {'sw': {'lat': 32.0469651, 'lon': -65.1232222}, 'ne': {'lat': 32.5913693, 'lon': -64.4109842}}, 'BOL': {'sw': {'lat': -22.8982742, 'lon': -69.6450073}, 'ne': {'lat': -9.6689438, 'lon': -57.453}}, 'BRA': {'sw': {'lat': -33.8689056, 'lon': -73.9830625}, 'ne': {'lat': 5.2842873, 'lon': -28.6341164}}, 'BRB': {'sw': {'lat': 12.845, 'lon': -59.8562115}, 'ne': {'lat': 13.535, 'lon': -59.2147175}}, 'BRN': {'sw': {'lat': 4.002508, 'lon': 114.0758734}, 'ne': {'lat': 5.1011857, 'lon': 115.3635623}}, 'BTN': {'sw': {'lat': 26.702016, 'lon': 88.7464724}, 'ne': {'lat': 28.246987, 'lon': 92.1252321}}, 'BVT': {'sw': {'lat': -54.654, 'lon': 2.9345531}, 'ne': {'lat': -54.187, 'lon': 3.7791099}}, 'BWA': {'sw': {'lat': -26.9059669, 'lon': 19.9986474}, 'ne': {'lat': -17.778137, 'lon': 29.375304}}, 'CAF': {'sw': {'lat': 2.2156553, 'lon': 14.4155426}, 'ne': {'lat': 11.001389, 'lon': 27.4540764}}, 'CAN': {'sw': {'lat': 41.6765556, 'lon': -141.00275}, 'ne': {'lat': 83.3362128, 'lon': -52.3231981}}, 'CCK': {'sw': {'lat': -12.4055983, 'lon': 96.612524}, 'ne': {'lat': -11.6213132, 'lon': 97.1357343}}, 'CHE': {'sw': {'lat': 45.817995, 'lon': 5.9559113}, 'ne': {'lat': 47.8084648, 'lon': 10.4922941}}, 'CHL': {'sw': {'lat': -56.725, 'lon': -109.6795789}, 'ne': {'lat': -17.4983998, 'lon': -66.0753474}}, 'CHN': {'sw': {'lat': 8.8383436, 'lon': 73.4997347}, 'ne': {'lat': 53.5608154, 'lon': 134.7754563}}, 'CIV': {'sw': {'lat': 4.1621205, 'lon': -8.601725}, 'ne': {'lat': 10.740197, 'lon': -2.493031}}, 'CMR': {'sw': {'lat': 1.6546659, 'lon': 8.3822176}, 'ne': {'lat': 13.083333, 'lon': 16.1921476}}, 'COD': {'sw': {'lat': -13.459035, 'lon': 12.039074}, 'ne': {'lat': 5.3920026, 'lon': 31.3056758}}, 'COG': {'sw': {'lat': -5.149089, 'lon': 11.0048205}, 'ne': {'lat': 3.713056, 'lon': 18.643611}}, 'COK': {'sw': {'lat': -22.15807, 'lon': -166.0856468}, 'ne': {'lat': -8.7168792, 'lon': -157.1089329}}, 'COL': {'sw': {'lat': -4.2316872, 'lon': -82.1243666}, 'ne': {'lat': 16.0571269, 'lon': -66.8511907}}, 'COM': {'sw': {'lat': -12.621, 'lon': 43.025305}, 'ne': {'lat': -11.165, 'lon': 44.7451922}}, 'CPV': {'sw': {'lat': 14.8031546, 'lon': -25.3609478}, 'ne': {'lat': 17.2053108, 'lon': -22.6673416}}, 'CRI': {'sw': {'lat': 5.3329698, 'lon': -87.2722647}, 'ne': {'lat': 11.2195684, 'lon': -82.5060208}}, 'CUB': {'sw': {'lat': 19.6275294, 'lon': -85.1679702}, 'ne': {'lat': 23.4816972, 'lon': -73.9190004}}, 'CXR': {'sw': {'lat': -10.5698515, 'lon': 105.5336422}, 'ne': {'lat': -10.4123553, 'lon': 105.7130159}}, 'CYM': {'sw': {'lat': 19.0620619, 'lon': -81.6313748}, 'ne': {'lat': 19.9573759, 'lon': -79.5110954}}, 'CYP': {'sw': {'lat': 34.4383706, 'lon': 32.0227581}, 'ne': {'lat': 35.913252, 'lon': 34.8553182}}, 'CZE': {'sw': {'lat': 48.5518083, 'lon': 12.0905901}, 'ne': {'lat': 51.0557036, 'lon': 18.859216}}, 'DEU': {'sw': {'lat': 47.2701114, 'lon': 5.8663153}, 'ne': {'lat': 55.099161, 'lon': 15.0419319}}, 'DJI': {'sw': {'lat': 10.9149547, 'lon': 41.7713139}, 'ne': {'lat': 12.7923081, 'lon': 43.6579046}}, 'DMA': {'sw': {'lat': 15.0074207, 'lon': -61.6869184}, 'ne': {'lat': 15.7872222, 'lon': -61.0329895}}, 'DNK': {'sw': {'lat': 54.4516667, 'lon': 7.7153255}, 'ne': {'lat': 57.9524297, 'lon': 15.5530641}}, 'DOM': {'sw': {'lat': 17.2701708, 'lon': -72.0574706}, 'ne': {'lat': 21.303433, 'lon': -68.1101463}}, 'DZA': {'sw': {'lat': 18.968147, 'lon': -8.668908}, 'ne': {'lat': 37.2962055, 'lon': 11.997337}}, 'ECU': {'sw': {'lat': -5.0159314, 'lon': -92.2072392}, 'ne': {'lat': 1.8835964, 'lon': -75.192504}}, 'EGY': {'sw': {'lat': 22.0, 'lon': 24.6499112}, 'ne': {'lat': 31.8330854, 'lon': 37.1153517}}, 'ERI': {'sw': {'lat': 12.3548219, 'lon': 36.4333653}, 'ne': {'lat': 18.0709917, 'lon': 43.3001714}}, 'ESH': {'sw': {'lat': 20.556883, 'lon': -17.3494721}, 'ne': {'lat': 27.6666834, 'lon': -8.666389}}, 'ESP': {'sw': {'lat': 27.4335426, 'lon': -18.3936845}, 'ne': {'lat': 43.9933088, 'lon': 4.5918885}}, 'EST': {'sw': {'lat': 57.5092997, 'lon': 21.3826069}, 'ne': {'lat': 59.9383754, 'lon': 28.2100175}}, 'ETH': {'sw': {'lat': 3.397448, 'lon': 32.9975838}, 'ne': {'lat': 14.8940537, 'lon': 47.9823797}}, 'FIN': {'sw': {'lat': 59.4541578, 'lon': 19.0832098}, 'ne': {'lat': 70.0922939, 'lon': 31.5867071}}, 'FJI': {'sw': {'lat': -21.9434274, 'lon': 172.0}, 'ne': {'lat': -12.2613866, 'lon': -178.5}}, 'FLK': {'sw': {'lat': -53.1186766, 'lon': -61.7726772}, 'ne': {'lat': -50.7973007, 'lon': -57.3662367}}, 'FRA': {'sw': {'lat': 41.2632185, 'lon': -5.4534286}, 'ne': {'lat': 51.268318, 'lon': 9.8678344}}, 'FRO': {'sw': {'lat': 61.3915553, 'lon': -7.6882939}, 'ne': {'lat': 62.3942991, 'lon': -6.2565525}}, 'FSM': {'sw': {'lat': 0.827, 'lon': 137.2234512}, 'ne': {'lat': 10.291, 'lon': 163.2364054}}, 'GAB': {'sw': {'lat': -4.1012261, 'lon': 8.5002246}, 'ne': {'lat': 2.3182171, 'lon': 14.539444}}, 'GBR': {'sw': {'lat': 49.674, 'lon': -14.015517}, 'ne': {'lat': 61.061, 'lon': 2.0919117}}, 'GEO': {'sw': {'lat': 41.0552922, 'lon': 39.8844803}, 'ne': {'lat': 43.5864294, 'lon': 46.7365373}}, 'GGY': {'sw': {'lat': 49.4155331, 'lon': -2.6751703}, 'ne': {'lat': 49.5090776, 'lon': -2.501814}}, 'GHA': {'sw': {'lat': 4.5392525, 'lon': -3.260786}, 'ne': {'lat': 11.1748562, 'lon': 1.2732942}}, 'GIB': {'sw': {'lat': 36.100807, 'lon': -5.3941295}, 'ne': {'lat': 36.180807, 'lon': -5.3141295}}, 'GIN': {'sw': {'lat': 7.1906045, 'lon': -15.5680508}, 'ne': {'lat': 12.67563, 'lon': -7.6381993}}, 'GLP': {'sw': {'lat': 15.8320085, 'lon': -61.809764}, 'ne': {'lat': 16.5144664, 'lon': -61.0003663}}, 'GMB': {'sw': {'lat': 13.061, 'lon': -17.0288254}, 'ne': {'lat': 13.8253137, 'lon': -13.797778}}, 'GNB': {'sw': {'lat': 10.6514215, 'lon': -16.894523}, 'ne': {'lat': 12.6862384, 'lon': -13.6348777}}, 'GNQ': {'sw': {'lat': -1.6732196, 'lon': 5.4172943}, 'ne': {'lat': 3.989, 'lon': 11.3598628}}, 'GRC': {'sw': {'lat': 34.7006096, 'lon': 19.2477876}, 'ne': {'lat': 41.7488862, 'lon': 29.7296986}}, 'GRD': {'sw': {'lat': 11.786, 'lon': -62.0065868}, 'ne': {'lat': 12.5966532, 'lon': -61.1732143}}, 'GRL': {'sw': {'lat': 59.515387, 'lon': -74.1250416}, 'ne': {'lat': 83.875172, 'lon': -10.0288759}}, 'GTM': {'sw': {'lat': 13.6345804, 'lon': -92.3105242}, 'ne': {'lat': 17.8165947, 'lon': -88.1755849}}, 'GUF': {'sw': {'lat': 2.112222, 'lon': -54.60278}, 'ne': {'lat': 5.7507111, 'lon': -51.6346139}}, 'GUM': {'sw': {'lat': 13.182335, 'lon': 144.563426}, 'ne': {'lat': 13.706179, 'lon': 145.009167}}, 'GUY': {'sw': {'lat': 1.1710017, 'lon': -61.414905}, 'ne': {'lat': 8.6038842, 'lon': -56.4689543}}, 'HKG': {'sw': {'lat': 22.1193278, 'lon': 114.0028131}, 'ne': {'lat': 22.4393278, 'lon': 114.3228131}}, 'HMD': {'sw': {'lat': -53.394741, 'lon': 72.2460938}, 'ne': {'lat': -52.7030677, 'lon': 74.1988754}}, 'HND': {'sw': {'lat': 12.9808485, 'lon': -89.3568207}, 'ne': {'lat': 17.619526, 'lon': -82.1729621}}, 'HRV': {'sw': {'lat': 42.1765993, 'lon': 13.2104814}, 'ne': {'lat': 46.555029, 'lon': 19.4470842}}, 'HTI': {'sw': {'lat': 17.9099291, 'lon': -75.2384618}, 'ne': {'lat': 20.2181368, 'lon': -71.6217461}}, 'HUN': {'sw': {'lat': 45.737128, 'lon': 16.1138867}, 'ne': {'lat': 48.585257, 'lon': 22.8977094}}, 'IDN': {'sw': {'lat': -11.2085669, 'lon': 94.7717124}, 'ne': {'lat': 6.2744496, 'lon': 141.0194444}}, 'IMN': {'sw': {'lat': 54.0539576, 'lon': -4.7946845}, 'ne': {'lat': 54.4178705, 'lon': -4.3076853}}, 'IND': {'sw': {'lat': 6.5546079, 'lon': 68.1113787}, 'ne': {'lat': 35.6745457, 'lon': 97.395561}}, 'IOT': {'sw': {'lat': -7.6454079, 'lon': 71.036504}, 'ne': {'lat': -5.037066, 'lon': 72.7020157}}, 'IRL': {'sw': {'lat': 51.222, 'lon': -11.0133788}, 'ne': {'lat': 55.636, 'lon': -5.6582363}}, 'IRN': {'sw': {'lat': 24.8465103, 'lon': 44.0318908}, 'ne': {'lat': 39.7816502, 'lon': 63.3332704}}, 'IRQ': {'sw': {'lat': 29.0585661, 'lon': 38.7936719}, 'ne': {'lat': 37.380932, 'lon': 48.8412702}}, 'ISL': {'sw': {'lat': 63.0859177, 'lon': -25.0135069}, 'ne': {'lat': 67.353, 'lon': -12.8046162}}, 'ISR': {'sw': {'lat': 29.4533796, 'lon': 34.2674994}, 'ne': {'lat': 33.3356317, 'lon': 35.8950234}}, 'ITA': {'sw': {'lat': 35.2889616, 'lon': 6.6272658}, 'ne': {'lat': 47.0921462, 'lon': 18.7844746}}, 'JAM': {'sw': {'lat': 16.5899443, 'lon': -78.5782366}, 'ne': {'lat': 18.7256394, 'lon': -75.7541143}}, 'JEY': {'sw': {'lat': 49.1625179, 'lon': -2.254512}, 'ne': {'lat': 49.2621288, 'lon': -2.0104193}}, 'JOR': {'sw': {'lat': 29.183401, 'lon': 34.8844372}, 'ne': {'lat': 33.3750617, 'lon': 39.3012981}}, 'JPN': {'sw': {'lat': 20.2145811, 'lon': 122.7141754}, 'ne': {'lat': 45.7112046, 'lon': 154.205541}}, 'KAZ': {'sw': {'lat': 40.5686476, 'lon': 46.4932179}, 'ne': {'lat': 55.4421701, 'lon': 87.3156316}}, 'KEN': {'sw': {'lat': -4.8995204, 'lon': 33.9098987}, 'ne': {'lat': 4.62, 'lon': 41.899578}}, 'KGZ': {'sw': {'lat': 39.1728437, 'lon': 69.2649523}, 'ne': {'lat': 43.2667971, 'lon': 80.2295793}}, 'KHM': {'sw': {'lat': 9.4752639, 'lon': 102.3338282}, 'ne': {'lat': 14.6904224, 'lon': 107.6276788}}, 'KIR': {'sw': {'lat': -7.0516717, 'lon': -179.1645388}, 'ne': {'lat': 7.9483283, 'lon': -164.1645388}}, 'KNA': {'sw': {'lat': 16.895, 'lon': -63.051129}, 'ne': {'lat': 17.6158146, 'lon': -62.3303519}}, 'KOR': {'sw': {'lat': 32.9104556, 'lon': 124.354847}, 'ne': {'lat': 38.623477, 'lon': 132.1467806}}, 'KWT': {'sw': {'lat': 28.5243622, 'lon': 46.5526837}, 'ne': {'lat': 30.1038082, 'lon': 49.0046809}}, 'LAO': {'sw': {'lat': 13.9096752, 'lon': 100.0843247}, 'ne': {'lat': 22.5086717, 'lon': 107.6349989}}, 'LBN': {'sw': {'lat': 33.0479858, 'lon': 34.8825667}, 'ne': {'lat': 34.6923543, 'lon': 36.625}}, 'LBR': {'sw': {'lat': 4.1555907, 'lon': -11.6080764}, 'ne': {'lat': 8.5519861, 'lon': -7.367323}}, 'LBY': {'sw': {'lat': 19.5008138, 'lon': 9.391081}, 'ne': {'lat': 33.3545898, 'lon': 25.3770629}}, 'LCA': {'sw': {'lat': 13.508, 'lon': -61.2853867}, 'ne': {'lat': 14.2725, 'lon': -60.6669363}}, 'LIE': {'sw': {'lat': 47.0484291, 'lon': 9.4716736}, 'ne': {'lat': 47.270581, 'lon': 9.6357143}}, 'LKA': {'sw': {'lat': 5.719, 'lon': 79.3959205}, 'ne': {'lat': 10.035, 'lon': 82.0810141}}, 'LSO': {'sw': {'lat': -30.6772773, 'lon': 27.0114632}, 'ne': {'lat': -28.570615, 'lon': 29.4557099}}, 'LTU': {'sw': {'lat': 53.8967893, 'lon': 20.653783}, 'ne': {'lat': 56.4504213, 'lon': 26.8355198}}, 'LUX': {'sw': {'lat': 49.4969821, 'lon': 4.9684415}, 'ne': {'lat': 50.430377, 'lon': 6.0344254}}, 'LVA': {'sw': {'lat': 55.6746505, 'lon': 20.6715407}, 'ne': {'lat': 58.0855688, 'lon': 28.2414904}}, 'MAC': {'sw': {'lat': 22.0766667, 'lon': 113.5281666}, 'ne': {'lat': 22.2170361, 'lon': 113.6301389}}, 'MAF': {'sw': {'lat': 17.8963535, 'lon': -63.3605643}, 'ne': {'lat': 18.1902778, 'lon': -62.7644063}}, 'MAR': {'sw': {'lat': 21.3365321, 'lon': -17.2551456}, 'ne': {'lat': 36.0505269, 'lon': -0.998429}}, 'MCO': {'sw': {'lat': 43.7247599, 'lon': 7.4090279}, 'ne': {'lat': 43.7519311, 'lon': 7.4398704}}, 'MDA': {'sw': {'lat': 45.4674139, 'lon': 26.6162189}, 'ne': {'lat': 48.4918695, 'lon': 30.1636756}}, 'MDG': {'sw': {'lat': -25.6071002, 'lon': 43.2202072}, 'ne': {'lat': -11.9519693, 'lon': 50.4862553}}, 'MDV': {'sw': {'lat': -0.9074935, 'lon': 72.3554187}, 'ne': {'lat': 7.3106246, 'lon': 73.9700962}}, 'MEX': {'sw': {'lat': 14.3886243, 'lon': -118.59919}, 'ne': {'lat': 32.7186553, 'lon': -86.493266}}, 'MHL': {'sw': {'lat': -0.5481258, 'lon': 163.4985095}, 'ne': {'lat': 14.4518742, 'lon': 178.4985095}}, 'MKD': {'sw': {'lat': 40.8536596, 'lon': 20.4529023}, 'ne': {'lat': 42.3735359, 'lon': 23.034051}}, 'MLI': {'sw': {'lat': 10.147811, 'lon': -12.2402835}, 'ne': {'lat': 25.001084, 'lon': 4.2673828}}, 'MLT': {'sw': {'lat': 35.6029696, 'lon': 13.9324226}, 'ne': {'lat': 36.2852706, 'lon': 14.8267966}}, 'MMR': {'sw': {'lat': 9.4399432, 'lon': 92.1719423}, 'ne': {'lat': 28.547835, 'lon': 101.1700796}}, 'MNE': {'sw': {'lat': 41.7495999, 'lon': 18.4195781}, 'ne': {'lat': 43.5585061, 'lon': 20.3561641}}, 'MNG': {'sw': {'lat': 41.5800276, 'lon': 87.73762}, 'ne': {'lat': 52.1496, 'lon': 119.931949}}, 'MNP': {'sw': {'lat': 14.036565, 'lon': 144.813338}, 'ne': {'lat': 20.616556, 'lon': 146.154418}}, 'MOZ': {'sw': {'lat': -26.9209427, 'lon': 30.2138197}, 'ne': {'lat': -10.3252149, 'lon': 41.0545908}}, 'MRT': {'sw': {'lat': 14.7209909, 'lon': -17.068081}, 'ne': {'lat': 27.314942, 'lon': -4.8333344}}, 'MSR': {'sw': {'lat': 16.475, 'lon': -62.450667}, 'ne': {'lat': 17.0152978, 'lon': -61.9353818}}, 'MTQ': {'sw': {'lat': 14.3948596, 'lon': -61.2290815}, 'ne': {'lat': 14.8787029, 'lon': -60.8095833}}, 'MUS': {'sw': {'lat': -20.725, 'lon': 56.3825151}, 'ne': {'lat': -10.138, 'lon': 63.7151319}}, 'MWI': {'sw': {'lat': -17.1296031, 'lon': 32.6703616}, 'ne': {'lat': -9.3683261, 'lon': 35.9185731}}, 'MYS': {'sw': {'lat': -5.1076241, 'lon': 105.3471939}, 'ne': {'lat': 9.8923759, 'lon': 120.3471939}}, 'MYT': {'sw': {'lat': -13.0210119, 'lon': 45.0183298}, 'ne': {'lat': -12.6365902, 'lon': 45.2999917}}, 'NAM': {'sw': {'lat': -28.96945, 'lon': 11.5280384}, 'ne': {'lat': -16.9634855, 'lon': 25.2617671}}, 'NCL': {'sw': {'lat': -23.2217509, 'lon': 162.6034343}, 'ne': {'lat': -17.6868616, 'lon': 167.8109827}}, 'NER': {'sw': {'lat': 11.693756, 'lon': 0.1689653}, 'ne': {'lat': 23.517178, 'lon': 15.996667}}, 'NFK': {'sw': {'lat': -29.333, 'lon': 167.6873878}, 'ne': {'lat': -28.796, 'lon': 168.2249543}}, 'NGA': {'sw': {'lat': 4.0690959, 'lon': 2.676932}, 'ne': {'lat': 13.885645, 'lon': 14.678014}}, 'NIC': {'sw': {'lat': 10.7076565, 'lon': -87.901532}, 'ne': {'lat': 15.0331183, 'lon': -82.6227023}}, 'NIU': {'sw': {'lat': -19.3548665, 'lon': -170.1595029}, 'ne': {'lat': -18.7534559, 'lon': -169.5647229}}, 'NLD': {'sw': {'lat': 50.7295671, 'lon': 1.9193492}, 'ne': {'lat': 53.7253321, 'lon': 7.2274985}}, 'NOR': {'sw': {'lat': 57.7590052, 'lon': 4.0875274}, 'ne': {'lat': 71.3848787, 'lon': 31.7614911}}, 'NPL': {'sw': {'lat': 26.3477581, 'lon': 80.0586226}, 'ne': {'lat': 30.446945, 'lon': 88.2015257}}, 'NRU': {'sw': {'lat': -0.5541334, 'lon': 166.9091794}, 'ne': {'lat': -0.5025906, 'lon': 166.9589235}}, 'NZL': {'sw': {'lat': -52.8213687, 'lon': -179.059153}, 'ne': {'lat': -29.0303303, 'lon': 179.3643594}}, 'OMN': {'sw': {'lat': 16.4649608, 'lon': 52}, 'ne': {'lat': 26.7026737, 'lon': 60.054577}}, 'PAK': {'sw': {'lat': 23.5393916, 'lon': 60.872855}, 'ne': {'lat': 37.084107, 'lon': 77.1203914}}, 'PAN': {'sw': {'lat': 7.0338679, 'lon': -83.0517245}, 'ne': {'lat': 9.8701757, 'lon': -77.1393779}}, 'PCN': {'sw': {'lat': -25.1306736, 'lon': -130.8049862}, 'ne': {'lat': -23.8655769, 'lon': -124.717534}}, 'PER': {'sw': {'lat': -20.1984472, 'lon': -84.6356535}, 'ne': {'lat': -0.0392818, 'lon': -68.6519906}}, 'PHL': {'sw': {'lat': 4.2158064, 'lon': 114.0952145}, 'ne': {'lat': 21.3217806, 'lon': 126.8072562}}, 'PLW': {'sw': {'lat': 2.748, 'lon': 131.0685462}, 'ne': {'lat': 8.222, 'lon': 134.7714735}}, 'PNG': {'sw': {'lat': -13.1816069, 'lon': 136.7489081}, 'ne': {'lat': 1.8183931, 'lon': 151.7489081}}, 'POL': {'sw': {'lat': 49.0020468, 'lon': 14.1229707}, 'ne': {'lat': 55.0336963, 'lon': 24.145783}}, 'PRI': {'sw': {'lat': 17.9268695, 'lon': -67.271492}, 'ne': {'lat': 18.5159789, 'lon': -65.5897525}}, 'PRK': {'sw': {'lat': 37.5867855, 'lon': 124.0913902}, 'ne': {'lat': 43.0089642, 'lon': 130.924647}}, 'PRT': {'sw': {'lat': 29.8288021, 'lon': -31.5575303}, 'ne': {'lat': 42.1543112, 'lon': -6.1891593}}, 'PRY': {'sw': {'lat': -27.6063935, 'lon': -62.6442036}, 'ne': {'lat': -19.2876472, 'lon': -54.258}}, 'PSE': {'sw': {'lat': 31.2201289, 'lon': 34.0689732}, 'ne': {'lat': 32.5521479, 'lon': 35.5739235}}, 'PYF': {'sw': {'lat': -28.0990232, 'lon': -154.9360599}, 'ne': {'lat': -7.6592173, 'lon': -134.244799}}, 'QAT': {'sw': {'lat': 24.4707534, 'lon': 50.5675}, 'ne': {'lat': 26.3830212, 'lon': 52.638011}}, 'REU': {'sw': {'lat': -21.3897308, 'lon': 55.2164268}, 'ne': {'lat': -20.8717136, 'lon': 55.8366924}}, 'ROU': {'sw': {'lat': 43.618682, 'lon': 20.2619773}, 'ne': {'lat': 48.2653964, 'lon': 30.0454257}}, 'RUS': {'sw': {'lat': 41.1850968, 'lon': 19.6389}, 'ne': {'lat': 82.0586232, 'lon': 180}}, 'RWA': {'sw': {'lat': -2.8389804, 'lon': 28.8617546}, 'ne': {'lat': -1.0474083, 'lon': 30.8990738}}, 'SAU': {'sw': {'lat': 16.29, 'lon': 34.4571718}, 'ne': {'lat': 32.1543377, 'lon': 55.6666851}}, 'SDN': {'sw': {'lat': 8.685278, 'lon': 21.8145046}, 'ne': {'lat': 22.224918, 'lon': 39.0576252}}, 'SEN': {'sw': {'lat': 12.2372838, 'lon': -17.7862419}, 'ne': {'lat': 16.6919712, 'lon': -11.3458996}}, 'SGP': {'sw': {'lat': 1.1304753, 'lon': 103.6920359}, 'ne': {'lat': 1.4504753, 'lon': 104.0120359}}, 'SGS': {'sw': {'lat': -59.684, 'lon': -42.354739}, 'ne': {'lat': -53.3500755, 'lon': -25.8468303}}, 'SHN': {'sw': {'lat': -16.23, 'lon': -5.9973424}, 'ne': {'lat': -15.704, 'lon': -5.4234153}}, 'SJM': {'sw': {'lat': 70.6260825, 'lon': -9.6848146}, 'ne': {'lat': 81.028076, 'lon': 34.6891253}}, 'SLB': {'sw': {'lat': -13.2424298, 'lon': 155.3190556}, 'ne': {'lat': -4.81085, 'lon': 170.3964667}}, 'SLE': {'sw': {'lat': 6.755, 'lon': -13.5003389}, 'ne': {'lat': 9.999973, 'lon': -10.271683}}, 'SLV': {'sw': {'lat': 12.976046, 'lon': -90.1790975}, 'ne': {'lat': 14.4510488, 'lon': -87.6351394}}, 'SMR': {'sw': {'lat': 43.8937002, 'lon': 12.4033246}, 'ne': {'lat': 43.992093, 'lon': 12.5160665}}, 'SOM': {'sw': {'lat': -1.8031969, 'lon': 40.98918}, 'ne': {'lat': 12.1889121, 'lon': 51.6177696}}, 'SPM': {'sw': {'lat': 46.5507173, 'lon': -56.6972961}, 'ne': {'lat': 47.365, 'lon': -55.9033333}}, 'SRB': {'sw': {'lat': 42.2322435, 'lon': 18.8142875}, 'ne': {'lat': 46.1900524, 'lon': 23.006309}}, 'STP': {'sw': {'lat': -0.2135137, 'lon': 6.260642}, 'ne': {'lat': 1.9257601, 'lon': 7.6704783}}, 'SUR': {'sw': {'lat': 1.8312802, 'lon': -58.070833}, 'ne': {'lat': 6.225, 'lon': -53.8433358}}, 'SVK': {'sw': {'lat': 47.7314286, 'lon': 16.8331891}, 'ne': {'lat': 49.6138162, 'lon': 22.56571}}, 'SVN': {'sw': {'lat': 45.4214242, 'lon': 13.3754696}, 'ne': {'lat': 46.8766816, 'lon': 16.5967702}}, 'SWE': {'sw': {'lat': 55.1331192, 'lon': 10.5930952}, 'ne': {'lat': 69.0599699, 'lon': 24.1776819}}, 'SWZ': {'sw': {'lat': -27.3175201, 'lon': 30.7908}, 'ne': {'lat': -25.71876, 'lon': 32.1349923}}, 'SYC': {'sw': {'lat': -10.4649258, 'lon': 45.9988759}, 'ne': {'lat': -3.512, 'lon': 56.4979396}}, 'SYR': {'sw': {'lat': 32.311354, 'lon': 35.4714427}, 'ne': {'lat': 37.3184589, 'lon': 42.3745687}}, 'TCA': {'sw': {'lat': 20.9553418, 'lon': -72.6799046}, 'ne': {'lat': 22.1630989, 'lon': -70.8643591}}, 'TCD': {'sw': {'lat': 7.44107, 'lon': 13.47348}, 'ne': {'lat': 23.4975, 'lon': 24.0}}, 'TGO': {'sw': {'lat': 5.926547, 'lon': -0.1439746}, 'ne': {'lat': 11.1395102, 'lon': 1.8087605}}, 'THA': {'sw': {'lat': 5.612851, 'lon': 97.3438072}, 'ne': {'lat': 20.4648337, 'lon': 105.636812}}, 'TJK': {'sw': {'lat': 36.6711153, 'lon': 67.3332775}, 'ne': {'lat': 41.0450935, 'lon': 75.1539563}}, 'TKL': {'sw': {'lat': -9.6442499, 'lon': -172.7213673}, 'ne': {'lat': -8.3328631, 'lon': -170.9797586}}, 'TKM': {'sw': {'lat': 35.129093, 'lon': 52.335076}, 'ne': {'lat': 42.7975571, 'lon': 66.6895177}}, 'TLS': {'sw': {'lat': -9.5642775, 'lon': 124.0415703}, 'ne': {'lat': -8.0895459, 'lon': 127.5335392}}, 'TON': {'sw': {'lat': -24.1034499, 'lon': -179.3866055}, 'ne': {'lat': -15.3655722, 'lon': -173.5295458}}, 'TTO': {'sw': {'lat': 9.8732106, 'lon': -62.083056}, 'ne': {'lat': 11.5628372, 'lon': -60.2895848}}, 'TUN': {'sw': {'lat': 30.230236, 'lon': 7.5219807}, 'ne': {'lat': 37.7612052, 'lon': 11.8801133}}, 'TUR': {'sw': {'lat': 35.8076804, 'lon': 25.6212891}, 'ne': {'lat': 42.297, 'lon': 44.8176638}}, 'TUV': {'sw': {'lat': -9.9939389, 'lon': 175.1590468}, 'ne': {'lat': -5.4369611, 'lon': 178.7344938}}, 'TWN': {'sw': {'lat': 10.374269, 'lon': 114.3599058}, 'ne': {'lat': 26.4372222, 'lon': 122.297}}, 'TZA': {'sw': {'lat': -11.761254, 'lon': 29.3269773}, 'ne': {'lat': -0.9854812, 'lon': 40.6584071}}, 'UGA': {'sw': {'lat': -1.4823179, 'lon': 29.573433}, 'ne': {'lat': 4.2340766, 'lon': 35.000308}}, 'UKR': {'sw': {'lat': 44.184598, 'lon': 22.137059}, 'ne': {'lat': 52.3791473, 'lon': 40.2275801}}, 'UMI': {'sw': {'lat': 6.1779744, 'lon': -162.6816297}, 'ne': {'lat': 6.6514388, 'lon': -162.1339885}}, 'URY': {'sw': {'lat': -35.7824481, 'lon': -58.4948438}, 'ne': {'lat': -30.0853962, 'lon': -53.0755833}}, 'USA': {'sw': {'lat': 24.9493, 'lon': -125.0011}, 'ne': {'lat': 49.5904, 'lon': -66.9326}}, 'UZB': {'sw': {'lat': 37.1821164, 'lon': 55.9977865}, 'ne': {'lat': 45.590118, 'lon': 73.1397362}}, 'VAT': {'sw': {'lat': 41.9002044, 'lon': 12.4457442}, 'ne': {'lat': 41.9073912, 'lon': 12.4583653}}, 'VCT': {'sw': {'lat': 12.5166548, 'lon': -61.6657471}, 'ne': {'lat': 13.583, 'lon': -60.9094146}}, 'VEN': {'sw': {'lat': 0.647529, 'lon': -73.3529632}, 'ne': {'lat': 15.9158431, 'lon': -59.5427079}}, 'VGB': {'sw': {'lat': 17.623468, 'lon': -65.159094}, 'ne': {'lat': 18.464984, 'lon': -64.512674}}, 'VIR': {'sw': {'lat': 17.623468, 'lon': -65.159094}, 'ne': {'lat': 18.464984, 'lon': -64.512674}}, 'VNM': {'sw': {'lat': 8.1790665, 'lon': 102.14441}, 'ne': {'lat': 23.393395, 'lon': 114.3337595}}, 'VUT': {'sw': {'lat': -20.4627425, 'lon': 166.3355255}, 'ne': {'lat': -12.8713777, 'lon': 170.449982}}, 'WLF': {'sw': {'lat': -14.5630748, 'lon': -178.3873749}, 'ne': {'lat': -12.9827961, 'lon': -175.9190391}}, 'WSM': {'sw': {'lat': -14.2770916, 'lon': -173.0091864}, 'ne': {'lat': -13.2381892, 'lon': -171.1929229}}, 'YEM': {'sw': {'lat': 11.9084802, 'lon': 41.60825}, 'ne': {'lat': 19.0, 'lon': 54.7389375}}, 'ZAF': {'sw': {'lat': -47.1788335, 'lon': 16.3335213}, 'ne': {'lat': -22.1250301, 'lon': 38.2898954}}, 'ZMB': {'sw': {'lat': -18.0765945, 'lon': 21.9993509}, 'ne': {'lat': -8.2712822, 'lon': 33.701111}}, 'ZWE': {'sw': {'lat': -22.4241096, 'lon': 25.2373}, 'ne': {'lat': -15.6097033, 'lon': 33.0683413}}}
Where can I find the bounding boxes for Canada and all the providences?
Same as @CyanBC only in JSON format file:
https://gist.github.com/botzill/fc2a1581873200739f6dc5c1daf85a7d
I should probably mention that I cleaned this up and turned it into a python package https://pypi.org/project/country-bounding-boxes/ which also returns multiple segments for countries with discontiguous regions (eg. france and territories). Code is at https://github.com/graydon/country-bounding-boxes though it's dormant now, I'm not actively maintaining it.
Bboxes are great, but they overflow multiple countries most of the time
would be nice if the json includes iso2 and country long name instead of just iso3 code.
hey please can u tell me how can i get the bounding
box of all cities in a specific country
Howdy nerds! If you've come here looking for juicy data, curtesy of @graydon, @CyanBC and @PatrikHlobil's hard work; here's all the country data keyed by Alpha-2, the objectively better country code choice... :) with various other relevant data!
Can anyone help me to understand why this code isn't working in Shopify bound box under maps and locations? I was trying BD.
Before you use it, CHECK Google Maps. I found errors.
so is this currently the most accurate list over there?