pelias / polylines

Pelias import pipeline for polyline (road network) data.
MIT License
17 stars 24 forks source link

Add valhalla polyline generation support for large pbf files. #204

Closed JWileczek closed 5 years ago

JWileczek commented 5 years ago

This relies on a separate PR locking down the baseimage version to be pulled in to work as-is without additional changes to dockerfile: https://github.com/pelias/baseimage/pull/9

These changes would install valhalla along with polyline image, and when encountering a large pbf file during the generation it will use valhalla to generate the polyline data instead of the normal pbf tool.

missinglink commented 5 years ago

I got bitten by https://github.com/valhalla/docker/issues/42 which is why we have a cd step as per https://github.com/pelias/docker/pull/28#issuecomment-429978214

I'd suggest we do the same here so that any temp files are written to a large bind-mounted volume instead of inside the container.

more info: https://github.com/valhalla/valhalla/issues/1469

missinglink commented 5 years ago

I've uploaded some old copies of the timezones and admins sqlite databases if you'd like to include them?

missinglink commented 4 years ago

I've moved this code into https://github.com/pelias/docker-valhalla-baseimage and updated it to work on Ubu Bionic