Live data from Hacker News

Show HN: Bike route planner that follows almost only official bike trails

trailimap.com

131–140 of 156 posts

Re: Show HN: Bike route planner that follows almost only official bike trails

#131
post #124

Hmm, I've more often found myself wanting the opposite - a way to plan bike travel that follows reasonable roads rather than the Silly Sustrans Routes. Does your approach generalise to that?

You can change the profile to 'road cycling' and it will avoid paths with bad surfaces.

Not sure about the UK but I've cycled quite a lot around here in Europe (12 countries so far) and from my experience, if you don't follow the official bike trails you're missing a lot. They are usually nice scenic and quiet roads with good (asphalt) surfaces. I'm talking about trails like the Alpe Adria Cycle path. There are tons of them in mainland Europe.

But you're right - if the surface is bad, then it doesn't make sense to follow the trail. I will add a feature that will highlight the selected surface on the line (similar to what Komoot already does) so you can better investigate the route and make sure the surface is alright.

I'm also planning to add a feature where users could rate the track so you could filter out the bad tracks based on other people's reviews.

Re: Show HN: Bike route planner that follows almost only official bike trails

#132
post #121

Earlier quoted context omitted.

> the entire planet would likely need 384GB of RAM Unlikely. Even with turn costs enabled 256GB (or less) are sufficient. You could also try to disable CH as for bike often no long routes are required (you could disable them). Here we have written down a few more details: https://www.graphhopper.com/blog/2022/06/27/host-your-own-wo...

Hey karussell, I really appreciate all the hard work you’ve put into Graphhopper. I wouldn't be able to create this project without GH. I have a question about memory usage during the import stage (specifically in the OSM Reader's preprocessRelations function). I'm using a HashMap > to map way IDs to OSM bike route relation IDs, which means allocating lots of arrays. Could this be causing me to run out of heap memory…

Love your project!

Maybe you already considered, but there are a number of collection libraries out there that are optimized for holding Java primitives and/or for very large sets of data, which could help you save significant memory. Eclipse Collections [0] and Fastutil [1] come to mind first, but there are many out there [2]

[0] https://github.com/eclipse-collections/eclipse-collections [1] https://fastutil.di.unimi.it/ [2] https://github.com/carrotsearch/hppc/blob/master/ALTERNATIVE...

Re: Show HN: Bike route planner that follows almost only official bike trails

#133

Are you aware of "brouter"? Depending on the routing rules (upper left selector) you can choose multiple trail preferences. https://brouter.de/essbee/

Not as good as the project from the OP: I tried to connect two cities in Italy, Padova and Riva del Garda (because I know the cycle roads you could use to travel from one to the other) and this project perfectly nailed it, while cycling Brouter suggests low traffic roads but seems to not be aware of many cycle roads.

Re: Show HN: Bike route planner that follows almost only official bike trails

#134
This is very cool and very useful as a commuting cyclist. The routes that OSM and Google give me don't always have a high "reasonability" score in that they may be the most direct routes, but the road conditions are very uncomfortable for cycling for any one of many reasons.

One thing that would be very useful is to color the segments on the map based on the waytype. The proportions are given in the summary but unless I already know the route I can't tell where exactly those segments of difficult cobblestone are.

Re: Show HN: Bike route planner that follows almost only official bike trails

#135

Nice! I added a similar feature to cycle.travel (my site) a few months back. 5% of the work was writing the code to route only on waymarked routes, 95% was writing code to "heal" the accidental breaks in OSM bike route data...

Oh wow, nice! I wasn't aware cycle.travel had this. I thought I had done something new but I see I was mistaken. By the way, good job on cycle.travel - the route finding is super smooth!

Re: Show HN: Bike route planner that follows almost only official bike trails

#136
This is great!

It really reminds me of https://trailrouter.com/ which I've found amazing for finding new running routes.

It would be amazing to have similar functionality to suggest cycling routes of a certain distance that are mostly on bike trails i.e. suggest to me a 40km circular/out-and-back bike route from my house.

Re: Show HN: Bike route planner that follows almost only official bike trails

#137
post #131
post #124

Hmm, I've more often found myself wanting the opposite - a way to plan bike travel that follows reasonable roads rather than the Silly Sustrans Routes. Does your approach generalise to that?

You can change the profile to 'road cycling' and it will avoid paths with bad surfaces. Not sure about the UK but I've cycled quite a lot around here in Europe (12 countries so far) and from my experience, if you don't follow the official bike trails you're missing a lot. They are usually nice scenic and quiet roads with good (asphalt) surfaces. I'm talking about trails like the Alpe Adria Cycle path. There are tons…

Avoiding the official bike trails in Europe has advantages. For example, when you plot your own routes away from the touristic ones, local people might be more willing to chat or offer you a place to stay for the night because they have never met a foreign bicycle traveler before. Also, bikepacking is big these days, so a lot of cyclists want routes that don't have good asphalt surfaces.

Re: Show HN: Bike route planner that follows almost only official bike trails

#138
post #95

Earlier quoted context omitted.

$10 per month might be the minimum price that is acceptable in US. This looks very different depending on your salary and if you can choose not to pay tax for health care and such. Have seen cases where different prices for different areas in the world when I was younger, not sure how that looks now. I'm paying for $1 and $5 subscriptions (ko-fi) for things I like and use. But $10 is getting too high for a thing even…

You are the exception. Very few people who wouldn't pay $10 would pay $5 or $1, no matter which region. If your salary level makes $10 an important amount of money, then priorities should be food, shelter and such. And if you need five months to save up for bike parts, then you have to urgently try to fix your economic situation, before you put your own health and future at risk.

I feel sorry for you. On high horses there must be awfully thin air and that can cause nose bleed I heard.

omg... what?

Re: Show HN: Bike route planner that follows almost only official bike trails

#140
post #138

Earlier quoted context omitted.

You are the exception. Very few people who wouldn't pay $10 would pay $5 or $1, no matter which region. If your salary level makes $10 an important amount of money, then priorities should be food, shelter and such. And if you need five months to save up for bike parts, then you have to urgently try to fix your economic situation, before you put your own health and future at risk.

I feel sorry for you. On high horses there must be awfully thin air and that can cause nose bleed I heard. omg... what?

What's high about my horses? When $10 is a considerable amount of money for you, that means you are broke. If on the other hand, you don't think the product is worth $10, then that's it. I see it every day hackers talking about how they cannot afford $5 or $10 for something. If they are honest, then that means they are living in poverty. If they are not living in poverty, why not just say "I don't think it's worth my money". Why the charade?
Post reply on HN