LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=46.8765992583098+11.4771438975875
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2475,"reset":1735344000},"results":[{"annotations":{"DMS":{"lat":"46\u00b0 52' 35.93676'' N","lng":"11\u00b0 28' 36.87888'' E"},"MGRS":"32TPS8873794435","Maidenhead":"JN56rv70fj","Mercator":{"x":1277603.862,"y":5890761.792},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITH"},"NUTS2":{"code":"ITH1"},"NUTS3":{"code":"ITH10"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=723564820#map=17/46.87665/11.47691","note_url":"https://www.openstreetmap.org/note/new#map=17/46.87665/11.47691&layers=N","url":"https://www.openstreetmap.org/?mlat=46.87665&mlon=11.47691#map=17/46.87665/11.47691"},"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":"u224tjthr2szvty3wqr1","qibla":128.24,"roadinfo":{"drive_on":"right","road":"Brennerstra\u00dfe - Via Brennero","speed_in":"km/h"},"sun":{"rise":{"apparent":1735282800,"astronomical":1735276140,"civil":1735280640,"nautical":1735278360},"set":{"apparent":1735313460,"astronomical":1735320120,"civil":1735315560,"nautical":1735317900}},"timezone":{"name":"Europe/Rome","now_in_dst":0,"offset_sec":3600,"offset_string":"+0100","short_name":"CET"},"what3words":{"words":"arrears.responsible.fattens"}},"bounds":{"northeast":{"lat":46.8767927,"lng":11.4780263},"southwest":{"lat":46.876536,"lng":11.4763811}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-32","IT-BZ"],"_category":"road","_normalized_city":"Freienfeld - Campo di Trens","_type":"road","city":"Freienfeld - Campo di Trens","continent":"Europe","country":"Italy","country_code":"it","county":"South Tyrol","county_code":"BZ","hamlet":"Freienfeld - Campo di Trens","municipality":"Wipptal - Alta Vall'Isarco","political_union":"European Union","postcode":"39040","road":"Brennerstra\u00dfe - Via Brennero","state":"Trentino \u2013 Alto Adige/S\u00fcdtirol","village":"Trens"},"confidence":9,"distance_from_q":{"meters":18},"formatted":"Brennerstra\u00dfe - Via Brennero, 39040 Freienfeld - Campo di Trens BZ, Italy","geometry":{"lat":46.8766491,"lng":11.4769108}}],"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 08:41:37 GMT","created_unix":1735288897},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"South Tyrol","county_code":"BZ","hamlet":"Freienfeld - Campo di Trens","municipality":"Wipptal - Alta Vall'Isarco","political_union":"European Union","postcode":"39040","road":"Brennerstra\u00dfe - Via Brennero","state":"Trentino \u2013 Alto Adige/S\u00fcdtirol","village":"Trens"},"confidence":9,"distance_from_q":{"meters":18},"formatted":"Brennerstra\u00dfe - Via Brennero, 39040 Freienfeld - Campo di Trens BZ, Italy","geometry":{"lat":46.8766491,"lng":11.4769108}}],"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 08:41:37 GMT","created_unix":1735288897},
So