LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=40.564684221662162+8.3171202226465279
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2500,"reset":1735344000},"results":[{"annotations":{"DMS":{"lat":"40\u00b0 33' 52.96032'' N","lng":"8\u00b0 19' 1.46424'' E"},"MGRS":"32TMK4218890661","Maidenhead":"JN40dn85bm","Mercator":{"x":925852.374,"y":4920554.318},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITG"},"NUTS2":{"code":"ITG2"},"NUTS3":{"code":"ITG2D"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=109696781#map=17/40.56471/8.31707","note_url":"https://www.openstreetmap.org/note/new#map=17/40.56471/8.31707&layers=N","url":"https://www.openstreetmap.org/?mlat=40.56471&mlon=8.31707#map=17/40.56471/8.31707"},"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":"spjyv2869f5rvh3d4sp8","qibla":116.13,"roadinfo":{"drive_on":"right","road":"Banchina Domenico Millelire","road_type":"service","speed_in":"km/h"},"sun":{"rise":{"apparent":1735282200,"astronomical":1735276320,"civil":1735280340,"nautical":1735278300},"set":{"apparent":1735315560,"astronomical":1735321440,"civil":1735317420,"nautical":1735319460}},"timezone":{"name":"Europe/Rome","now_in_dst":0,"offset_sec":3600,"offset_string":"+0100","short_name":"CET"},"what3words":{"words":"declines.regular.glades"}},"bounds":{"northeast":{"lat":40.5649517,"lng":8.3172122},"southwest":{"lat":40.5622212,"lng":8.3158219}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-88","IT-SS"],"_category":"road","_normalized_city":"Alghero","_type":"road","continent":"Europe","country":"Italy","country_code":"it","county":"Sassari","county_code":"SS","political_union":"European Union","postcode":"07041","road":"Banchina Domenico Millelire","road_type":"service","state":"Sardinia","suburb":"Pivarada","town":"Alghero"},"confidence":9,"distance_from_q":{"meters":4},"formatted":"Banchina Domenico Millelire, 07041 Alghero SS, Italy","geometry":{"lat":40.5647112,"lng":8.3170734}}],"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":"Fri, 27 Dec 2024 09:08:27 GMT","created_unix":1735290507},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Sassari","county_code":"SS","political_union":"European Union","postcode":"07041","road":"Banchina Domenico Millelire","road_type":"service","state":"Sardinia","suburb":"Pivarada","town":"Alghero"},"confidence":9,"distance_from_q":{"meters":4},"formatted":"Banchina Domenico Millelire, 07041 Alghero SS, Italy","geometry":{"lat":40.5647112,"lng":8.3170734}}],"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":"Fri, 27 Dec 2024 09:08:27 GMT","created_unix":1735290507},
Sa