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

Search for federal states of Germany in German language #1629

Closed
dawidl11 opened this issue Jul 26, 2022 · 9 comments · Fixed by pelias/wof-admin-lookup#317
Closed

Search for federal states of Germany in German language #1629

dawidl11 opened this issue Jul 26, 2022 · 9 comments · Fixed by pelias/wof-admin-lookup#317

Comments

@dawidl11
Copy link

Hi there,

I have encountered a problem when using Pelias Snapshot.

What am I using?

I have created a standard Pelias snapshot (data sources: OSM, Opensearch, Geonames, WhosOnFirst).

What is the problem?
I want to specify now in my structured query (under the attribute "Region") the German federal state. In doing so, I enter the German name of the federal state (e.g. "Sachsen"). When I do this, no correct result is returned.
However, if I enter the same query with the English name of the state ("Saxony"), a correct result is returned.

My question:
Is it possible to set Pelias to correctly identify German state names in the queries?

Many thanks in advance for the answers!

@missinglink
Copy link
Member

Hi @dawidl11

Which API are you using? I'm guessing /v1/autocomplete?

Which language is your computer set to? ie. What Accept-Language header does your browser send?

@dawidl11
Copy link
Author

dawidl11 commented Aug 7, 2022

Hi @missinglink ,
The problem was actually with Accept-Language. Thanks for the hint.

@missinglink
Copy link
Member

@dawidl11 please close the issue if it's resolved

@dawidl11 dawidl11 closed this as completed Aug 8, 2022
@dawidl11
Copy link
Author

dawidl11 commented Oct 4, 2022

At first we thought it was actually due to our "Accept-Language". But now we have also checked it with German as "Accept-Language" and unfortunately we get the same results. Also with the following Pelias API: https://api.geocode.earth .
Here is an example of a request:

So it looks like a general problem. Could this please be reviewed again?
Many thanks in advance!

@dawidl11 dawidl11 reopened this Oct 4, 2022
@missinglink
Copy link
Member

See this recently merged PR for more context, this is much closer to being resolved now.

pelias/wof-admin-lookup#314

@dawidl11
Copy link
Author

dawidl11 commented Oct 4, 2022

Thank you for the link. This looks interesting and is in line with what we have also been investigating.
Is it also possible to estimate approximately when the adjustments will be made for German federal states, or is that rather difficult to say?

@missinglink
Copy link
Member

The issue with German Federal States should now be resolved via pelias/wof-admin-lookup#317

@missinglink
Copy link
Member

@dawidl11
Copy link
Author

This is very good news. Thanks for the information @missinglink

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants