LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=42.752089+10.239758
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2307,"reset":1725235200},"results":[{"annotations":{"DMS":{"lat":"42\u00b0 45' 5.74524'' N","lng":"10\u00b0 14' 23.69580'' E"},"MGRS":"32TPN0147033975","Maidenhead":"JN52cs80sj","Mercator":{"x":1139902.176,"y":5245224.379},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITI"},"NUTS2":{"code":"ITI1"},"NUTS3":{"code":"ITI16"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=42142262#map=17/42.75160/10.23992","note_url":"https://www.openstreetmap.org/note/new#map=17/42.75160/10.23992&layers=N","url":"https://www.openstreetmap.org/?mlat=42.75160&mlon=10.23992#map=17/42.75160/10.23992"},"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":"spx71n8qp747k67mzsmb","qibla":121.47,"roadinfo":{"drive_on":"right","road":"Viale degli Etruschi","speed_in":"km/h"},"sun":{"rise":{"apparent":1725165900,"astronomical":1725159900,"civil":1725164160,"nautical":1725162060},"set":{"apparent":1725213120,"astronomical":1725219120,"civil":1725214860,"nautical":1725216900}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"what3words":{"words":"streetwise.measurements.forecast"}},"bounds":{"northeast":{"lat":42.7521323,"lng":10.2435904},"southwest":{"lat":42.7500368,"lng":10.2371234}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-52","IT-LI"],"_category":"road","_normalized_city":"Marina di Campo","_type":"road","continent":"Europe","country":"Italy","country_code":"it","county":"Livorno","county_code":"LI","municipality":"Campo nell'Elba","political_union":"European Union","postcode":"57035","road":"Viale degli Etruschi","state":"Tuscany","village":"Marina di Campo"},"confidence":9,"distance_from_q":{"meters":56},"formatted":"Viale degli Etruschi, 57035 Marina di Campo LI, Italy","geometry":{"lat":42.7515959,"lng":10.2399155}}],"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 13:24:54 GMT","created_unix":1725197094},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Livorno","county_code":"LI","municipality":"Campo nell'Elba","political_union":"European Union","postcode":"57035","road":"Viale degli Etruschi","state":"Tuscany","village":"Marina di Campo"},"confidence":9,"distance_from_q":{"meters":56},"formatted":"Viale degli Etruschi, 57035 Marina di Campo LI, Italy","geometry":{"lat":42.7515959,"lng":10.2399155}}],"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 13:24:54 GMT","created_unix":1725197094},
Li