Skip to content

Configure countries to use for postal city lookup #305

@NairolfL

Description

@NairolfL

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions