-
Notifications
You must be signed in to change notification settings - Fork 25
whosonfirst does not start with default pelias.json configuration #44
Comments
Hey Philippe, I just tried this out myself, and it worked for me right now, but there are quite a few moving pieces, so it's very possible there are bugs if people don't follow the exact steps we do. Any such bugs we would very much like to fix, so I'd love to track this down. |
Hi Julian, I only used the pelias-dockerfile resources (no "manual" download or anything else).But I'm beginning with Pelias, and I did a few mistakes (like forgetting to set the "api_key" in pelias.json, ...) and ran into issues. I'm gonna do it again from scratch and I'll keep you posted about the outcome... Thank you |
Hi Julian, So I started over from scratch, and it went well this time. Doing that, I noticed that I previously had two different values set for the DATA_DIR variable:
Maybe this explains the issue I ran into. Thank you for your help. Philippe |
Ah, this makes a lot of sense. We've already heard about the pain of managing |
Closing this old issue, hopefully the http://github.com/pelias/docker/ repository which replaces this one has fixed this issue. If not, feel free to open an issue there with the latest info on the issue. Thanks! |
Hi everybody.
I'm trying to install and run a pelias instance for testing and learning purpose. I'm on macOS Sierra.
I (think I) correctly followed the guidelines provided in the read.me. But I'm facing an issue related to whosonfirst postal codes import.
Configuration
I used the same as default (except I put my mapzen-key-id !!).
It means that:
The problem I have
The download phase (
docker-compose run --rm whosonfirst npm run download
) works fine. In particular, 26 postal codes were importedBelow is an extract of the log:
Later on, during the import phase (
docker-compose run --rm whosonfirst npm start
), I got an error when the program tries to import the postal codes data.Here are the logs:
My understanding is that, even if the scope is reduced to Portland (
"importPlace": "101715829"
is set in the pelias.json properties file), the program doesn't take this configuration into account and assume that all postal codes need to be indexed, and thus all postal codes files should be available.Am I correct ? Or do I miss something ?
After some googling, I found whosonfirst issue #230. It seems to confirm my assumptions.
So, if is correct, it would be worth:
"importPostalcodes": false
What do you think ?
Best,
Philippe
The text was updated successfully, but these errors were encountered: