gis-ops / pyvalhalla

High-level Python bindings to the Valhalla routing framework.
GNU General Public License v2.0
58 stars 4 forks source link

valhalla.BuildTiles(path_to_pbf) #16

Open escaped opened 1 year ago

escaped commented 1 year ago

Hello :), I am very glad to see that this project made its way to PyPI. This is very exciting and will helpful for quite some people.

I was using the "original" or "first" version that was published on https://test.pypi.org, which had bindings to build the tiles for a given .pbf file from within python. Unfortunately, it seems like the binding for this functionality is missing from this project and I was wondering why it was excluded. There are cases like batch processing, where you generate or download different .pbf files and calculate routes or map match. Spinning up a docker image from within python for each file is possible, but kinda unhandy.

Would it be possible to add valhalla.BuildTiles(..) to this project as well? :)

Thank you!

nilsnolde commented 1 year ago

IIRC there was a problem with OS X not recognizing one of the libs correctly. We’re definitely looking to (re-)implement tile building, but not entirely sure yet if that’ll be OSS. We’ll keep this open and update once we’re there.