LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=39.7959623198821+18.354519353770005
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":1811,"reset":1725235200},"results":[{"annotations":{"DMS":{"lat":"39\u00b0 47' 45.58128'' N","lng":"18\u00b0 21' 16.27740'' E"},"MGRS":"34SBK7349708463","Maidenhead":"JM99et21na","Mercator":{"x":2043215.993,"y":4808987.008},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITF"},"NUTS2":{"code":"ITF4"},"NUTS3":{"code":"ITF45"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=972295441#map=17/39.79599/18.35452","note_url":"https://www.openstreetmap.org/note/new#map=17/39.79599/18.35452&layers=N","url":"https://www.openstreetmap.org/?mlat=39.79599&mlon=18.35452#map=17/39.79599/18.35452"},"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":"srj43stk7r55z28uq6yg","qibla":128.79,"roadinfo":{"drive_on":"right","road":"Lungomare Cristoforo Colombo","road_reference":"SP214","road_type":"secondary","speed_in":"km/h"},"sun":{"rise":{"apparent":1725164160,"astronomical":1725158460,"civil":1725162480,"nautical":1725160500},"set":{"apparent":1725210960,"astronomical":1725216660,"civil":1725212640,"nautical":1725214620}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"what3words":{"words":"toddlers.desktops.undesirable"}},"bounds":{"northeast":{"lat":39.7960551,"lng":18.3547053},"southwest":{"lat":39.7935201,"lng":18.3512699}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-75","IT-LE"],"_category":"road","_normalized_city":"Santa Maria di Leuca","_type":"road","continent":"Europe","country":"Italy","country_code":"it","county":"Lecce","county_code":"LE","political_union":"European Union","postcode":"73053","road":"Lungomare Cristoforo Colombo","road_reference":"SP214","road_type":"secondary","state":"Apulia","village":"Santa Maria di Leuca"},"confidence":9,"distance_from_q":{"meters":3},"formatted":"Lungomare Cristoforo Colombo, 73053 Santa Maria di Leuca LE, Italy","geometry":{"lat":39.7959948,"lng":18.3545215}}],"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 15:26:35 GMT","created_unix":1725204395},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Lecce","county_code":"LE","political_union":"European Union","postcode":"73053","road":"Lungomare Cristoforo Colombo","road_reference":"SP214","road_type":"secondary","state":"Apulia","village":"Santa Maria di Leuca"},"confidence":9,"distance_from_q":{"meters":3},"formatted":"Lungomare Cristoforo Colombo, 73053 Santa Maria di Leuca LE, Italy","geometry":{"lat":39.7959948,"lng":18.3545215}}],"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 15:26:35 GMT","created_unix":1725204395},
Le