LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=46.170240013041912+9.87018030783885
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2163,"reset":1735430400},"results":[{"annotations":{"DMS":{"lat":"46\u00b0 10' 13.01448'' N","lng":"9\u00b0 52' 12.38592'' E"},"MGRS":"32TNS6716713335","Maidenhead":"JN46we40ju","Mercator":{"x":1098735.312,"y":5776841.12},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITC"},"NUTS2":{"code":"ITC4"},"NUTS3":{"code":"ITC44"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=163717877#map=17/46.17028/9.87011","note_url":"https://www.openstreetmap.org/note/new#map=17/46.17028/9.87011&layers=N","url":"https://www.openstreetmap.org/?mlat=46.17028&mlon=9.87011#map=17/46.17028/9.87011"},"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":"u0pn8t51qhm6u72r14sg","qibla":125.28,"roadinfo":{"drive_on":"right","road":"Piazza Giuseppe Garibaldi","speed_in":"km/h"},"sun":{"rise":{"apparent":1735369380,"astronomical":1735362840,"civil":1735367340,"nautical":1735365060},"set":{"apparent":1735400460,"astronomical":1735407000,"civil":1735402560,"nautical":1735404840}},"timezone":{"name":"Europe/Rome","now_in_dst":0,"offset_sec":3600,"offset_string":"+0100","short_name":"CET"},"what3words":{"words":"cherry.lentil.uses"}},"bounds":{"northeast":{"lat":46.1704197,"lng":9.8703748},"southwest":{"lat":46.1701342,"lng":9.8698332}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-25","IT-SO"],"_category":"travel/tourism","_normalized_city":"Sondrio","_type":"hotel","continent":"Europe","country":"Italy","country_code":"it","county":"Sondrio","county_code":"SO","hamlet":"Campoledro","hotel":"Grand Hotel della Posta","house_number":"19","municipality":"Comunit\u00e0 montana della Valtellina di Sondrio","neighbourhood":"Scarpatetti","political_union":"European Union","postcode":"23100","road":"Piazza Giuseppe Garibaldi","state":"Lombardy","town":"Sondrio","village":"Mossini"},"confidence":9,"distance_from_q":{"meters":7},"formatted":"Grand Hotel della Posta, Piazza Giuseppe Garibaldi 19, 23100 Sondrio SO, Italy","geometry":{"lat":46.1702818,"lng":9.8701072}}],"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":"Sat, 28 Dec 2024 03:04:12 GMT","created_unix":1735355052},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Sondrio","county_code":"SO","hamlet":"Campoledro","hotel":"Grand Hotel della Posta","house_number":"19","municipality":"Comunit\u00e0 montana della Valtellina di Sondrio","neighbourhood":"Scarpatetti","political_union":"European Union","postcode":"23100","road":"Piazza Giuseppe Garibaldi","state":"Lombardy","town":"Sondrio","village":"Mossini"},"confidence":9,"distance_from_q":{"meters":7},"formatted":"Grand Hotel della Posta, Piazza Giuseppe Garibaldi 19, 23100 Sondrio SO, Italy","geometry":{"lat":46.1702818,"lng":9.8701072}}],"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":"Sat, 28 Dec 2024 03:04:12 GMT","created_unix":1735355052},
So