LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=41.37551+16.151754
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":1895,"reset":1725235200},"results":[{"annotations":{"DMS":{"lat":"41\u00b0 22' 31.20600'' N","lng":"16\u00b0 9' 6.09444'' E"},"MGRS":"33TWF9630881064","Maidenhead":"JN81bj80eb","Mercator":{"x":1797998.229,"y":5039611.863},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITF"},"NUTS2":{"code":"ITF4"},"NUTS3":{"code":"ITF48"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=55728007#map=16/41.37533/16.15169","note_url":"https://www.openstreetmap.org/note/new#map=16/41.37533/16.15169&layers=N","url":"https://www.openstreetmap.org/?mlat=41.37533&mlon=16.15169#map=16/41.37533/16.15169"},"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":"sr77rs1kc9rnu369f0p1","qibla":127.75,"roadinfo":{"drive_on":"right","road":"Via Giuseppe Garibaldi","road_type":"residential","speed_in":"km/h"},"sun":{"rise":{"apparent":1725164580,"astronomical":1725158700,"civil":1725162900,"nautical":1725160860},"set":{"apparent":1725211620,"astronomical":1725217440,"civil":1725213300,"nautical":1725215340}},"timezone":{"name":"Europe/Rome","now_in_dst":1,"offset_sec":7200,"offset_string":"+0200","short_name":"CEST"},"what3words":{"words":"sues.numbly.analogies"}},"bounds":{"northeast":{"lat":41.3816056,"lng":16.1518955},"southwest":{"lat":41.3752559,"lng":16.1408718}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-75","IT-BT"],"_category":"road","_normalized_city":"Margherita di Savoia","_type":"road","continent":"Europe","country":"Italy","country_code":"it","county":"Barletta-Andria-Trani","county_code":"BT","political_union":"European Union","postcode":"76016","road":"Via Giuseppe Garibaldi","road_type":"residential","state":"Apulia","town":"Margherita di Savoia"},"confidence":9,"distance_from_q":{"meters":20},"formatted":"Via Giuseppe Garibaldi, 76016 Margherita di Savoia BT, Italy","geometry":{"lat":41.375335,"lng":16.1516929}}],"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:25:17 GMT","created_unix":1725204317},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Barletta-Andria-Trani","county_code":"BT","political_union":"European Union","postcode":"76016","road":"Via Giuseppe Garibaldi","road_type":"residential","state":"Apulia","town":"Margherita di Savoia"},"confidence":9,"distance_from_q":{"meters":20},"formatted":"Via Giuseppe Garibaldi, 76016 Margherita di Savoia BT, Italy","geometry":{"lat":41.375335,"lng":16.1516929}}],"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:25:17 GMT","created_unix":1725204317},
Ba