7 ms·
I have two: 1) Trail Router (https://trailrouter.com https://trailrouter.com) - This is a running route planner that favours greenery and nature in the routes
by samcrawford 6y ago
I have two:
1) Trail Router (https://trailrouter.com https://trailrouter.com) - This is a running route planner that favours greenery and nature in the routes it generates. It can generate point-to-point or round-trip routes that meet a specified distance. I developed this because I am (or was...) a frequent traveller for work, and want to run in nice areas rather than by horrible busy roads when I'm visiting somewhere new. Naturally, the utility of this tool is limited at the moment for people stuck in lockdown!
2) Fresh Brews (https://twitter.com/FreshBrews_UK https://twitter.com/FreshBrews_UK) - I've been touring the UK's finest craft beer breweries from my own home in recent weeks. New beer releases sell out very quickly and I was frequently missing out. Fresh Brews is a simple bot that monitors the online shops of my favourite breweries and posts when a new beer is released to the shop, or an item comes back into stock.
- padmick 6y agoHave you got a github on how your tracking the craft beers? I would like to do something similar for Irish breweries.
- samcrawford 6y agoI'll publish the source on Github later today and will reply here. It's a very simple Java app, which scrapes and extracts page content using Jsoup.
- ep103 6y agoI'm leaving a comment here as a reminder too! I've been playing with open street map data to learn routing algorithms, I would love to compare notes : D
- poorman 6y agoUntappd has this feature with the largest beer + venue database in the world.
- kamerontanseli 6y agoTrail Router works great! I love that you can just drag the dot and it auto-generates a new route.
- generationP 6y agoThank you so for much for #1!
- mac1ek 6y agoTrail Router - nice project. Please remember about adding OpenStreetMap credit to your map (More info here: https://www.openstreetmap.org/copyright https://www.openstreetmap.org/copyright)
- samcrawford 6y agoOops, that was broken in a recent base map layer update. Fixed now. Sorry!
- aembleton 6y agoI really like Trail Router. Can you add functionality on it to export as a GPX file?
- samcrawford 6y agoThanks! It's already supported. On the left-hand menu, click on the share/forward icon, and there's an export to GPX and KML option there.
- krstffr 6y agoTrail Router seems very good, expected it to not work in the small-ish Swedish town I live in (Malmö) but it actually did a great job!
- gryzzly 6y agoSuper 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.
- krallja 6y agoI think https://cycle.travel/ https://cycle.travel/ might help with your cycling routes
- gryzzly 6y agoThanks, 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.
- btschaegg 6y agoI 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.
- samcrawford 6y agoI 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-tutorial-of-how-to-create-customize-a-routing-profile-or-walk-through-the-process-in-much-greater-written-detail/5189 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.
- tony0x02 6y agoSounds like at least #1 is a hit.
- Gasp0de 6y agoTrail Router is amazing! I just had it suggest a 5k route to me and it suggested my favourite 5k route immediately. Currently, it doesn't seem to care about elevation, that might be something to look at if you are running out of feature ideas. Is is open source? I'd actually also be willing to donate a little for the development of such a cool tool.
- samcrawford 6y agoThanks! There is an option in the settings menu to "Avoid hills", and in the not-too-distant future that will become a slider that allows you to prefer hills or avoid them. It's not open source yet, but I might open it up in the future. There's a donate link hidden away in the About page. Any donation would be much appreciated, and would help with the server costs (it needs a huge amount of RAM to store the whole planet's data).
- cannam 6y agoLovely app, I like that a lot. I for one would positively crave an option to seek out hills. I've always found London far too flat for my taste.
- tonyarkles 6y agoI just had the exact same experience! It nailed the “close to home” routes I do perfectly. Will definitely use this when I want to change it up and run somewhere else in the city.
- eber 6y agoTrail Router is great for my use-case during lockdown. I've been trying to walk different ~3mi round-trip routes during quarantine so as to not get bored and this is very helpful to give me more ideas. Thanks!
- brianbreslin 6y agoOn trailrouter how do you determine safety levels of roads? I had on one of my generated routes a 45mph road and then a few other times it had me cross I-95 (an 8 lane highway here). Overall very neat though. I'd been using mile meter to draw out manually my routes.
- samcrawford 6y agoDetailed answer here: https://trailrouter.com/about/#the-route-being-suggested-includes-a-road-that-is-unsafe-for-runners-why https://trailrouter.com/about/#the-route-being-suggested-inc... There is a setting in Trail Router to "Avoid Potentially Unsafe Roads" which makes it much more conservative about road choices. It uses OSM data for routing information, but this is quite poor for pedestrian safety (particularly in the US it seems, where some 'secondary' roads are very safe, and others are death traps). There are specific tags for foot access and sidewalks, but they are rarely used outside of cities. Crossing the I-95 should only be done if there's a bridge going over it, it should never take you across the lanes of traffic (!). If it does, please do email me a link to the route if you don't mind.
- samstave 6y agoAllow users to rate the safety/quality/busy-ness of each segment?
- saalweachter 6y agoNumber of users who finish a route divided by number of users who start.
- cheerlessbog 6y agoNumber of users that finish crossing the road divided by the number of users that start crossing.
- saalweachter 6y ago
- gms7777 6y agoTrail router looks great. I put my location in and the first three routes were already regular routes of mine , and the next one was one I'll probably have to incorporate. Bookmarking it for when I travel next.
- boredgamer2 6y ago> 1) Trail Router (https://trailrouter.com https://trailrouter.com) This is great work! I've been doing this manually, so I appreciate you building this. Bookmarked!
- zigzaggy 6y agoTrail Router looks fantastic! In light of the shutdowns, I've restarted my running / training and I'm planning for a 10 miler in October. This will be a fun way to plan runs and keep me interested. That's always been my big issue - I get bored easily if I see the same thing over and over.
- SketchySeaBeast 6y agoTrail router is awesome. My "side project" for quarantine was picking up running, so this is a great help.
- ljsocal 6y agoTR worked pretty well. Since coming home from e. Europe two months ago, I’ve been exploring the nearby trails on an almost daily basis. Your website suggested the exact 6 mi hiking route that I enjoyed yesterday! When i cycled through the options for other 6 mile options it became less imaginative and more urban street centric. Still, a good interface and helpful as a reference tool. Thanks!
- BattyMilk 6y agoMore love for TrailRouter here. Especially love that you can export a GPX for a watch. I get stuck running the same unimaginative routes so even the ability to be able to have it plan a round trip from my house is amazing. Even more so that it finds out green space. Thanks for this!
- benstrumental 6y agoI tried out Trail Router and found a trail hidden in the woods within 3 miles of my house that I never knew about in the several years I have lived here. Can't wait to check it out. Nice tool!
- runwerks 6y agoTrailRouter is amazing. It looks fully featured, but curious if you have a roadmap of feature additions?
- samcrawford 6y agoThanks! In rough order of priority: * Add sliders for setting greenery and hills preferences (so you can _prefer_ hills, rather than just avoid them) * Add support for preferring particular surfaces (e.g. tarmac vs trail) * Add support for creating distance-specific round-trip routes that pass through one or more waypoints (at the moment you can only specify a start/stop location for round-trip) * Sometimes round-trip routing suggests some very complex routes which would be hard to follow when running. Some work could go into simplifying such cases. * Improve the UI/UX, it's still quite fiddly, especially on mobile More distant: * Cycling support * Native mobile apps (there are already mobile apps for Trail Router, but they're basically WebViews) * Offline routing support in the mobile app?! * Direct sync'ing of routes to watches/Strava would be nice, but there's no open APIs for this yet. If you have any other suggestions feel free to chip in!
- TurkishPoptart 6y agoHow does the Twitter bot work?
- mediascreen 6y agoTrail Router is great! Tested it out for a few cities I know like Stockholm, Gothenburg, Las Palmas and Hanoi and it's really good. The only thing I noticed is that it seems to prefer going next to water over anything else and have a slight tendency to take detours to run next to very small city parks. Running past a small city park for 50 meters might not be worth the detour.
- freefriedrice 6y agoI would easily pay US$30 for that.
- stephen_greet 6y agoTrail Router is incredibly well done. I've had the exact problem that you're describing. I'm currently training for my first 100 miler and I'm getting bored of my regular routes (which hurts motivation) so I'm really excited to try it out. Really great work!
- jbj 6y agoTrailrouter is well done! It almost finds my local 5k, but picks a traffic light that requires crossing 3 times instead of one. when I run, I sometimes pick an entirely different route midway, just to avoid waiting at a light regulated intersection. being able to filter those out would be a real winner for me, I dont know if traffic lights are indexed anywhere though.
- krat0sprakhar 6y agoExcellent work with Trail Router - looks super nifty! Wanted to +1 others request for learning more about how its built! Kudos and stay safe :+1:
- greatwhitenorth 6y agoTrail router is very nice. I see that you're using Mapbox. May i know how much it costs you? Even a ballpark figure would be great.
- samcrawford 6y agoSo far I'm still within the free tier, so nothing at all.
- codethief 6y agoRe Trail Router: Really nice work! Two thoughts: 1. Would it be possible to add an undo button for when changing a route goes wrong? 2. I think this would also work really well for planning routes and/or measuring their precise length. In fact, I have been looking for such a tool for ages! One like yours which also allows taking small tracks and paths and not just roads! Unfortunately, currently it's still somewhat difficult to select the precise route as changing it in some place might suddenly change it almost entirely. (Again, an undo button would be nice.) I assume this happens because Trail Router still tries to minimize a certain loss function? Would it be possible to disable that entirely, so that one could "free-draw" routes? [UPDATE]: Just noticed that one can actually disable all routing preferences. This seems to be doing the trick – very nice!
- samcrawford 6y agoAn undo button will be added soon, you're not the first to ask.
- samcrawford 6y agoUndo button is now live!
- rosstex 6y agoTrail Router look awesome! Good luck with it.
- idkwhoiam 6y agoTrail Router ftw!
- lewapkon 6y agoJust wanted to drop by saying that trailrouter looks great. One small suggestion. I'd add an option to avoid cemeteries as (at least in some cultures) running through one could be considered ill-mannered. Here's a link to an example route that I got that includes one: https://trailrouter.com/#wps=52.32928,20.94020%7C52.32805,20.95771%7C52.32907,20.95863%7C52.32523,20.96569%7C52.32294,20.96680%7C52.32688,20.95852%7C52.32928,20.94020&ss=&rt=true&td=5000&aus=false&aus2=false&ah=false&ar=true&pga=true&im=false https://trailrouter.com/#wps=52.32928,20.94020%7C52.32805,20... Here's a link to that cemetery on OSM: https://www.openstreetmap.org/way/60865696 https://www.openstreetmap.org/way/60865696
- d3ad1ysp0rk 6y agohttps://trailrouter.com/#wps=45.08019,-70.30203%7C45.05981,-70.25440%7C45.03238,-70.28804%7C45.05276,-70.33348%7C45.08019,-70.30203&ss=&rt=true&td=24000&aus=false&aus2=false&ah=false&ar=true&pga=true&im=true https://trailrouter.com/#wps=45.08019,-70.30203%7C45.05981,-... 19 miles and over 3000 feet of elevation climb. Nice! :)
- i_don_t_know 6y agoTrail Router is wonderful. I’m getting back into running after having moved and it’s great for discovering new routes in the area. Thank you!
- zeckalpha 6y agoTrail router figured out my usual neighborhood walk at 3 miles and my prepandemic commute at 15! Glad I am already close to optimal, and neat algo.
- trevin_flick 6y agoHi! I love the Trail Router. How did you get the data to create a Strava heatmap? I see the API can download routes by ID, but I'm curious how to do it based on geographic area. Thanks :)