Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong country name for Czechia #369

Open
gkatsanos opened this issue Jan 15, 2025 · 0 comments
Open

Wrong country name for Czechia #369

gkatsanos opened this issue Jan 15, 2025 · 0 comments

Comments

@gkatsanos
Copy link

gkatsanos commented Jan 15, 2025

Hello, the country name for CZ is wrong. https://en.wikipedia.org/wiki/ISO_3166-2:CZ#:~:text=ISO%203166%2D2%3ACZ%20is,coded%20in%20ISO%203166%2D1.
It should be Czechia. This is also what is returned by Google Maps:
image

{
  "predictions": [
    {
      "description": "Prague, Czechia",
      "matched_substrings": [
        {
          "length": 5,
          "offset": 0
        }
      ],
      "place_id": "ChIJi3lwCZyTC0cRkEAWZg-vAAQ",
      "reference": "ChIJi3lwCZyTC0cRkEAWZg-vAAQ",
      "structured_formatting": {
        "main_text": "Prague",
        "main_text_matched_substrings": [
          {
            "length": 5,
            "offset": 0
          }
        ],
        "secondary_text": "Czechia"
      },
      "terms": [
        {
          "offset": 0,
          "value": "Prague"
        },
        {
          "offset": 8,
          "value": "Czechia"
        }
      ],
      "types": [
        "geocode",
        "political",
        "locality"
      ]
    },
    {
      "description": "Prague International Airport (PRG), Aviatická, Prague 6, Czechia",
      "matched_substrings": [
        {
          "length": 5,
          "offset": 0
        }
      ],
      "place_id": "ChIJyw1526e_C0cRrPakrNGArS8",
      "reference": "ChIJyw1526e_C0cRrPakrNGArS8",
      "structured_formatting": {
        "main_text": "Prague International Airport (PRG)",
        "main_text_matched_substrings": [
          {
            "length": 5,
            "offset": 0
          }
        ],
        "secondary_text": "Aviatická, Prague 6, Czechia"
      },
      "terms": [
        {
          "offset": 0,
          "value": "Prague International Airport (PRG)"
        },
        {
          "offset": 36,
          "value": "Aviatická"
        },
        {
          "offset": 47,
          "value": "Prague 6"
        },
        {
          "offset": 57,
          "value": "Czechia"
        }
      ],
      "types": [
        "point_of_interest",
        "airport",
        "establishment"
      ]
    },
    {
      "description": "Prague Castle, Hradčany, Prague 1, Czechia",
      "matched_substrings": [
        {
          "length": 5,
          "offset": 0
        }
      ],
      "place_id": "ChIJw7ckbB6VC0cRnyUSr4g8zyo",
      "reference": "ChIJw7ckbB6VC0cRnyUSr4g8zyo",
      "structured_formatting": {
        "main_text": "Prague Castle",
        "main_text_matched_substrings": [
          {
            "length": 5,
            "offset": 0
          }
        ],
        "secondary_text": "Hradčany, Prague 1, Czechia"
      },
      "terms": [
        {
          "offset": 0,
          "value": "Prague Castle"
        },
        {
          "offset": 15,
          "value": "Hradčany"
        },
        {
          "offset": 25,
          "value": "Prague 1"
        },
        {
          "offset": 35,
          "value": "Czechia"
        }
      ],
      "types": [
        "tourist_attraction",
        "establishment",
        "point_of_interest"
      ]
    },
    {
      "description": "Prague, OK, USA",
      "matched_substrings": [
        {
          "length": 5,
          "offset": 0
        }
      ],
      "place_id": "ChIJVQS7EhTps4cRj-RpL12Tobo",
      "reference": "ChIJVQS7EhTps4cRj-RpL12Tobo",
      "structured_formatting": {
        "main_text": "Prague",
        "main_text_matched_substrings": [
          {
            "length": 5,
            "offset": 0
          }
        ],
        "secondary_text": "OK, USA"
      },
      "terms": [
        {
          "offset": 0,
          "value": "Prague"
        },
        {
          "offset": 8,
          "value": "OK"
        },
        {
          "offset": 12,
          "value": "USA"
        }
      ],
      "types": [
        "locality",
        "geocode",
        "political"
      ]
    },
    {
      "description": "Prague Airport Letňany, Hůlkova, Prague 19, Czechia",
      "matched_substrings": [
        {
          "length": 5,
          "offset": 0
        }
      ],
      "place_id": "ChIJMaCpDvDsC0cRciG9f04Qip0",
      "reference": "ChIJMaCpDvDsC0cRciG9f04Qip0",
      "structured_formatting": {
        "main_text": "Prague Airport Letňany",
        "main_text_matched_substrings": [
          {
            "length": 5,
            "offset": 0
          }
        ],
        "secondary_text": "Hůlkova, Prague 19, Czechia"
      },
      "terms": [
        {
          "offset": 0,
          "value": "Prague Airport Letňany"
        },
        {
          "offset": 24,
          "value": "Hůlkova"
        },
        {
          "offset": 33,
          "value": "Prague 19"
        },
        {
          "offset": 44,
          "value": "Czechia"
        }
      ],
      "types": [
        "point_of_interest",
        "establishment",
        "airport"
      ]
    }
  ],
  "status": "OK"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant