Hacker News new | past | comments | ask | show | jobs | submit login

Super nice work on trailrouter. The several routes it produced for me in Berlin look quite nice, being familiar with the surroundings.

Would be cool to see how you built it, if you put it on github.

I’m curios about building a similar thing for cycling – crazily neither Komoot nor Google Maps let you filter by type of road, and I’d like to select only bicycle paths and roads where cars can‘t go. Even if it means cycling much longer, I’d simply like to avoid cars and in Berlin it’s possible 90% of the time.

I wrote a long reply to someone on the Graphhopper forum who was trying to do similar to you. This may be helpful: https://discuss.graphhopper.com/t/can-someone-make-a-video-t...

I'll probably write a blog post on how it's built though - there's quite a lot going on under the hood!

Supporting cycling is a possibility for the future. I don't think you'd want to absolutely exclude non-cycleways (as it might make many routes impossible), but you could certainly weight very heavily against them and show on the map which parts of the route were dedicated to cyclists vs which were not.

Congratulations on creating trailrouter! This is one of the most unique and useful side projects I’ve seen in quite a while. I had a lot of fun looking at the various suggestions it offered for my neighbourhood, and I could see how this could help people enjoy their neighborhood a lot more.

If you have the time, I’d also love to read a blog post (or even series) explaining how you built this. Your answer on the Graphhopper forum was very clear and makes me think that a more detailed version could be super useful for a lot of people.

Nice work!

Thanks very much for the kind words! I wasn't sure if others would find the technical details of this topic interesting (it's my first foray into GIS work), but it sounds like they would, so consider a blog post in the works.

Thanks for the link, that’s a very interesting read.

Subscribed to you on twitter to get updated if you publish a post on that!

The thing on absolutely excluding – yes, maybe some things are impossible, but in my planning, it’s really about the journey, so even if I have to go additional hundreds of kilometers, so even in terms of extra days, but via cycling ways and tiny country-side streets (without max speeds over 30km ideally or similar) and not see fast moving cars almost at all, which in Berlin/Brandenburg area, for example, seems to really be possible if you plan it manually. Judging by the success of applying your rules on the trails it surely can be done better than I have seen so far.

I think https://cycle.travel/ might help with your cycling routes

Thanks, I didn”t know about this one, the tiles they have are really nice. But still no control over avoiding larger roads or what to prefer as a fallback. I still get some larger roads selected, but it’s definitely an improvement over google maps.

I also made the mistake of trying Google Maps for bicycle routes early last year. Searching for a better alternative, I found komoot.com; perhaps you might want to try it.

For my region, I'm pretty happy with it (although it has its issues in places where you have to pass along bigger roads for short distances). It's OSM-based, though, so that might vary.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact