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

placeholder_1 | parent not found! continent_id 102191581 #215

Open
irbian opened this issue Dec 7, 2021 · 2 comments
Open

placeholder_1 | parent not found! continent_id 102191581 #215

irbian opened this issue Dec 7, 2021 · 2 comments
Labels

Comments

@irbian
Copy link

irbian commented Dec 7, 2021

Describe the bug
I´m getting this warning

placeholder_1 | parent not found! continent_id 102191581

And no info regarding the continent Europe on the responses

Steps to Reproduce
I´m using pelias/docker

Initially my config was

 "whosonfirst": {
      "datapath": "/data/whosonfirst",
      "importPostalcodes": true,
      "countryCode": "ES",
      "importPlace": [
        "404227369"
      ]
    },

But after seeing the message, I added the continent info too

 "whosonfirst": {
      "datapath": "/data/whosonfirst",
      "importPostalcodes": true,
      "countryCode": "ES",
      "importPlace": [
        "404227369",
        "102191581"
      ]
    },

Expected behavior
I expect to see info regarding the continent Europe

Environment (please complete the following information):
latest pelias/docker

@irbian irbian added the bug label Dec 7, 2021
@missinglink
Copy link
Member

It might not be very well documented but super-national entities (such as continents, political unions etc.) are stored under the XY country code.

Most people don't require them so they're turned off by default but you can change countryCode to an Array: ["ES", "XY"] and it'll download those files during the download step.

@orangejulius
Copy link
Member

Ah yeah, that's a bit confusing on our part. Maybe we should add the XY and XX files to the list of downloads in all cases?

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

No branches or pull requests

3 participants