Hello everyone,

I tried to geocode "Hong Kong"
(https://nominatim.openstreetmap.org/search.php?q=Hong
Kong&format=json&addressdetails=1&accept-language=en), and the country code
comes out to be "cn".

But according to this list (
https://wiki.openstreetmap.org/wiki/Nominatim/Country_Codes), I found the
country code for Hong Kong to be "HK", and hence I believe we should be
getting HK instead of CN.

I did some research and I believe the Relation: China (270056) (
https://www.openstreetmap.org/relation/270056/history#map=6/20.056/114.675)
is the reason. Not sure how to fix this, hence thought of mailing it here.

Regards,
Leo.
_______________________________________________
Geocoding mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/geocoding

Reply via email to