LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=45.5938878505574+7.79039272855879
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2380,"reset":1714694400},"results":[{"annotations":{"DMS":{"lat":"45\u00b0 35' 38.00256'' N","lng":"7\u00b0 47' 25.50624'' E"},"MGRS":"32TMR0565649638","Maidenhead":"JN35vo42um","Mercator":{"x":867225.409,"y":5684968.932},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITC"},"NUTS2":{"code":"ITC2"},"NUTS3":{"code":"ITC20"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?node=5787587898#map=17/45.59389/7.79042","note_url":"https://www.openstreetmap.org/note/new#map=17/45.59389/7.79042&layers=N","url":"https://www.openstreetmap.org/?mlat=45.59389&mlon=7.79042#map=17/45.59389/7.79042"},"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":"u0je3k0g9vhcrwesd8vm","qibla":121.97,"roadinfo":{"drive_on":"right","road":"Via Carlo Viola","speed_in":"km/h"},"sun":{"rise":{"apparent":1714623360,"astronomical":1714616160,"civil":1714621380,"nautical":1714618920},"set":{"apparent":1714674960,"astronomical":1714682220,"civil":1714676940,"nautical":1714679460}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"what3words":{"words":"exhibits.guesthouse.cohorts"}},"bounds":{"northeast":{"lat":45.5939396,"lng":7.7904684},"southwest":{"lat":45.5938396,"lng":7.7903684}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-23"],"_category":"road","_normalized_city":"Pont-Saint-Martin","_type":"road","continent":"Europe","country":"Italy","country_code":"it","hamlet":"Cascine","political_union":"European Union","postcode":"11026","road":"Via Carlo Viola","state":"Aosta Valley","village":"Pont-Saint-Martin"},"confidence":9,"distance_from_q":{"meters":2},"formatted":"Via Carlo Viola, 11026 Pont-Saint-Martin, Italy","geometry":{"lat":45.5938896,"lng":7.7904184}}],"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":"Thu, 02 May 2024 16:13:02 GMT","created_unix":1714666382},"total_results":1}
la citta ricavata con /"county":"(.*),/ e':