-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
How to support interpolation for Berlin/Germany? #112
Comments
Please check the permissions of ls -lah /tmp Your user should have write permissions. This most likely the reason why you receive the |
Hi @jengeb, |
Thank you very much for your answers. I am still a bit confused how to apply interpolation for a non US region or city. Starting with the pelias.json config file, I searched for and adjusted the imported datasets for openaddresses, polyline etc. I thought I could do the same with interpolation. |
Here you go: https://github.com/pelias/interpolation#building-the-databases tl;dr:
btw: OSM vs Openaddresses. I don't know how good the openaddresses dataset is for Berlin. I'd grab an OSM extract from geofabrik if you run into any problems. |
Hi @jengeb sorry for the late reply on this one. Julian is correct in saying that the TIGER block range data comes from the US CENSUS and so is only relevant in the USA. I'm the author of the interpolation library and I'm also based in Berlin, so you'll actually find a few test cases for Berlin in the test directory. I saw you opened a few other issues and PRs across the Pelias org, if you're interested in contributing more to the project I'd be happy to meet you for a coffee to talk about your experience of installing/running the code and the requirements for your project. |
Hi @missinglink, Thanks for your response. I set up a local instance of Pelias only including data for Berlin and Brandenburg for my project. The goal is to have a self-hosted version of Pelias running as a geocoder for a map application. This app will only use the endpoints for searching and autocompleting addresses. After getting docker and the following command running (see #117 ) I could build the databases as described. Thanks @otbutz! $ cat /data/brandenburg.polylines | docker run -i -v /data:/data pelias/interpolation polyline /data/street.db I am using Best, |
Hi @jengeb, Did you get interpolation to work within the docker-compose pelias.json? |
Hi @jengeb, Sorry I didn't see your question. The interpolation service is a standalone service from Pelias, so it's built separately and runs in a different process. There are two configuration sections in the Since I designed it to be standalone from pelias, that section doesn't really have a lot of options, it's assumed that you follow the directions in the readme for There is one setting which made it in there and it relates to TIGER, which is US-only, so you can leave that whole thing empty. The second related section is: https://github.com/pelias/dockerfiles/blob/master/pelias.json#L29-L31 This tells the It is currently only enabled for one query type:
This also only applies to the We had plans to further develop the integration between the two services but when Mapzen was shut down, those plans were put on hold. The interpolation service offers a bunch of other APIs such as nearest street (with projected accuracy) and other functions which return more accurate results than elasticsearch, which only works off centroids. |
here's some examples of what the service can do:
note: this dev server is running off a |
@missinglink: Thanks a lot for the detailed explanation. @nilsnolde: I've left the interpolation part of the imports section in |
Dear Pelias maintainers,
I use the dockerfiles repository and would actually like to set up a local instance of Pelias with the data of Berlin/Germany. I've already searched for possibilities to adjust the data pathes and files in a config file called pelias.json.
The interpolation part for Portland, Oregon is the following:
Until now I've found no way to configure this part for Berlin.
But I executed the following code of your readme and got this error message (I also tried using
sudo
):Do you know a way to configure the interpolation for Berlin? I would be very happy if anyone could help me.
The text was updated successfully, but these errors were encountered: