location.ru.inc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?php
  2. // Russian Federation
  3. function location_province_list_ru() {
  4. return array(
  5. 'AD' => "Adygeya",
  6. 'BA' => "Bashkortostan",
  7. 'BU' => "Buryatia",
  8. 'AL' => "Altai Republic",
  9. 'DA' => "Dagestan",
  10. 'IN' => "Ingushetia",
  11. 'KB' => "Kabardino-Balkaria",
  12. 'KL' => "Kalmykia",
  13. 'KC' => "Karachay-Cherkessia",
  14. 'KR' => "Karelia",
  15. 'KO' => "Komi",
  16. 'ME' => "Mari El",
  17. 'MO' => "Mordovia",
  18. 'SA' => "Sakha",
  19. 'SE' => "North Ossetia",
  20. 'TA' => "Tatarstan",
  21. 'TY' => "Tuva",
  22. 'UD' => "Udmurtia",
  23. 'KK' => "Khakassia",
  24. 'CE' => "Chechnya",
  25. 'CU' => "Chuvashia",
  26. 'ALT' => "Altai Krai",
  27. 'KDA' => "Krasnodar",
  28. 'KYA' => "Krasnoyarsk",
  29. 'PRI' => "Primorsky",
  30. 'STA' => "Stavropol",
  31. 'KHA' => "Khabarovsk",
  32. 'AMU' => "Amur",
  33. 'ARK' => "Arkhangelsk",
  34. 'AST' => "Astrakhan",
  35. 'BEL' => "Belgorod",
  36. 'BRY' => "Bryansk",
  37. 'VLA' => "Vladimir",
  38. 'VGG' => "Volgograd",
  39. 'VLG' => "Vologda",
  40. 'VOR' => "Voronezh",
  41. 'IVA' => "Ivanovo",
  42. 'IRK' => "Irkutsk",
  43. 'KGD' => "Kaliningrad",
  44. 'KLU' => "Kaluga",
  45. 'KAM' => "Kamchatka",
  46. 'KEM' => "Kemerovo",
  47. 'KIR' => "Kirov",
  48. 'KOS' => "Kostroma",
  49. 'KGN' => "Kurgan",
  50. 'KRS' => "Kursk",
  51. 'LEN' => "Leningrad",
  52. 'LIP' => "Lipetsk",
  53. 'MAG' => "Magadan",
  54. 'MOS' => "Moscow (Province)",
  55. 'MUR' => "Murmansk",
  56. 'NIZ' => "Nizhny Novgorod",
  57. 'NGR' => "Novgorod",
  58. 'NVS' => "Novosibirsk",
  59. 'OMS' => "Omsk",
  60. 'ORE' => "Orenburg",
  61. 'ORL' => "Oryol",
  62. 'PNZ' => "Penza",
  63. 'PER' => "Perm",
  64. 'PSK' => "Pskov",
  65. 'ROS' => "Rostov",
  66. 'RYA' => "Ryazan",
  67. 'SAM' => "Samara",
  68. 'SAR' => "Saratov",
  69. 'SAK' => "Sakhalin",
  70. 'SVE' => "Sverdlovsk",
  71. 'SMO' => "Smolensk",
  72. 'TAM' => "Tambov",
  73. 'TVE' => "Tver",
  74. 'TOM' => "Tomsk",
  75. 'TUL' => "Tula",
  76. 'TYU' => "Tyumen",
  77. 'ULY' => "Ulynovsk",
  78. 'CHE' => "Chelyabinsk",
  79. 'CHI' => "Chita",
  80. 'YAR' => "Yaroslavl",
  81. 'MOW' => "Moscow (City)",
  82. 'SPE' => "St. Petersburg",
  83. 'YEV' => "Jewish Oblast",
  84. 'AGB' => "Aga Buryatia",
  85. 'KOP' => "Permyakia",
  86. 'KOR' => "Koryakia",
  87. 'NEN' => "Nenetsia",
  88. 'TAY' => "Taymyria",
  89. 'UOB' => "Ust-Orda Buryatia",
  90. 'KHM' => "Khantia-Mansia",
  91. 'CHU' => "Chukotka",
  92. 'EVE' => "Evenkia",
  93. 'YAN' => "Yamalia",
  94. );
  95. }
  96. /**
  97. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  98. */
  99. function location_bounds_ru() {
  100. // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  101. // EPSG:900913
  102. // The downside to bounding boxes is that crossing the antimeridian causes
  103. // serious issues. See http://purl.oclc.org/coordinates/a2.htm for discussion.
  104. return array(
  105. 'minlng' => -179.99900,
  106. 'minlat' => 41.1926805,
  107. 'maxlng' => 180.000000,
  108. 'maxlat' => 81.8583637,
  109. );
  110. }