-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
pbf streets fails with out of memory #12
Comments
Hi @otbutz This tool was only designed for small extracts and so hasn't been optimized for/tested on such a large file. For our production builds of Pelias we still use the scripts written for us by the Valhalla team, you can find a readme here https://github.com/pelias/polylines/wiki/Generating-polylines-from-Valhalla The Valhalla project merged a bunch of repos in to one at some point and it's possible this is out-of-date, please let me know if you get stuck. |
Thanks for the quick response. I'm will give it a spin and report back. |
I forked the wiki and added my modifications: https://github.com/otbutz/polylines-wiki |
I also just updated the wiki with the copy you provided in https://github.com/otbutz/polylines-wiki |
Gonna give it a try and will report back! |
I tried to execute the following command in order to obtain a polylines file for pelias:
go/bin/pbf streets europe.pf > road_network.polylines
and received the following error:
VM configuration
go get github.com/missinglink/pbf
pbf characteristics:
vmuser@ubuntu1804:~$ go/bin/pbf stats europe.pf 2018/03/05 17:29:37 Nodes: 636905885 2018/03/05 17:29:37 Ways: 107386467 2018/03/05 17:29:37 Relations: 2554467 2018/03/05 17:29:37 NodesWithName: 373730 2018/03/05 17:29:37 WaysWithName: 49843662 2018/03/05 17:29:37 RelationsWithName: 250337 2018/03/05 17:29:37 NodesWithAddress: 63819952 2018/03/05 17:29:37 WaysWithAddress: 0 2018/03/05 17:29:37 RelationsWithAddress: 0 2018/03/05 17:29:37 NodesWithNoTags: 488804679 2018/03/05 17:29:37 WaysWithNoTags: 1215359 2018/03/05 17:29:37 RelationsWithNoTags: 0 2018/03/05 17:29:37 NodesAvgTagCount: 0.21146129299221172 2018/03/05 17:29:37 WaysAvgTagCount: 6.986399234130804 2018/03/05 17:29:37 RelationsAvgTagCount: 2.9026785345518253
The text was updated successfully, but these errors were encountered: