-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Configure countries to use for postal city lookup #305
Comments
Hi @NairolfL, We use the pelias/config module to allow changing all sorts of options within Pelias, and this would be a good candidate for that sort of thing. |
Thanks for you quick response. |
Absolutely, that would be great! I think if you name the config option You can keep the defaults currently in the file if the parameter is empty, otherwise it should load files if it exists. I think we can limit it to only 3-character country codes to keep things simpler. If you have any other questions let us know, or feel free to open an early draft PR for review. |
Hello @orangejulius,
Thank you ! |
Hello,
I've been trying this wof admin lookup with different pelias importers (mostly openstreetmap / openaddresses).
I may be missing something but it seems impossible to configure which country to use for the postal city lookup.
It seems that the country list is hard coded at : https://github.com/pelias/wof-admin-lookup/blob/master/src/postalCityMap.js#L53
Would it be possible to make this configurable ? Or is it already and I missed it ?
I see that data exists for a lot of countries already.
The text was updated successfully, but these errors were encountered: