3 ms·
I live in Vietnam and have the same problem I think. My city has diacritics in its name, but the query https://nominatim.openstreetmap.org/search?city=B%E1%BA%
by CapsAdmin 2y ago
I live in Vietnam and have the same problem I think. My city has diacritics in its name, but the query
https://nominatim.openstreetmap.org/search?city=B%E1%BA%AFc-Ninh&country=Vietnam&format=json&place=city&limit=1&addressdetails=1&accept-language=en-US https://nominatim.openstreetmap.org/search?city=B%E1%BA%AFc-...
works fine.
Unlike the parent post, it does not go to undefined, it just returns 404 when clicking on the map.
Some 404 examples:
https://meet.hn/city/vn-B%E1%BA%AFc-Ninh https://meet.hn/city/vn-B%E1%BA%AFc-Ninh
https://meet.hn/city/vn-H%C3%A0-N%E1%BB%99i https://meet.hn/city/vn-H%C3%A0-N%E1%BB%99i
Working examples in Vietnam
https://meet.hn/city/vn-Da-Nang https://meet.hn/city/vn-Da-Nang
https://meet.hn/city/vn-Ho-Chi-Minh-City https://meet.hn/city/vn-Ho-Chi-Minh-City
(technically the last examples should be Đà Nẵng and Thành phố Hồ Chí Minh, but I guess because they are internationally known cities, they use the English names?)
- habi 2y agohttps://www.openstreetmap.org/relation/1973756 https://www.openstreetmap.org/relation/1973756 has `name=Thành phố Hồ Chí Minh` and `name:en= Ho Chi Minh City`
- CapsAdmin 2y agoAha, so in the case of Bắc Ninh, its English name is the same as it is in Vietnamese; with diacritics. I was going to say Da Nang and Ho Chi Minh City have gotten english names indirectly due to their popularity or relevance in Vietnam, but the main capital of Vietnam, Hà Nội, has the same problem as Bắc Ninh where its English name is the same as the Vietnamese name. I guess there's no logical reason behind this, as this sort of data is likely crowd sourced.