LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=43.1268378121878+12.0495614702145
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2433,"reset":1735430400},"results":[{"annotations":{"DMS":{"lat":"43\u00b0 7' 36.76548'' N","lng":"12\u00b0 2' 58.61328'' E"},"MGRS":"33TTH6000779130","Maidenhead":"JN63ad50wk","Mercator":{"x":1341356.98,"y":5302084.835},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITI"},"NUTS2":{"code":"ITI2"},"NUTS3":{"code":"ITI21"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=1128006669#map=17/43.12688/12.04961","note_url":"https://www.openstreetmap.org/note/new#map=17/43.12688/12.04961&layers=N","url":"https://www.openstreetmap.org/?mlat=43.12688&mlon=12.04961#map=17/43.12688/12.04961"},"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":"sr8t65n222gzz3mj9d1k","qibla":124.35,"roadinfo":{"drive_on":"right","road":"Via XXV Aprile","speed_in":"km/h"},"sun":{"rise":{"apparent":1735368240,"astronomical":1735362060,"civil":1735366260,"nautical":1735364160},"set":{"apparent":1735400580,"astronomical":1735406760,"civil":1735402560,"nautical":1735404720}},"timezone":{"name":"Europe/Rome","now_in_dst":0,"offset_sec":3600,"offset_string":"+0100","short_name":"CET"},"what3words":{"words":"ratty.tuxedo.riot"}},"bounds":{"northeast":{"lat":43.1269684,"lng":12.0497649},"southwest":{"lat":43.1268049,"lng":12.0494929}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-55","IT-PG"],"_category":"road","_normalized_city":"Castiglione del Lago","_type":"road","continent":"Europe","country":"Italy","country_code":"it","county":"Perugia","county_code":"PG","political_union":"European Union","postcode":"06061","residential":"Castiglione del Lago","road":"Via XXV Aprile","state":"Umbria","state_code":"UMB","town":"Castiglione del Lago"},"confidence":9,"distance_from_q":{"meters":6},"formatted":"Via XXV Aprile, 06061 Castiglione del Lago PG, Italy","geometry":{"lat":43.1268793,"lng":12.0496148}}],"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":"Sat, 28 Dec 2024 01:46:44 GMT","created_unix":1735350404},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Perugia","county_code":"PG","political_union":"European Union","postcode":"06061","residential":"Castiglione del Lago","road":"Via XXV Aprile","state":"Umbria","state_code":"UMB","town":"Castiglione del Lago"},"confidence":9,"distance_from_q":{"meters":6},"formatted":"Via XXV Aprile, 06061 Castiglione del Lago PG, Italy","geometry":{"lat":43.1268793,"lng":12.0496148}}],"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":"Sat, 28 Dec 2024 01:46:44 GMT","created_unix":1735350404},
Pe