-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Localities missing from GB import #508
Comments
OK, so I've inspected the geojson in the sqlite database more thoroughly and it looks like the places that haven't been imported have
It looks like this is expected behaviour with the whosonfirst importer. I'm now thinking this might be an issue with how the SQLite distribution is generated... @missinglink it looks like you might be working on something related? |
Sounds a lot like the bug I fixed yesterday. Please try downloading the SQLite database again and checking the same IDs, you should find exactly one record with |
Thanks @missinglink - I don't think |
Can you please post a |
Agh damn I think you're right I'll figure out a fix |
Sure thing, thanks for that. > sqlite shasum -a 256 whosonfirst-data-admin-gb-latest.db.bz2
044dc0e263647a487dc192740f7619ee1536c8cf3f8c927a1d7f09e862cb0c09 whosonfirst-data-admin-gb-latest.db.bz2
> sqlite shasum -a 256 whosonfirst-data-admin-gb-latest.db
d6a43a27bc6fd6412400d3b679e5c1a417b58fd7fc59a9cf14c05531c00c992b whosonfirst-data-admin-gb-latest.db
> sqlite sqlite3 whosonfirst-data-admin-gb-latest.db
SQLite version 3.28.0 2019-04-15 14:49:49
Enter ".help" for usage hints.
sqlite> SELECT id, source, is_alt FROM geojson WHERE id = 101750573;
101750573|quattroshapes|1
101750573|quattroshapes_pg|1
sqlite> |
Fix merged in pelias/wof#16, data files are being regenerated by @pelias-bot |
Great, thank you! |
looks like it was fixed, the files are generated alphabetically and it's up to 'H' so they'll all get uploaded in the next couple of hours. |
|
Thanks for the bug report, the If the problem is solved for you please close the github issue. |
This issue should now be resolved? |
Please reopen if you find it's not fixed. |
I've just set up a test Pelias installation locally using Docker. I'm using this
pelias.json
to load in the whole of the UK, and running the following commands:(I don't need street/address geocoding.)
Most of the places I'd expect to be present have loaded in fine, but I'm missing some places that should be present. For example: Nuneaton, Huddersfield, Sittingbourne. They all exist in my local WOF sqlite database, but aren't present in the ElasticSearch index. They work fine on the geocode.earth online tool.
Take Huddersfield. It's not in the ElasticSearch index:
While a sibling locality, Holme Valley, has loaded just fine:
I've run the
pelias import wof
multiple times, with no errors produced. And I've tried to flush the index too.Is there a way of debugging why they might not be getting loaded?
The text was updated successfully, but these errors were encountered: