Skip to content
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

GSoC 2023 announcement #6558

Closed
nilsnolde opened this issue Feb 28, 2023 · 5 comments
Closed

GSoC 2023 announcement #6558

nilsnolde opened this issue Feb 28, 2023 · 5 comments

Comments

@nilsnolde
Copy link
Contributor

The project will be: officially supported OSRM Python bindings. See more here: https://wiki.openstreetmap.org/wiki/Google_Summer_of_Code/2023/Project_ideas.

To regulate applications, please read the following wiki entry carefully, if you want to be considered:
nilsnolde/valhalla-app#67

@nilsnolde
Copy link
Contributor Author

@SiarheiFedartsou you wanna pin this one? Of course feel free to edit the content of it and/or the wiki's.

@SiarheiFedartsou SiarheiFedartsou pinned this issue Feb 28, 2023
@SiarheiFedartsou
Copy link
Member

@nilsnolde sure, done 👍

@Zebreu
Copy link

Zebreu commented Oct 9, 2023

Did anything happen here by the way?

I wrote python bindings as part of https://github.com/datakind/dk-routing/tree/main/dkroutingtool (you can build the docker image and interface directly with the table, nearest, and route C++ functions from the osrmbindings python library)

I can help anyone who wants to bring that out as an easily distributable library. I used pybind11 and it was straightforward enough. I'm about to make some changes for performance reasons so I'd be more than happy to work it into something more general and fast.

@nilsnolde
Copy link
Contributor Author

Right, sorry for not giving any updates here. The project was very successful thanks to @whytro and the bindings are here: https://github.com/gis-ops/py-osrm (might still change to OSRM namespace). I've been super busy before going on a longer vacation (where I am currently), I didn't have any time yet to set up PyPI distribution workflows. Will still take a few weeks, but it'll surely still happen in 2023:)

Thanks for sharing your project. I didn't look into it too much, but seems like you're just exposing the table endpoint right? Would be cool if you could try our library once it's published (or feel free now), we'll want some people using and testing it:)

@Zebreu
Copy link

Zebreu commented Oct 11, 2023

I'm exposing nearest, table and route and it also returns json, so I'll take a look at py-osrm and see if there are performance differences. Something I wanted to do was to have multiple route geometry results in a single request and potentially share memory objects (like numpy maybe?) to avoid parsing parameters and JSON every route, but if py-osrm is considerably faster I may be able to avoid that. Thanks!

@SiarheiFedartsou SiarheiFedartsou unpinned this issue Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants