LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=42.797515873389685+10.973140658873053
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2273,"reset":1728259200},"results":[{"annotations":{"DMS":{"lat":"42\u00b0 47' 51.10152'' N","lng":"10\u00b0 58' 18.33960'' E"},"MGRS":"32TPN6124440216","Maidenhead":"JN52lt61oj","Mercator":{"x":1221370.844,"y":5252165.03},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITI"},"NUTS2":{"code":"ITI1"},"NUTS3":{"code":"ITI1A"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?relation=17598362#map=17/42.79753/10.97176","note_url":"https://www.openstreetmap.org/note/new#map=17/42.79753/10.97176&layers=N","url":"https://www.openstreetmap.org/?mlat=42.79753&mlon=10.97176#map=17/42.79753/10.97176"},"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":"spxg3xj3st3zyne5kuxm","qibla":122.48,"roadinfo":{"drive_on":"right","road":"Strada Provinciale 3 del Padule","speed_in":"km/h"},"sun":{"rise":{"apparent":1728192000,"astronomical":1728186420,"civil":1728190320,"nautical":1728188340},"set":{"apparent":1728233220,"astronomical":1728238860,"civil":1728234900,"nautical":1728236880}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"what3words":{"words":"radioactive.rewired.circulate"}},"bounds":{"northeast":{"lat":42.7989234,"lng":10.9753631},"southwest":{"lat":42.7961528,"lng":10.968757}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-52","IT-GR"],"_category":"road","_normalized_city":"Castiglione della Pescaia","_type":"road","continent":"Europe","country":"Italy","country_code":"it","county":"Grosseto","county_code":"GR","hamlet":"Macchiascandona","political_union":"European Union","road":"Strada Provinciale 3 del Padule","state":"Tuscany","village":"Castiglione della Pescaia"},"confidence":9,"distance_from_q":{"meters":112},"formatted":"Strada Provinciale 3 del Padule, Castiglione della Pescaia GR, Italy","geometry":{"lat":42.7975282,"lng":10.971761}}],"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, 06 Oct 2024 18:05:56 GMT","created_unix":1728237956},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Grosseto","county_code":"GR","hamlet":"Macchiascandona","political_union":"European Union","road":"Strada Provinciale 3 del Padule","state":"Tuscany","village":"Castiglione della Pescaia"},"confidence":9,"distance_from_q":{"meters":112},"formatted":"Strada Provinciale 3 del Padule, Castiglione della Pescaia GR, Italy","geometry":{"lat":42.7975282,"lng":10.971761}}],"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, 06 Oct 2024 18:05:56 GMT","created_unix":1728237956},

Gr