LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=40.603626778092249+8.2801885894248439
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2451,"reset":1716768000},"results":[{"annotations":{"DMS":{"lat":"40\u00b0 36' 12.57912'' N","lng":"8\u00b0 16' 48.83304'' E"},"MGRS":"32TMK3910494991","Maidenhead":"JN40do34pu","Mercator":{"x":921751.143,"y":4926217.066},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITG"},"NUTS2":{"code":"ITG2"},"NUTS3":{"code":"ITG2D"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?node=5383240886#map=17/40.60349/8.28023","note_url":"https://www.openstreetmap.org/note/new#map=17/40.60349/8.28023&layers=N","url":"https://www.openstreetmap.org/?mlat=40.60349&mlon=8.28023#map=17/40.60349/8.28023"},"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":"spjyurtkrruj351nggt5","qibla":116.14,"roadinfo":{"drive_on":"right","road":"Strada Statale della Nurra 291","speed_in":"km/h"},"sun":{"rise":{"apparent":1716696120,"astronomical":1716689100,"civil":1716694200,"nautical":1716691800},"set":{"apparent":1716749160,"astronomical":1716756240,"civil":1716751080,"nautical":1716753480}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"what3words":{"words":"verve.conforms.gelled"}},"bounds":{"northeast":{"lat":40.6035442,"lng":8.2802814},"southwest":{"lat":40.6034442,"lng":8.2801814}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-88","IT-SS"],"_category":"commerce","_normalized_city":"Alghero","_type":"restaurant","continent":"Europe","country":"Italy","country_code":"it","county":"Sassari","county_code":"SS","political_union":"European Union","restaurant":"Ristorante da Bruno","road":"Strada Statale della Nurra 291","state":"Sardinia","town":"Alghero","village":"Fertilia"},"confidence":9,"distance_from_q":{"meters":15},"formatted":"Ristorante da Bruno, Strada Statale della Nurra 291, Alghero SS, Italy","geometry":{"lat":40.6034942,"lng":8.2802314}}],"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, 26 May 2024 16:57:25 GMT","created_unix":1716742645},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Sassari","county_code":"SS","political_union":"European Union","restaurant":"Ristorante da Bruno","road":"Strada Statale della Nurra 291","state":"Sardinia","town":"Alghero","village":"Fertilia"},"confidence":9,"distance_from_q":{"meters":15},"formatted":"Ristorante da Bruno, Strada Statale della Nurra 291, Alghero SS, Italy","geometry":{"lat":40.6034942,"lng":8.2802314}}],"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, 26 May 2024 16:57:25 GMT","created_unix":1716742645},

Sa