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":2206,"reset":1725235200},"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":1725165300,"astronomical":1725158700,"civil":1725163440,"nautical":1725161160},"set":{"apparent":1725213120,"astronomical":1725219660,"civil":1725214980,"nautical":1725217260}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"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":"Sun, 01 Sep 2024 13:26:53 GMT","created_unix":1725197213},"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":"Sun, 01 Sep 2024 13:26:53 GMT","created_unix":1725197213},
So