LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=40.642724+8.190189
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":1543,"reset":1725235200},"results":[{"annotations":{"DMS":{"lat":"40\u00b0 38' 36.52332'' N","lng":"8\u00b0 11' 28.43700'' E"},"MGRS":"32TMK3161599495","Maidenhead":"JN40cp24wk","Mercator":{"x":911843.829,"y":4932058.718},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITG"},"NUTS2":{"code":"ITG2"},"NUTS3":{"code":"ITG2D"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=83939292#map=16/40.64348/8.19123","note_url":"https://www.openstreetmap.org/note/new#map=16/40.64348/8.19123&layers=N","url":"https://www.openstreetmap.org/?mlat=40.64348&mlon=8.19123#map=16/40.64348/8.19123"},"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":"spjz4qutmt9dhjy7yrq6","qibla":116.09,"roadinfo":{"drive_on":"right","road":"Via del Porticciolo","speed_in":"km/h"},"sun":{"rise":{"apparent":1725166560,"astronomical":1725160740,"civil":1725164880,"nautical":1725162840},"set":{"apparent":1725213480,"astronomical":1725219240,"civil":1725215160,"nautical":1725217140}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"what3words":{"words":"pixels.general.slogans"}},"bounds":{"northeast":{"lat":40.6474367,"lng":8.1937435},"southwest":{"lat":40.6402772,"lng":8.1890196}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-88","IT-SS"],"_category":"outdoors/recreation","_normalized_city":"Alghero","_type":"camp_site","camp_site":"Camping Glamping Village Torre del Porticciolo","continent":"Europe","country":"Italy","country_code":"it","county":"Sassari","county_code":"SS","political_union":"European Union","postcode":"07041","road":"Via del Porticciolo","state":"Sardinia","town":"Alghero"},"confidence":9,"distance_from_q":{"meters":121},"formatted":"Camping Glamping Village Torre del Porticciolo, Via del Porticciolo, 07041 Alghero SS, Italy","geometry":{"lat":40.6434787,"lng":8.1912325}}],"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:24:13 GMT","created_unix":1725211453},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Sassari","county_code":"SS","political_union":"European Union","postcode":"07041","road":"Via del Porticciolo","state":"Sardinia","town":"Alghero"},"confidence":9,"distance_from_q":{"meters":121},"formatted":"Camping Glamping Village Torre del Porticciolo, Via del Porticciolo, 07041 Alghero SS, Italy","geometry":{"lat":40.6434787,"lng":8.1912325}}],"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:24:13 GMT","created_unix":1725211453},
Sa