LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=45.879439986635809+10.858602097174307
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":1552,"reset":1725235200},"results":[{"annotations":{"DMS":{"lat":"45\u00b0 52' 45.99480'' N","lng":"10\u00b0 51' 30.26664'' E"},"MGRS":"32TPR4421282332","Maidenhead":"JN55kv31ab","Mercator":{"x":1208752.379,"y":5730363.906},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITH"},"NUTS2":{"code":"ITH2"},"NUTS3":{"code":"ITH20"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=24910752#map=16/45.87944/10.85841","note_url":"https://www.openstreetmap.org/note/new#map=16/45.87944/10.85841&layers=N","url":"https://www.openstreetmap.org/?mlat=45.87944&mlon=10.85841#map=16/45.87944/10.85841"},"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":"u0ptp04g5hp65umupbmd","qibla":126.24,"roadinfo":{"drive_on":"right","road":"Via Brione","speed_in":"km/h"},"sun":{"rise":{"apparent":1725165540,"astronomical":1725159120,"civil":1725163680,"nautical":1725161460},"set":{"apparent":1725213180,"astronomical":1725219600,"civil":1725215040,"nautical":1725217260}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"what3words":{"words":"ritual.rollers.echo"}},"bounds":{"northeast":{"lat":45.8795775,"lng":10.8586286},"southwest":{"lat":45.8792412,"lng":10.8581714}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-32","IT-TN"],"_category":"government","_normalized_city":"Riva del Garda","_type":"police","continent":"Europe","country":"Italy","country_code":"it","county":"Provincia di Trento","house_number":"5","municipality":"Comunit\u00e0 Alto Garda e Ledro","police":"Polizia di Stato","political_union":"European Union","postcode":"38066","road":"Via Brione","state":"Trentino \u2013 Alto Adige/S\u00fcdtirol","town":"Riva del Garda","village":"Sant'Alessandro"},"confidence":9,"distance_from_q":{"meters":15},"formatted":"Polizia di Stato, Via Brione 5, 38066 Riva del Garda TN, Italy","geometry":{"lat":45.879443,"lng":10.8584074}}],"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 17:23:58 GMT","created_unix":1725211438},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Provincia di Trento","house_number":"5","municipality":"Comunit\u00e0 Alto Garda e Ledro","police":"Polizia di Stato","political_union":"European Union","postcode":"38066","road":"Via Brione","state":"Trentino \u2013 Alto Adige/S\u00fcdtirol","town":"Riva del Garda","village":"Sant'Alessandro"},"confidence":9,"distance_from_q":{"meters":15},"formatted":"Polizia di Stato, Via Brione 5, 38066 Riva del Garda TN, Italy","geometry":{"lat":45.879443,"lng":10.8584074}}],"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 17:23:58 GMT","created_unix":1725211438},
Pr