LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=40.467270134031651+16.937931143199872
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2185,"reset":1735430400},"results":[{"annotations":{"DMS":{"lat":"40\u00b0 28' 2.65872'' N","lng":"16\u00b0 56' 16.68228'' E"},"MGRS":"33TXE6429581440","Maidenhead":"JN80ll22ne","Mercator":{"x":1885525.894,"y":4906361.095},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITF"},"NUTS2":{"code":"ITF4"},"NUTS3":{"code":"ITF43"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=977898724#map=17/40.46741/16.93797","note_url":"https://www.openstreetmap.org/note/new#map=17/40.46741/16.93797&layers=N","url":"https://www.openstreetmap.org/?mlat=40.46741&mlon=16.93797#map=17/40.46741/16.93797"},"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":"srhn1qvgeppg4hwd4e3c","qibla":127.59,"roadinfo":{"drive_on":"right","road":"Piazza Selene","speed_in":"km/h"},"sun":{"rise":{"apparent":1735366560,"astronomical":1735360680,"civil":1735364700,"nautical":1735362660},"set":{"apparent":1735399920,"astronomical":1735405800,"civil":1735401780,"nautical":1735403820}},"timezone":{"name":"Europe/Rome","now_in_dst":0,"offset_sec":3600,"offset_string":"+0100","short_name":"CET"},"what3words":{"words":"waking.superiors.hazel"}},"bounds":{"northeast":{"lat":40.4675681,"lng":16.9381131},"southwest":{"lat":40.467252,"lng":16.9378293}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-75","IT-TA"],"_category":"road","_normalized_city":"Castellaneta","_type":"road","continent":"Europe","country":"Italy","country_code":"it","county":"Taranto","county_code":"TA","political_union":"European Union","road":"Piazza Selene","state":"Apulia","town":"Castellaneta","village":"Castellaneta Marina"},"confidence":9,"distance_from_q":{"meters":15},"formatted":"Piazza Selene, Castellaneta TA, Italy","geometry":{"lat":40.4674052,"lng":16.9379673}}],"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":"Sat, 28 Dec 2024 02:58:57 GMT","created_unix":1735354737},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Taranto","county_code":"TA","political_union":"European Union","road":"Piazza Selene","state":"Apulia","town":"Castellaneta","village":"Castellaneta Marina"},"confidence":9,"distance_from_q":{"meters":15},"formatted":"Piazza Selene, Castellaneta TA, Italy","geometry":{"lat":40.4674052,"lng":16.9379673}}],"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":"Sat, 28 Dec 2024 02:58:57 GMT","created_unix":1735354737},

Ta