LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=45.873736869435+9.97035244342193
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":1628,"reset":1725235200},"results":[{"annotations":{"DMS":{"lat":"45\u00b0 52' 25.65228'' N","lng":"9\u00b0 58' 12.52128'' E"},"MGRS":"32TNR7529180482","Maidenhead":"JN45xu69kr","Mercator":{"x":1109871.444,"y":5729463.321},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITC"},"NUTS2":{"code":"ITC4"},"NUTS3":{"code":"ITC46"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=1090325447#map=16/45.87379/9.97014","note_url":"https://www.openstreetmap.org/note/new#map=16/45.87379/9.97014&layers=N","url":"https://www.openstreetmap.org/?mlat=45.87379&mlon=9.97014#map=16/45.87379/9.97014"},"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":"u0phfzh41nwvcxq88q2r","qibla":125.06,"roadinfo":{"drive_on":"right","road":"unnamed road","speed_in":"km/h"},"sun":{"rise":{"apparent":1725165720,"astronomical":1725159300,"civil":1725163920,"nautical":1725161700},"set":{"apparent":1725213420,"astronomical":1725219780,"civil":1725215220,"nautical":1725217440}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"what3words":{"words":"hurries.interests.proof"}},"bounds":{"northeast":{"lat":45.8738702,"lng":9.9701656},"southwest":{"lat":45.8731641,"lng":9.9699318}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-25","IT-BG"],"_category":"road","_normalized_city":"San Lorenzo di Rovetta","_type":"road","continent":"Europe","country":"Italy","country_code":"it","county":"Bergamo","county_code":"BG","hamlet":"Vogno","political_union":"European Union","postcode":"24020","road":"unnamed road","state":"Lombardy","village":"San Lorenzo di Rovetta"},"confidence":9,"distance_from_q":{"meters":17},"formatted":"unnamed road, 24020 San Lorenzo di Rovetta BG, Italy","geometry":{"lat":45.8737923,"lng":9.9701448}}],"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:22:13 GMT","created_unix":1725211333},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Bergamo","county_code":"BG","hamlet":"Vogno","political_union":"European Union","postcode":"24020","road":"unnamed road","state":"Lombardy","village":"San Lorenzo di Rovetta"},"confidence":9,"distance_from_q":{"meters":17},"formatted":"unnamed road, 24020 San Lorenzo di Rovetta BG, Italy","geometry":{"lat":45.8737923,"lng":9.9701448}}],"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:22:13 GMT","created_unix":1725211333},
Be