We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Geonames record 2188922 is named Kelburn, but for some reason, it's named Northland in Pelias?
2188922
Kelburn
Northland
/v1/place?ids=geonames:neighbourhood:2188922 { "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 174.76667, -41.28333 ] }, "properties": { "id": "2188922", "gid": "geonames:neighbourhood:2188922", "layer": "neighbourhood", "source": "geonames", "source_id": "2188922", "name": "Northland", "accuracy": "centroid", "country": "New Zealand", "country_gid": "whosonfirst:country:85633345", "country_a": "NZL", "region": "Wellington Region", "region_gid": "whosonfirst:region:85687233", "region_a": "WG", "county": "Wellington City", "county_gid": "whosonfirst:county:102079339", "county_a": "WE", "neighbourhood": "Northland", "neighbourhood_gid": "whosonfirst:neighbourhood:85773067", "continent": "Oceania", "continent_gid": "whosonfirst:continent:102191583", "label": "Northland, New Zealand" } }
The text was updated successfully, but these errors were encountered:
Interestingly, the name is correct when asking for a different language as per /v1/place?lang=ko&ids=geonames:neighbourhood:2188922
/v1/place?lang=ko&ids=geonames:neighbourhood:2188922
So I guess the error must lie with the translation code in API.
Sorry, something went wrong.
This doesn't seem to be in the changeLanguage middleware, because even if it was doing a placeholder query, there is no matching id in WOF:
changeLanguage
placeholder
placeholder://parser/findbyid?ids=2188922 {}
Yeah this must be a super weird bug in the translation layer. I confirmed the record in Elasticsearch is called Kelburn:
curl -s localhost:9200/pelias/neighbourhood/2188922 | jq ._source.name { "default": "Kelburn" }
It's probably something Geonames specific
No branches or pull requests
Geonames record
2188922
is namedKelburn
, but for some reason, it's namedNorthland
in Pelias?The text was updated successfully, but these errors were encountered: