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

Getting the message: "debug: [wof-admin-lookup] no country" #517

Closed
dmaj opened this issue Oct 13, 2020 · 2 comments
Closed

Getting the message: "debug: [wof-admin-lookup] no country" #517

dmaj opened this issue Oct 13, 2020 · 2 comments
Labels

Comments

@dmaj
Copy link

dmaj commented Oct 13, 2020

I import addresses for Germany (oa, osm).
I'm useing "Whosonfirst" data for the whole planet. When importing oa and osm I get hundreds of messages: debug: [wof-admin-lookup] no country lon=12.847481, lat=50.448679, ....
I have checked many of the output coordinates. They are all very close to borders or to the coast.

Unfortunately I am not yet familiar enough with the data structures to find the problem myself. Is this a problem of the importers? Or is the problem to be found in the "Whosonfirst" data? The boundaries can only be approximated with polygons, so there could be addresses in the gaps.

@dmaj dmaj added the bug label Oct 13, 2020
@missinglink
Copy link
Member

As you mentioned the problem is either that the points aren't in Germany or don't lie within the Germany polygon.

It's impossible to comment further without information about exactly which data you're importing and how you have configured pelias.

@orangejulius
Copy link
Member

Adding on to what @missinglink said, we don't generally consider this debug message to be a problem. Certainly if there is a particular record not being associated with a country an you expect it should, examine the record and the polygon for the country to make sure they match up (either could have invalid data).

But, in general, this any any other debug message is safe to ignore. In fact, I wonder if this is another one we want to consider removing?

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