location.af.inc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. // Afghanistan
  3. function location_province_list_af() {
  4. return array('BDS' => "Badakhshan province",
  5. 'BDG' => "Badghis province",
  6. 'BGL' => "Baghlan province",
  7. 'BAL' => "Balkh province",
  8. 'BAM' => "Bamian province",
  9. 'FRA' => "Farah province",
  10. 'FYB' => "Faryab province",
  11. 'GHA' => "Ghazni province",
  12. 'GHO' => "Ghowr province",
  13. 'HEL' => "Helmand province",
  14. 'HER' => "Herat province",
  15. 'JOW' => "Jowzjan province",
  16. 'KAB' => "Kabul province",
  17. 'KAN' => "Kandahar province",
  18. 'KAP' => "Kapisa province",
  19. 'KHO' => "Khost province",
  20. 'KNR' => "Konar province",
  21. 'KDZ' => "Kondoz province",
  22. 'LAG' => "Laghman province",
  23. 'LOW' => "Lowgar province",
  24. 'NAN' => "Nangrahar province",
  25. 'NIM' => "Nimruz province",
  26. 'NUR' => "Nurestan province",
  27. 'ORU' => "Oruzgan province",
  28. 'PIA' => "Paktia province",
  29. 'PKA' => "Paktika province",
  30. 'PAR' => "Parwan province",
  31. 'SAM' => "Samangan province",
  32. 'SAR' => "Sar-e Pol province",
  33. 'TAK' => "Takhar province",
  34. 'WAR' => "Wardak province",
  35. 'ZAB' => "Zabol province");
  36. }
  37. /**
  38. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  39. */
  40. function location_bounds_af() {
  41. return array(
  42. 'minlng' => 60.5054,
  43. 'minlat' => 29.612733,
  44. 'maxlng' => 74.93195,
  45. 'maxlat' => 38.538967,
  46. );
  47. }