---------------------------------- SOLO PAIS
array(11) {
["status"]=>
string(2) "ok"
["geoid_pais"]=>
int(3996063)
["pais_name"]=>
string(7) "México"
["geoid_location"]=>
int(3996063)
["location_name"]=>
string(7) "México"
["geo_lon"]=>
int(0)
["geo_lat"]=>
int(0)
["geo"]=>
string(17) "|México|3996063|"
["continent"]=>
array(3) {
["code"]=>
string(2) "NA"
["geoname_id"]=>
int(6255149)
["names"]=>
array(8) {
["de"]=>
string(11) "Nordamerika"
["en"]=>
string(13) "North America"
["es"]=>
string(13) "Norteamérica"
["fr"]=>
string(17) "Amérique du Nord"
["ja"]=>
string(15) "北アメリカ"
["pt-BR"]=>
string(17) "América do Norte"
["ru"]=>
string(31) "Северная Америка"
["zh-CN"]=>
string(9) "北美洲"
}
}
["country"]=>
array(3) {
["geoname_id"]=>
int(3996063)
["iso_code"]=>
string(2) "MX"
["names"]=>
array(8) {
["de"]=>
string(6) "Mexiko"
["en"]=>
string(6) "Mexico"
["es"]=>
string(7) "México"
["fr"]=>
string(7) "Mexique"
["ja"]=>
string(21) "メキシコ合衆国"
["pt-BR"]=>
string(7) "México"
["ru"]=>
string(14) "Мексика"
["zh-CN"]=>
string(9) "墨西哥"
}
}
["registered_country"]=>
array(3) {
["geoname_id"]=>
int(3996063)
["iso_code"]=>
string(2) "MX"
["names"]=>
array(8) {
["de"]=>
string(6) "Mexiko"
["en"]=>
string(6) "Mexico"
["es"]=>
string(7) "México"
["fr"]=>
string(7) "Mexique"
["ja"]=>
string(21) "メキシコ合衆国"
["pt-BR"]=>
string(7) "México"
["ru"]=>
string(14) "Мексика"
["zh-CN"]=>
string(9) "墨西哥"
}
}
}
---------------------------------- TODO
array(15) {
["status"]=>
string(2) "ok"
["geoid_pais"]=>
int(3996063)
["pais_name"]=>
string(7) "México"
["geoid_location"]=>
int(3981467)
["location_name"]=>
string(22) "Tlajomulco de Zúñiga"
["geo_lon"]=>
float(-103.4283)
["geo_lat"]=>
float(20.4811)
["geo"]=>
string(64) "|México|3996063|Jalisco|4004156|Tlajomulco de Zúñiga|3981467|"
["city"]=>
array(2) {
["geoname_id"]=>
int(3981467)
["names"]=>
array(1) {
["en"]=>
string(22) "Tlajomulco de Zúñiga"
}
}
["continent"]=>
array(3) {
["code"]=>
string(2) "NA"
["geoname_id"]=>
int(6255149)
["names"]=>
array(8) {
["de"]=>
string(11) "Nordamerika"
["en"]=>
string(13) "North America"
["es"]=>
string(13) "Norteamérica"
["fr"]=>
string(17) "Amérique du Nord"
["ja"]=>
string(15) "北アメリカ"
["pt-BR"]=>
string(17) "América do Norte"
["ru"]=>
string(31) "Северная Америка"
["zh-CN"]=>
string(9) "北美洲"
}
}
["country"]=>
array(3) {
["geoname_id"]=>
int(3996063)
["iso_code"]=>
string(2) "MX"
["names"]=>
array(8) {
["de"]=>
string(6) "Mexiko"
["en"]=>
string(6) "Mexico"
["es"]=>
string(7) "México"
["fr"]=>
string(7) "Mexique"
["ja"]=>
string(21) "メキシコ合衆国"
["pt-BR"]=>
string(7) "México"
["ru"]=>
string(14) "Мексика"
["zh-CN"]=>
string(9) "墨西哥"
}
}
["location"]=>
array(4) {
["accuracy_radius"]=>
int(20)
["latitude"]=>
float(20.4811)
["longitude"]=>
float(-103.4283)
["time_zone"]=>
string(19) "America/Mexico_City"
}
["postal"]=>
array(1) {
["code"]=>
string(5) "45675"
}
["registered_country"]=>
array(3) {
["geoname_id"]=>
int(3996063)
["iso_code"]=>
string(2) "MX"
["names"]=>
array(8) {
["de"]=>
string(6) "Mexiko"
["en"]=>
string(6) "Mexico"
["es"]=>
string(7) "México"
["fr"]=>
string(7) "Mexique"
["ja"]=>
string(21) "メキシコ合衆国"
["pt-BR"]=>
string(7) "México"
["ru"]=>
string(14) "Мексика"
["zh-CN"]=>
string(9) "墨西哥"
}
}
["subdivisions"]=>
array(1) {
[0]=>
array(3) {
["geoname_id"]=>
int(4004156)
["iso_code"]=>
string(3) "JAL"
["names"]=>
array(8) {
["de"]=>
string(7) "Jalisco"
["en"]=>
string(7) "Jalisco"
["es"]=>
string(7) "Jalisco"
["fr"]=>
string(7) "Jalisco"
["ja"]=>
string(15) "ハリスコ州"
["pt-BR"]=>
string(7) "Jalisco"
["ru"]=>
string(14) "Халиско"
["zh-CN"]=>
string(15) "哈利斯科州"
}
}
}
}
---------------------------------- LO QUE NECESITAMOS
array(9) {
["id"]=>
int(122)
["geoid"]=>
int(3996063)
["geoid_padre"]=>
int(6255149)
["code"]=>
string(2) "mx"
["name"]=>
string(7) "México"
["geo_lon"]=>
string(19) "-102.00000000000000"
["geo_lat"]=>
string(17) "23.00000000000000"
["divisa"]=>
string(3) "MXN"
["ppa"]=>
string(5) "45.40"
}