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":1983,"reset":1725235200},"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=16/46.17028/9.87011","note_url":"https://www.openstreetmap.org/note/new#map=16/46.17028/9.87011&layers=N","url":"https://www.openstreetmap.org/?mlat=46.17028&mlon=9.87011#map=16/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":1725165720,"astronomical":1725159240,"civil":1725163920,"nautical":1725161640},"set":{"apparent":1725213420,"astronomical":1725219900,"civil":1725215280,"nautical":1725217500}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"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":"Sun, 01 Sep 2024 15:23:46 GMT","created_unix":1725204226},"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":"Sun, 01 Sep 2024 15:23:46 GMT","created_unix":1725204226},
So