LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=42.808491410536327+12.78373044717104
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":1477,"reset":1725235200},"results":[{"annotations":{"DMS":{"lat":"42\u00b0 48' 30.73788'' N","lng":"12\u00b0 47' 0.73320'' E"},"MGRS":"33TUH1877641936","Maidenhead":"JN62jt44ab","Mercator":{"x":1423056.835,"y":5253829.496},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITI"},"NUTS2":{"code":"ITI2"},"NUTS3":{"code":"ITI21"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=1308752289#map=17/42.80854/12.78354","note_url":"https://www.openstreetmap.org/note/new#map=17/42.80854/12.78354&layers=N","url":"https://www.openstreetmap.org/?mlat=42.80854&mlon=12.78354#map=17/42.80854/12.78354"},"UN_M49":{"regions":{"EUROPE":"150","IT":"380","SOUTHERN_EUROPE":"039","WORLD":"001"},"statistical_groupings":["MEDC"]},"callingcode":39,"currency":{"alternate_symbols":[],"decimal_mark":",","html_entity":"\u20ac","iso_code":"EUR","iso_numeric":"978","name":"Euro","smallest_denomination":1,"subunit":"Cent","subunit_to_unit":100,"symbol":"\u20ac","symbol_first":0,"thousands_separator":"."},"flag":"\ud83c\uddee\ud83c\uddf9","geohash":"sr95dch9y1bjg0r73ygp","qibla":124.92,"roadinfo":{"drive_on":"right","road":"Frazione Poreta","speed_in":"km/h"},"sun":{"rise":{"apparent":1725165300,"astronomical":1725159300,"civil":1725163560,"nautical":1725161460},"set":{"apparent":1725212520,"astronomical":1725218520,"civil":1725214260,"nautical":1725216300}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"what3words":{"words":"behaved.phone.overthrown"}},"bounds":{"northeast":{"lat":42.8087304,"lng":12.783809},"southwest":{"lat":42.8082772,"lng":12.7832028}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-55","IT-PG"],"_category":"road","_normalized_city":"Spoleto","_type":"road","continent":"Europe","country":"Italy","country_code":"it","county":"Perugia","county_code":"PG","hamlet":"Poreta","political_union":"European Union","postcode":"06049","road":"Frazione Poreta","state":"Umbria","state_code":"UMB","town":"Spoleto"},"confidence":9,"distance_from_q":{"meters":16},"formatted":"Frazione Poreta, 06049 Spoleto PG, Italy","geometry":{"lat":42.8085383,"lng":12.783537}}],"status":{"code":200,"message":"OK"},"stay_informed":{"blog":"https://blog.opencagedata.com","mastodon":"https://en.osm.town/@opencage"},"thanks":"For using an OpenCage API","timestamp":{"created_http":"Sun, 01 Sep 2024 17:25:43 GMT","created_unix":1725211543},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Perugia","county_code":"PG","hamlet":"Poreta","political_union":"European Union","postcode":"06049","road":"Frazione Poreta","state":"Umbria","state_code":"UMB","town":"Spoleto"},"confidence":9,"distance_from_q":{"meters":16},"formatted":"Frazione Poreta, 06049 Spoleto PG, Italy","geometry":{"lat":42.8085383,"lng":12.783537}}],"status":{"code":200,"message":"OK"},"stay_informed":{"blog":"https://blog.opencagedata.com","mastodon":"https://en.osm.town/@opencage"},"thanks":"For using an OpenCage API","timestamp":{"created_http":"Sun, 01 Sep 2024 17:25:43 GMT","created_unix":1725211543},
Pe