2009. 5. 13. 13:44ㆍ프로그래밍/지도서비스
전 세계의 국가의 위치 정보를 정리를 해본다. 서비스 개발을 위해서 필요한 부분도 있고… 그래서 여기 저기 데이터를 뒤져서 만들었다.
우선 국가 리스트는 Google에 있는 것을 퍼다가… (이긍~)
각국의 좌표 정보는 구글맵을 이용하여 하나씩 찍어볼까 하다가 200개가 넘는 국가를 그리 관리하기는 불가능하여 포기하고 여기 저기 검색을 해봤다.
제대로 된 정보를 가진 곳이 없어서… 결국 미쿡의 CIA 홈페이지를 보니 GIS정보가 있었다.
해당 정보를 가지구… 구글의 국가코드와 매핑을 해서 작업을 해봤다.
국가코드는 아래와 같이 넣을 수 있다. (구글 Gmail 가입하는 페이지에 가시면 얻을 수 있는 정보입니다.)
<select name="nationality" id="nationality" class="frm_input" style="width:320px;" onChange="setNationLoc(this.form)">
<option value="AF">Afghanistan (افغانستان)</option>
<option value="AL">Albania(Shqiperia)</option>
<option value="DZ">Algeria (الجزائر)</option>
<option value="AS">American Samoa</option>
<option value="AD">Andorra</option>
<option value="AO">Angola</option>
<option value="AI">Anguilla</option>
<option value="AQ">Antarctica</option>
<option value="AG">Antigua and Barbuda</option>
<option value="AR">Argentina</option>
<option value="AM">Armenia (Հայաստան)</option>
<option value="AW">Aruba</option>
<option value="AU">Australia</option>
<option value="AT">Austria (Osterreich)</option>
<option value="AZ">Azerbaijan (Azərbaycan)</option>
<option value="BS">Bahamas</option>
<option value="BH">Bahrain (البحرين)</option>
<option value="BD">Bangladesh (বাংলাদেশ)</option>
<option value="BB">Barbados</option>
<option value="BY">Belarus (Белару́сь)</option>
<option value="BE">Belgium (Belgie)</option>
<option value="BZ">Belize</option>
<option value="BJ">Benin (Benin)</option>
<option value="BM">Bermuda</option>
<option value="BT">Bhutan (འབྲུག་ཡུལ)</option>
<option value="BO">Bolivia</option>
<option value="BA">Bosnia and Herzegovina (Bosna i Hercegovina)</option>
<option value="BW">Botswana</option>
<option value="BV">Bouvet Island</option>
<option value="BR">Brazil (Brasil)</option>
<option value="IO">British Indian Ocean Territory</option>
<option value="BN">Brunei (Brunei Darussalam)</option>
<option value="BG">Bulgaria (България)</option>
<option value="BF">Burkina Faso</option>
<option value="BI">Burundi (Uburundi)</option>
<option value="KH">Cambodia (Kampuchea)</option>
<option value="CM">Cameroon (Cameroun)</option>
<option value="CA">Canada</option>
<option value="CV">Cape Verde (Cabo Verde)</option>
<option value="KY">Cayman Islands</option>
<option value="CF">Central African Republic (Republique Centrafricaine)</option>
<option value="TD">Chad (Tchad)</option>
<option value="CL">Chile</option>
<option value="CN">China (中国)</option>
<option value="CX">Christmas Island</option>
<option value="CC">Cocos Islands</option>
<option value="CO">Colombia</option>
<option value="KM">Comoros (Comores)</option>
<option value="CG">Congo</option>
<option value="CD">Congo, Democratic Republic of the</option>
<option value="CK">Cook Islands</option>
<option value="CR">Costa Rica</option>
<option value="CI">Cote d'Ivoire</option>
<option value="HR">Croatia (Hrvatska)</option>
<option value="CU">Cuba</option>
<option value="CY">Cyprus (Κυπρος)</option>
<option value="CZ">Czech Republic (Česko)</option>
<option value="DK">Denmark (Danmark)</option>
<option value="DJ">Djibouti</option>
<option value="DM">Dominica</option>
<option value="DO">Dominican Republic</option>
<option value="EC">Ecuador</option>
<option value="EG">Egypt (مصر)</option>
<option value="SV">El Salvador</option>
<option value="GQ">Equatorial Guinea (Guinea Ecuatorial)</option>
<option value="ER">Eritrea (Ertra)</option>
<option value="EE">Estonia (Eesti)</option>
<option value="ET">Ethiopia (Ityop'iya)</option>
<option value="FK">Falkland Islands</option>
<option value="FO">Faroe Islands</option>
<option value="FJ">Fiji</option>
<option value="FI">Finland (Suomi)</option>
<option value="FR">France</option>
<option value="GF">French Guiana</option>
<option value="PF">French Polynesia</option>
<option value="TF">French Southern Territories</option>
<option value="GA">Gabon</option>
<option value="GM">Gambia</option>
<option value="GE">Georgia (საქართველო)</option>
<option value="DE">Germany (Deutschland)</option>
<option value="GH">Ghana</option>
<option value="GI">Gibraltar</option>
<option value="GR">Greece (Ελλάς)</option>
<option value="GL">Greenland</option>
<option value="GD">Grenada</option>
<option value="GP">Guadeloupe</option>
<option value="GU">Guam</option>
<option value="GT">Guatemala</option>
<option value="GG">Guernsey</option>
<option value="GN">Guinea (Guinee)</option>
<option value="GW">Guinea-Bissau (Guine-Bissau)</option>
<option value="GY">Guyana</option>
<option value="HT">Haiti (Haiti)</option>
<option value="HM">Heard Island and McDonald Islands</option>
<option value="HN">Honduras</option>
<option value="HK">Hong Kong</option>
<option value="HU">Hungary (Magyarorszag)</option>
<option value="IS">Iceland (Island)</option>
<option value="IN">India</option>
<option value="ID">Indonesia</option>
<option value="IR">Iran (ایران)</option>
<option value="IQ">Iraq (العراق)</option>
<option value="IE">Ireland</option>
<option value="IM">Isle of Man</option>
<option value="IL">Israel (ישראל)</option>
<option value="IT">Italy (Italia)</option>
<option value="JM">Jamaica</option>
<option value="JP">Japan (日本)</option>
<option value="JE">Jersey</option>
<option value="JO">Jordan (الاردن)</option>
<option value="KZ">Kazakhstan (Қазақстан)</option>
<option value="KE">Kenya</option>
<option value="KI">Kiribati</option>
<option value="KW">Kuwait (الكويت)</option>
<option value="KG">Kyrgyzstan (Кыргызстан)</option>
<option value="LA">Laos (ນລາວ)</option>
<option value="LV">Latvia (Latvija)</option>
<option value="LB">Lebanon (لبنان)</option>
<option value="LS">Lesotho</option>
<option value="LR">Liberia</option>
<option value="LY">Libya (ليبيا)</option>
<option value="LI">Liechtenstein</option>
<option value="LT">Lithuania (Lietuva)</option>
<option value="LU">Luxembourg (Letzebuerg)</option>
<option value="MO">Macao</option>
<option value="MK">Macedonia (Македонија)</option>
<option value="MG">Madagascar (Madagasikara)</option>
<option value="MW">Malawi</option>
<option value="MY">Malaysia</option>
<option value="MV">Maldives (ގުޖޭއްރާ ޔާއްރިހޫމްޖ)</option>
<option value="ML">Mali</option>
<option value="MT">Malta</option>
<option value="MH">Marshall Islands</option>
<option value="MQ">Martinique</option>
<option value="MR">Mauritania (موريتانيا)</option>
<option value="MU">Mauritius</option>
<option value="YT">Mayotte</option>
<option value="MX">Mexico (Mexico)</option>
<option value="FM">Micronesia</option>
<option value="MD">Moldova</option>
<option value="MC">Monaco</option>
<option value="MN">Mongolia (Монгол Улс)</option>
<option value="ME">Montenegro (Црна Гора)</option>
<option value="MS">Montserrat</option>
<option value="MA">Morocco (المغرب)</option>
<option value="MZ">Mozambique (Mocambique)</option>
<option value="MM">Myanmar (Burma)</option>
<option value="NA">Namibia</option>
<option value="NR">Nauru (Naoero)</option>
<option value="NP">Nepal (नेपाल)</option>
<option value="NL">Netherlands (Nederland)</option>
<option value="AN">Netherlands Antilles</option>
<option value="NC">New Caledonia</option>
<option value="NZ">New Zealand</option>
<option value="NI">Nicaragua</option>
<option value="NE">Niger</option>
<option value="NG">Nigeria</option>
<option value="NU">Niue</option>
<option value="NF">Norfolk Island</option>
<option value="MP">Northern Mariana Islands</option>
<option value="KP">North Korea (북조선 인민민주주의 공화국)</option>
<option value="NO">Norway (Norge)</option>
<option value="OM">Oman (عمان)</option>
<option value="PK">Pakistan (پاکستان)</option>
<option value="PW">Palau (Belau)</option>
<option value="PS">Palestinian Territories</option>
<option value="PA">Panama (Panama)</option>
<option value="PG">Papua New Guinea</option>
<option value="PY">Paraguay</option>
<option value="PE">Peru (Peru)</option>
<option value="PH">Philippines (Pilipinas)</option>
<option value="PN">Pitcairn</option>
<option value="PL">Poland (Polska)</option>
<option value="PT">Portugal</option>
<option value="PR">Puerto Rico</option>
<option value="QA">Qatar (قطر)</option>
<option value="RE">Reunion</option>
<option value="RO">Romania (Romania)</option>
<option value="RU">Russia (Россия)</option>
<option value="RW">Rwanda</option>
<option value="SH">Saint Helena</option>
<option value="KN">Saint Kitts and Nevis</option>
<option value="LC">Saint Lucia</option>
<option value="PM">Saint Pierre and Miquelon</option>
<option value="VC">Saint Vincent and the Grenadines</option>
<option value="WS">Samoa</option>
<option value="SM">San Marino</option>
<option value="ST">Sao Tome and Principe</option>
<option value="SA">Saudi Arabia (المملكة العربية السعودية)</option>
<option value="SN">Senegal (Senegal)</option>
<option value="RS">Serbia (Србија)</option>
<option value="CS">Serbia and Montenegro (Србија и Црна Гора)</option>
<option value="SC">Seychelles</option>
<option value="SL">Sierra Leone</option>
<option value="SG">Singapore (Singapura)</option>
<option value="SK">Slovakia (Slovensko)</option>
<option value="SI">Slovenia (Slovenija)</option>
<option value="SB">Solomon Islands</option>
<option value="SO">Somalia (Soomaaliya)</option>
<option value="ZA">South Africa</option>
<option value="GS">South Georgia and the South Sandwich Islands</option>
<option value="KR" selected>South Korea (대한민국)</option>
<option value="ES">Spain (Espana)</option>
<option value="LK">Sri Lanka</option>
<option value="SD">Sudan (السودان)</option>
<option value="SR">Suriname</option>
<option value="SJ">Svalbard and Jan Mayen</option>
<option value="SZ">Swaziland</option>
<option value="SE">Sweden (Sverige)</option>
<option value="CH">Switzerland (Schweiz)</option>
<option value="SY">Syria (سوريا)</option>
<option value="TW">Taiwan (台灣)</option>
<option value="TJ">Tajikistan (Тоҷикистон)</option>
<option value="TZ">Tanzania</option>
<option value="TH">Thailand (ราชอาณาจักรไทย)</option>
<option value="TL">Timor-Leste</option>
<option value="TG">Togo</option>
<option value="TK">Tokelau</option>
<option value="TO">Tonga</option>
<option value="TT">Trinidad and Tobago</option>
<option value="TN">Tunisia (تونس)</option>
<option value="TR">Turkey (Turkiye)</option>
<option value="TM">Turkmenistan (Turkmenistan)</option>
<option value="TC">Turks and Caicos Islands</option>
<option value="TV">Tuvalu</option>
<option value="UG">Uganda</option>
<option value="UA">Ukraine (Україна)</option>
<option value="AE">United Arab Emirates (الإمارات العربيّة المتّحدة)</option>
<option value="GB">United Kingdom</option>
<option value="US">United States</option>
<option value="UY">Uruguay</option>
<option value="UZ">Uzbekistan (O'zbekiston)</option>
<option value="VU">Vanuatu</option>
<option value="VA">Vatican City (Citta del Vaticano)</option>
<option value="VE">Venezuela</option>
<option value="VN">Vietnam (Việt Nam)</option>
<option value="VG">Virgin Islands, British</option>
<option value="VI">Virgin Islands, U.S.</option>
<option value="WF">Wallis and Futuna</option>
<option value="EH">Western Sahara (الصحراء الغربية)</option>
<option value="YE">Yemen (اليمن)</option>
<option value="ZM">Zambia</option>
<option value="ZW">Zimbabwe</option>
</select>
이렇게 구성된 리스트에서 특정 국가를 선택하면 구글맵에서 지도의 위치를 해당 국가가 표시되는 영역으로 이동시키는 형태로 개발되었다.
그렇게 하기 위해서 간단히 스크립트로 국가별 좌표 정보와 맵의 스케일(레벨) 정보를 가진 데이터가 필요하게 되었다.
CIA에 있는 데이터를 기준으로 만들어봤으나 섬지역 좌표 정보나 작은 나라들의 정보가 일치하지 않는 경우가 다수 발견되어… 일일이 하나씩 체크해보는 노가다를 했다.
결국 많은 수정 작업 끝에 만들어낸 결과물…
짜잔~
Javascript로 처리하기 위해서 배열 내에 JSON으로 처리를 하였다.
이 내용을 가지고 처리를 하게 되면 select 박스에서 선택된 국가코드로 해당 국가의 좌표를 매핑하고 지도 레벨을 변경하여 예쁘게 해당 국가를 볼 수 있도록 할 수 있다.
var nations = [
{code:"AF", nation:"Afghanistan", lat:33.00, lng:65.00, lvl:6},
{code:"AL", nation:"Albania", lat:41.00, lng:20.00, lvl:8},
{code:"DZ", nation:"Algeria", lat:28.00, lng:3.00, lvl:5},
{code:"AS", nation:"American Samoa", lat:-14.30, lng:-170.65, lvl:10},
{code:"AD", nation:"Andorra", lat:42.55, lng:1.60, lvl:11},
{code:"AO", nation:"Angola", lat:-12.30, lng:18.30, lvl:6},
{code:"AI", nation:"Anguilla", lat:18.15, lng:-63.10, lvl:10},
{code:"AQ", nation:"Antarctica", lat:-84.00, lng:0.00, lvl:3},
{code:"AG", nation:"Antigua and Barbuda", lat:17.09, lng:-61.80, lvl:12},
{code:"AR", nation:"Argentina", lat:-34.00, lng:-64.00, lvl:5},
{code:"AM", nation:"Armenia", lat:40.00, lng:45.00, lvl:8},
{code:"AW", nation:"Aruba", lat:12.515, lng:-69.95, lvl:12},
{code:"AU", nation:"Australia", lat:-27.00, lng:133.00, lvl:5},
{code:"AT", nation:"Austria", lat:47.20, lng:13.20, lvl:7},
{code:"AZ", nation:"Azerbaijan", lat:40.30, lng:47.30, lvl:7},
{code:"BS", nation:"Bahamas", lat:24.15, lng:-76.00, lvl:8},
{code:"BH", nation:"Bahrain", lat:26.00, lng:50.33, lvl:9},
{code:"BD", nation:"Bangladesh", lat:24.00, lng:90.00, lvl:7},
{code:"BB", nation:"Barbados", lat:13.15, lng:-59.60, lvl:11},
{code:"BY", nation:"Belarus", lat:53.00, lng:28.00, lvl:6},
{code:"BE", nation:"Belgium", lat:50.50, lng:4.00, lvl:8},
{code:"BZ", nation:"Belize", lat:17.40, lng:-88.45, lvl:9},
{code:"BJ", nation:"Benin", lat:9.30, lng:2.15, lvl:7},
{code:"BM", nation:"Bermuda", lat:32.30, lng:-64.80, lvl:10},
{code:"BT", nation:"Bhutan", lat:27.30, lng:90.30, lvl:8},
{code:"BO", nation:"Bolivia", lat:-16.50, lng:-65.00, lvl:6},
{code:"BA", nation:"Bosnia and Herzegovina", lat:44.00, lng:18.00, lvl:7},
{code:"BW", nation:"Botswana", lat:-22.00, lng:24.00, lvl:6},
{code:"BV", nation:"Bouvet Island", lat:-54.45, lng:3.40, lvl:10},
{code:"BR", nation:"Brazil", lat:-10.00, lng:-55.00, lvl:4},
{code:"IO", nation:"British Indian Ocean Territory", lat:-7.35, lng:72.45, lvl:10},
{code:"BN", nation:"Brunei", lat:4.30, lng:114.40, lvl:9},
{code:"BG", nation:"Bulgaria", lat:43.00, lng:25.00, lvl:7},
{code:"BF", nation:"Burkina Faso", lat:12.70, lng:-2.00, lvl:7},
{code:"BI", nation:"Burundi", lat:-3.30, lng:30.00, lvl:8},
{code:"KH", nation:"Cambodia", lat:13.00, lng:105.00, lvl:7},
{code:"CM", nation:"Cameroon", lat:6.00, lng:12.00, lvl:6},
{code:"CA", nation:"Canada", lat:60.00, lng:-95.00, lvl:4},
{code:"CV", nation:"Cape Verde", lat:16.00, lng:-24.00, lvl:8},
{code:"KY", nation:"Cayman Islands", lat:19.30984732486229, lng:-81.25625610351562, lvl:10},
{code:"CF", nation:"Central African Republic", lat:7.00, lng:21.00, lvl:6},
{code:"TD", nation:"Chad", lat:15.00, lng:19.00, lvl:5},
{code:"CL", nation:"Chile", lat:-30.00, lng:-71.00, lvl:5},
{code:"CN", nation:"China", lat:35.00, lng:105.00, lvl:4},
{code:"CX", nation:"Christmas Island", lat:-10.4864615307745, lng:105.64453125, lvl:10},
{code:"CC", nation:"Cocos Islands", lat:-12.165540789425215, lng:96.84036254882812, lvl:10},
{code:"CO", nation:"Colombia", lat:4.00, lng:-72.00, lvl:5},
{code:"KM", nation:"Comoros", lat:-11.6737554034334, lng:43.3465576171875, lvl:9},
{code:"CG", nation:"Congo", lat:-1.00, lng:15.00, lvl:6},
{code:"CD", nation:"Congo, Democratic Republic of the", lat:0.00, lng:25.00, lvl:5},
{code:"CK", nation:"Cook Islands", lat:-21.224101526391543, lng:-159.78378295898438, lvl:10},
{code:"CR", nation:"Costa Rica", lat:9.930976812881799, lng:-84.1058349609375, lvl:8},
{code:"CI", nation:"Cote d'Ivoire", lat:7.689217127736191, lng:-5.064697265625, lvl:7},
{code:"HR", nation:"Croatia", lat:45.10, lng:15.30, lvl:7},
{code:"CU", nation:"Cuba", lat:21.30, lng:-80.00, lvl:6},
{code:"CY", nation:"Cyprus", lat:35.15584570226544, lng:33.3929443359375, lvl:9},
{code:"CZ", nation:"Czech Republic", lat:49.45, lng:15.30, lvl:7},
{code:"DK", nation:"Denmark", lat:56.00, lng:10.00, lvl:7},
{code:"DJ", nation:"Djibouti", lat:11.30, lng:43.00, lvl:8},
{code:"DM", nation:"Dominica", lat:15.444414528150116, lng:-61.34765625, lvl:10},
{code:"DO", nation:"Dominican Republic", lat:19.00, lng:-70.40, lvl:8},
{code:"EC", nation:"Ecuador", lat:-2.00, lng:-77.30, lvl:7},
{code:"EG", nation:"Egypt", lat:27.00, lng:30.00, lvl:6},
{code:"SV", nation:"El Salvador", lat:13.824745234589408, lng:-88.8958740234375, lvl:9},
{code:"GQ", nation:"Equatorial Guinea", lat:1.6587038068676245, lng:10.2227783203125, lvl:9},
{code:"ER", nation:"Eritrea", lat:15.00, lng:39.00, lvl:7},
{code:"EE", nation:"Estonia", lat:59.00, lng:26.00, lvl:7},
{code:"ET", nation:"Ethiopia", lat:9.037002898469423, lng:38.8037109375, lvl:6},
{code:"FK", nation:"Falkland Islands", lat:-51.767839887322125, lng:-59.2822265625, lvl:6},
{code:"FO", nation:"Faroe Islands", lat:62.01637363111728, lng:-6.800537109375, lvl:8},
{code:"FJ", nation:"Fiji", lat:-17.70682812401954, lng:179.154052734375, lvl:7},
{code:"FI", nation:"Finland", lat:65.07213008560697, lng:25.48828125, lvl:5},
{code:"FR", nation:"France", lat:47.08508535995383, lng:2.39501953125, lvl:6},
{code:"GF", nation:"French Guiana", lat:4.00, lng:-53.00, lvl:7},
{code:"PF", nation:"French Polynesia", lat:-17.769612247142653, lng:-149.501953125, lvl:10},
{code:"TF", nation:"French Southern Territories", lat:-49.39667507519397, lng:69.4775390625, lvl:8},
{code:"GA", nation:"Gabon", lat:-1.00, lng:11.45, lvl:7},
{code:"GM", nation:"Gambia", lat:13.28, lng:-16.34, lvl:8},
{code:"GE", nation:"Georgia", lat:42.00, lng:43.30, lvl:7},
{code:"DE", nation:"Germany", lat:51.00, lng:9.00, lvl:6},
{code:"GH", nation:"Ghana", lat:8.00, lng:-2.00, lvl:7},
{code:"GI", nation:"Gibraltar", lat:36.143142624690505, lng:-5.3469085693359375, lvl:13},
{code:"GR", nation:"Greece", lat:39.00, lng:22.00, lvl:7},
{code:"GL", nation:"Greenland", lat:77.07878389624943, lng:-41.8359375, lvl:3},
{code:"GD", nation:"Grenada", lat:12.115194124236767, lng:-61.67724609375, lvl:11},
{code:"GP", nation:"Guadeloupe", lat:16.15, lng:-61.35, lvl:10},
{code:"GU", nation:"Guam", lat:13.465757359351159, lng:144.79293823242188, lvl:10},
{code:"GT", nation:"Guatemala", lat:15.30, lng:-90.15, lvl:7},
{code:"GG", nation:"Guernsey", lat:49.45719018800985, lng:-2.5793838500976562, lvl:12},
{code:"GN", nation:"Guinea", lat:10.444597722834875, lng:-11.00830078125, lvl:7},
{code:"GW", nation:"Guinea-Bissau", lat:12.00, lng:-15.00, lvl:8},
{code:"GY", nation:"Guyana", lat:5.00, lng:-59.00, lvl:7},
{code:"HT", nation:"Haiti", lat:19.00, lng:-72.25, lvl:8},
{code:"HM", nation:"Heard Island and McDonald Islands", lat:-53.09732259357699, lng:73.52325439453125, lvl:10},
{code:"HN", nation:"Honduras", lat:15.00, lng:-86.30, lvl:7},
{code:"HK", nation:"Hong Kong", lat:22.43134015636061, lng:114.13421630859375, lvl:10},
{code:"HU", nation:"Hungary", lat:47.37603463349758, lng:19.039306640625, lvl:7},
{code:"IS", nation:"Iceland", lat:65.00, lng:-18.00, lvl:7},
{code:"IN", nation:"India", lat:20.00, lng:77.00, lvl:5},
{code:"ID", nation:"Indonesia", lat:-5.00, lng:120.00, lvl:5},
{code:"IR", nation:"Iran", lat:32.00, lng:53.00, lvl:5},
{code:"IQ", nation:"Iraq", lat:33.00, lng:44.00, lvl:6},
{code:"IE", nation:"Ireland", lat:53.45534913802113, lng:-7.734375, lvl:7},
{code:"IM", nation:"Isle of Man", lat:54.228313328833536, lng:-4.54010009765625, lvl:10},
{code:"IL", nation:"Israel", lat:31.30, lng:34.45, lvl:7},
{code:"IT", nation:"Italy", lat:42.50, lng:12.50, lvl:6},
{code:"JM", nation:"Jamaica", lat:18.15, lng:-77.30, lvl:9},
{code:"JP", nation:"Japan", lat:36.00, lng:138.00, lvl:5},
{code:"JE", nation:"Jersey", lat:49.22297891606675, lng:-2.1402740478515625, lvl:12},
{code:"JO", nation:"Jordan", lat:31.00, lng:36.00, lvl:7},
{code:"KZ", nation:"Kazakhstan", lat:48.00, lng:68.00, lvl:5},
{code:"KE", nation:"Kenya", lat:1.00, lng:38.00, lvl:6},
{code:"KI", nation:"Kiribati", lat:1.8508742952122357, lng:-157.64694213867188, lvl:10},
{code:"KW", nation:"Kuwait", lat:29.324720161511028, lng:47.70263671875, lvl:8},
{code:"KG", nation:"Kyrgyzstan", lat:41.00, lng:75.00, lvl:7},
{code:"LA", nation:"Laos", lat:18.00, lng:105.00, lvl:6},
{code:"LV", nation:"Latvia", lat:57.00, lng:25.00, lvl:7},
{code:"LB", nation:"Lebanon", lat:33.893217379440884, lng:35.5078125, lvl:7},
{code:"LS", nation:"Lesotho", lat:-29.597341920567366, lng:28.1744384765625, lvl:8},
{code:"LR", nation:"Liberia", lat:6.30, lng:-9.30, lvl:7},
{code:"LY", nation:"Libya", lat:28.420391085674304, lng:17.60009765625, lvl:5},
{code:"LI", nation:"Liechtenstein", lat:47.16684287656919, lng:9.540939331054688, lvl:11},
{code:"LT", nation:"Lithuania", lat:55.31039088379827, lng: 23.9501953125, lvl:7},
{code:"LU", nation:"Luxembourg", lat:49.822037122094414, lng:6.10015869140625, lvl:9},
{code:"MO", nation:"Macao", lat:22.17214491738175, lng:113.56155395507812, lvl:12},
{code:"MK", nation:"Macedonia", lat:41.50, lng:22.00, lvl:8},
{code:"MG", nation:"Madagascar", lat:-20.00, lng:47.00, lvl:5},
{code:"MW", nation:"Malawi", lat:-13.30, lng:34.00, lvl:6},
{code:"MY", nation:"Malaysia", lat:2.30, lng:112.30, lvl:5},
{code:"MV", nation:"Maldives", lat:-0.6138493403822657, lng:73.09616088867188, lvl:11},
{code:"ML", nation:"Mali", lat:17.00, lng:-4.00, lvl:5},
{code:"MT", nation:"Malta", lat:35.93798832265393, lng:14.39208984375, lvl:11},
{code:"MH", nation:"Marshall Islands", lat:7.312071167657926, lng:168.72390747070312, lvl:10},
{code:"MQ", nation:"Martinique", lat:14.40, lng:-61.00, lvl:8},
{code:"MR", nation:"Mauritania", lat:20.00, lng:-12.00, lvl:5},
{code:"MU", nation:"Mauritius", lat:-20.224831682774006, lng:57.561492919921875, lvl:10},
{code:"YT", nation:"Mayotte", lat:-12.79774036228197, lng:45.149688720703125, lvl:10},
{code:"MX", nation:"Mexico", lat:23.00, lng:-102.00, lvl:5},
{code:"FM", nation:"Micronesia", lat:6.892343905203222, lng:158.21823120117188, lvl:10},
{code:"MD", nation:"Moldova", lat:47.00, lng:29.00, lvl:7},
{code:"MC", nation:"Monaco", lat:43.73910403053943, lng:7.425470352172852, lvl:14},
{code:"MN", nation:"Mongolia", lat:46.00, lng:105.00, lvl:5},
{code:"ME", nation:"Montenegro", lat:42.87596410238254, lng:19.248046875, lvl:8},
{code:"MS", nation:"Montserrat", lat:16.740441231939677, lng:-62.19291687011719, lvl:12},
{code:"MA", nation:"Morocco", lat:32.00, lng:-5.00, lvl:6},
{code:"MZ", nation:"Mozambique", lat:-18.15, lng:35.00, lvl:5},
{code:"MM", nation:"Myanmar", lat:20.756113874762082, lng:97.03125, lvl:5},
{code:"NA", nation:"Namibia", lat:-22.573438264572395, lng:17.07275390625, lvl:6},
{code:"NR", nation:"Nauru", lat:-0.5369489273009945, lng:166.91802978515625, lvl:10},
{code:"NP", nation:"Nepal", lat:28.00, lng:84.00, lvl:7},
{code:"NL", nation:"Netherlands", lat:52.30, lng:5.45, lvl:7},
{code:"AN", nation:"Netherlands Antilles", lat:12.20379787963988, lng:-68.98658752441406, lvl:5},
{code:"NC", nation:"New Caledonia", lat:-21.30, lng:165.30, lvl:7},
{code:"NZ", nation:"New Zealand", lat:-41.00, lng:174.00, lvl:5},
{code:"NI", nation:"Nicaragua", lat:13.00, lng:-85.00, lvl:7},
{code:"NE", nation:"Niger", lat:17.45547257997284, lng:9.3603515625, lvl:6},
{code:"NG", nation:"Nigeria", lat:10.00, lng:8.00, lvl:6},
{code:"NU", nation:"Niue", lat:-19.05822387777432, lng:-169.86373901367188, lvl:10},
{code:"NF", nation:"Norfolk Island", lat:-29.035759963925884, lng:167.947998046875, lvl:10},
{code:"MP", nation:"Northern Mariana Islands", lat:15.149020452896462, lng:145.71990966796875, lvl:10},
{code:"KP", nation:"North Korea", lat:40.00, lng:127.00, lvl:6},
{code:"NO", nation:"Norway", lat:66.05371622067922, lng:10.00, lvl:4},
{code:"OM", nation:"Oman", lat:21.00, lng:57.00, lvl:6},
{code:"PK", nation:"Pakistan", lat:30.00, lng:70.00, lvl:5},
{code:"PW", nation:"Palau", lat:7.30, lng:134.30, lvl:9},
{code:"PS", nation:"Palestinian Territories", lat:31.436865467417928, lng:34.374847412109375, lvl:10},
{code:"PA", nation:"Panama", lat:8.542997605026342, lng:-80.0738525390625, lvl:8},
{code:"PG", nation:"Papua New Guinea", lat:-6.00, lng:147.00, lvl:7},
{code:"PY", nation:"Paraguay", lat:-23.00, lng:-58.00, lvl:6},
{code:"PE", nation:"Peru", lat:-10.00, lng:-76.00, lvl:5},
{code:"PH", nation:"Philippines", lat:13.00, lng:122.00, lvl:5},
{code:"PN", nation:"Pitcairn", lat:-24.369615456124507, lng:-128.3148193359375, lvl:10},
{code:"PL", nation:"Poland", lat:52.00, lng:20.00, lvl:6},
{code:"PT", nation:"Portugal", lat:39.50404070558415, lng:-8.00, lvl:7},
{code:"PR", nation:"Puerto Rico", lat:18.15, lng:-66.30, lvl:7},
{code:"QA", nation:"Qatar", lat:25.30, lng:51.15, lvl:8},
{code:"RE", nation:"Reunion", lat:-21.098594269392088, lng:55.52490234375, lvl:10},
{code:"RO", nation:"Romania", lat:46.00, lng:25.00, lvl:7},
{code:"RU", nation:"Russia", lat:60.00, lng:100.00, lvl:3},
{code:"RW", nation:"Rwanda", lat:-2.00, lng:30.00, lvl:8},
{code:"SH", nation:"Saint Helena", lat:-15.966610400903184, lng:-5.714263916015625, lvl:10},
{code:"KN", nation:"Saint Kitts and Nevis", lat:17.316554333389497, lng:-62.7154541015625, lvl:10},
{code:"LC", nation:"Saint Lucia", lat:13.935400058483737, lng:-60.9576416015625, lvl:10},
{code:"PM", nation:"Saint Pierre and Miquelon", lat:46.89210855010362, lng:-56.20, lvl:10},
{code:"VC", nation:"Saint Vincent and the Grenadines", lat:13.15, lng:-61.12, lvl:10},
{code:"WS", nation:"Samoa", lat:-13.35, lng:-172.20, lvl:10},
{code:"SM", nation:"San Marino", lat:43.94141717295212, lng:12.458152770996094, lvl:12},
{code:"ST", nation:"Sao Tome and Principe", lat:0.22796570712403824, lng:6.628875732421875, lvl:10},
{code:"SA", nation:"Saudi Arabia", lat:25.00, lng:45.00, lvl:5},
{code:"SN", nation:"Senegal", lat:14.00, lng:-14.00, lvl:7},
{code:"RS", nation:"Serbia", lat:44.00, lng:21.00, lvl:7},
{code:"CS", nation:"Serbia and Montenegro", lat:42.30, lng:19.18, lvl:5},
{code:"SC", nation:"Seychelles", lat:-4.35, lng:55.40, lvl:9},
{code:"SL", nation:"Sierra Leone", lat:8.591884405798213, lng:-11.7938232421875, lvl:8},
{code:"SG", nation:"Singapore", lat:1.3587440869100178, lng:103.84346008300781, lvl:11},
{code:"SK", nation:"Slovakia", lat:48.79600890414036, lng:19.6380615234375, lvl:8},
{code:"SI", nation:"Slovenia", lat:46.07, lng:14.49, lvl:8},
{code:"SB", nation:"Solomon Islands", lat:-8.00, lng:159.00, lvl:7},
{code:"SO", nation:"Somalia", lat:5.309766171943691, lng:46.0546875, lvl:6},
{code:"ZA", nation:"South Africa", lat:-29.00, lng:24.00, lvl:5},
{code:"GS", nation:"South Georgia and the South Sandwich Islands", lat:-54.30, lng:-37.00, lvl:8},
{code:"KR", nation:"South Korea", lat:37.00, lng:127.30, lvl:6},
{code:"ES", nation:"Spain", lat:40.00, lng:-4.00, lvl:6},
{code:"LK", nation:"Sri Lanka", lat:7.00, lng:81.00, lvl:7},
{code:"SD", nation:"Sudan", lat:15.00, lng:30.00, lvl:5},
{code:"SR", nation:"Suriname", lat:4.00, lng:-56.00, lvl:7},
{code:"SJ", nation:"Svalbard and Jan Mayen", lat:78.00, lng:20.00, lvl:5},
{code:"SZ", nation:"Swaziland", lat:-26.30, lng:31.30, lvl:8},
{code:"SE", nation:"Sweden", lat:62.00, lng:15.00, lvl:4},
{code:"CH", nation:"Switzerland", lat:46.90149244734082, lng:8.28369140625, lvl:8},
{code:"SY", nation:"Syria", lat:35.00, lng:38.00, lvl:7},
{code:"TW", nation:"Taiwan", lat:23.30, lng:121.00, lvl:7},
{code:"TJ", nation:"Tajikistan", lat:39.00, lng:71.00, lvl:7},
{code:"TZ", nation:"Tanzania", lat:-6.00, lng:35.00, lvl:6},
{code:"TH", nation:"Thailand", lat:15.00, lng:100.00, lvl:5},
{code:"TL", nation:"Timor-Leste", lat:-8.50, lng:125.55, lvl:8},
{code:"TG", nation:"Togo", lat:8.00, lng:1.10, lvl:7},
{code:"TK", nation:"Tokelau", lat:-9.197003998984497, lng:-171.85638427734375, lvl:9},
{code:"TO", nation:"Tonga", lat:-21.20361781881226, lng:-175.13580322265625, lvl:9},
{code:"TT", nation:"Trinidad and Tobago", lat:10.531020008464989, lng:-61.16363525390625, lvl:9},
{code:"TN", nation:"Tunisia", lat:34.00, lng:9.00, lvl:6},
{code:"TR", nation:"Turkey", lat:39.00, lng:35.00, lvl:6},
{code:"TM", nation:"Turkmenistan", lat:40.00, lng:60.00, lvl:6},
{code:"TC", nation:"Turks and Caicos Islands", lat:21.788831884851852, lng:-71.71875, lvl:10},
{code:"TV", nation:"Tuvalu", lat:-8.514477408346133, lng:179.18426513671875, lvl:10},
{code:"UG", nation:"Uganda", lat:1.00, lng:32.00, lvl:6},
{code:"UA", nation:"Ukraine", lat:49.00, lng:32.00, lvl:6},
{code:"AE", nation:"United Arab Emirates", lat:24.00, lng:54.00, lvl:7},
{code:"GB", nation:"United Kingdom", lat:54.00, lng:-2.00, lvl:5},
{code:"US", nation:"United States", lat:38.00, lng:-97.00, lvl:4},
{code:"UY", nation:"Uruguay", lat:-33.00, lng:-56.00, lvl:7},
{code:"UZ", nation:"Uzbekistan", lat:41.00, lng:64.00, lvl:6},
{code:"VU", nation:"Vanuatu", lat:-16.00, lng:167.00, lvl:7},
{code:"VA", nation:"Vatican City", lat:41.90361855925283, lng:12.453603744506836, lvl:16},
{code:"VE", nation:"Venezuela", lat:7.1663003819031825, lng:-66.0498046875, lvl:6},
{code:"VN", nation:"Vietnam", lat:16.10, lng:107.50, lvl:5},
{code:"VG", nation:"Virgin Islands, British", lat:18.43499333816783, lng:-64.62776184082031, lvl:12},
{code:"VI", nation:"Virgin Islands, U.S.", lat:18.054478439496073, lng:-64.79736328125, lvl:10},
{code:"WF", nation:"Wallis and Futuna", lat:-14.305638794557638, lng:-178.12545776367188, lvl:10},
{code:"EH", nation:"Western Sahara", lat:24.30, lng:-13.00, lvl:6},
{code:"YE", nation:"Yemen", lat:15.00, lng:48.00, lvl:6},
{code:"ZM", nation:"Zambia", lat:-13.025965926333527, lng:28.32275390625, lvl:6},
{code:"ZW", nation:"Zimbabwe", lat:-20.00, lng:30.00, lvl:6}
];
하아… 별건 아니긴 한데… 이거 정리하느냐구 이틀이나 고생을 했다.
이눔에 노가다 근성을 어찌 버릴 수 있겠나 많은…
혹 사용 방법이나 자세한 사항이 필요한 분들은 댓글 남겨주심 연락을 드리겠습니다.
아~ 그리구 혹 이 정보를 가져다 쓰실 분들… 댓글 하나 남겨주시는 쎈쓰~!!!
완연한 봄 날씨에 코딩하다 지치지 않으시길 바라며~~
'프로그래밍 > 지도서비스' 카테고리의 다른 글
구글 지도 서비스 유료화 · · · 기업들 `대책 마련 분주` (2) | 2011.08.31 |
---|---|
Firefox 3.5의 사용자 위치 파악 관련 (0) | 2009.07.09 |
Map Chat (0) | 2009.05.04 |
콩나물닷컴 위성 영상에 백두산이~ (0) | 2009.04.30 |
다음 로드뷰 전국 6대 도시 확대 (0) | 2009.03.26 |