Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samcrawford
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
samcrawford
6y ago
It's harder, perhaps, but not impossible, and would certainly still hold up in court. When tracking a user behind CGNAT you need to capture not just their source IP, but also their source port. If you have timestamp, source IP and sour
32.
▲
by
samcrawford
6y ago
There's no easy way to see it at the moment, other than looking at the waypoint list (the box at the top left). One idea I'm looking at is putting arrows on the line - so in this case you'd see arrows going both ways on the l
33.
▲
by
samcrawford
6y ago
Thanks for all your contributions to OSM! If you ignore all of the greenery preference then it gives priority to tags: foot=designated route=root, hiking highway=footway, path, track, bridleway, pedestrian, living_street, residential, servi
34.
▲
by
samcrawford
6y ago
The first one is an "out-and-back" (so it goes out 2>3>4>5, and then back 5>4>3>2).
35.
▲
by
samcrawford
6y ago
Thanks! My suggestion would to start out by checking out your area on openstreetmap.org for two things: Firstly to check to see if the trail you refer to is shown (it should show up as a yellow dashed line if it's a trail). Secondly to
36.
▲
by
samcrawford
6y ago
Thanks, I'll consider breaking those two things out separately.
37.
▲
by
samcrawford
6y ago
Fully agreed - the amount of data openly available is astounding. I think many people would be surprised at the richness of the tagging information within OpenStreetMap. Without OpenStreetMap, this project and countless others would not be
38.
▲
by
samcrawford
6y ago
Area routing is definitely a topic of interest. It looks like it's still a topic of discussion too: https://github.com/graphhopper/graphhopper/issues/82 . Maybe it's something I can help with in the
39.
▲
by
samcrawford
6y ago
I just had a proper look at GraphHopper Navigation - I can't believe I hadn't seen it before - that looks pretty much perfect for my use case! I will certainly be giving that a try. I'm using plain A* currently. I understood
40.
▲
by
samcrawford
6y ago
That's very fair, thanks. In cities I wouldn't consider this to be much of an issue as an occasional dead end (e.g. road works) is easily manually avoided. But in more rural locations it can be frustrating. If you're seeing i
41.
▲
by
samcrawford
6y ago
Steps are supported in OSM, but I don't know if your ones in particular are tagged. Either way, Trail Router doesn't consider them by default. If there is a lot of elevation gain/loss when using the stairs, you can adjust the
42.
▲
by
samcrawford
6y ago
Nice idea - consider it added to the potential todo list for the future. Thanks!
43.
▲
by
samcrawford
6y ago
I certainly will, thanks! And congratulations on all your success with Ride with GPS. I'm not really a cyclist, so I only used it for the first time last night, but it looked and worked great for me.
44.
▲
by
samcrawford
6y ago
It uses geoIP data from Maxmind to approximately locate users even before they provide location information. It's not usually _that_ accurate though. It's just intended to get a user to the rough location that they're based i
45.
▲
by
samcrawford
6y ago
Thanks! Yes, the "greenery" preference also prefers water.
46.
▲
by
samcrawford
6y ago
The mobile apps are really just full screen web views, with a few enhancements on top. I will definitely check out the GraphHopper Android project and the recent pull request. An improved native mobile app (possibly even with some offline r
47.
▲
by
samcrawford
6y ago
I didn't know that. I've been spoiled by the always wonderful GraphHopper. Thank you for your tireless work on GraphHopper! Trail Router and many other projects would not be possible without it.
48.
▲
by
samcrawford
6y ago
You're in luck, both of those things are already supported! For viewing the elevation profile, click on the little up arrow on the miles/km distance box at the bottom of the screen. You can configure a hills preference (either to
49.
▲
by
samcrawford
6y ago
Thanks very much! Personally I find it a little annoying if a site pushes state to the history very frequently. If I genuinely want to get off the site I end up clicking back loads, and then go too far! I tried to solve this in Trail Router
50.
▲
by
samcrawford
6y ago
How funny, Trail Router also happens to be hosted with Hetzner. Right now in their auction there's a E5-1650v3, with 256GB RAM and 2x 480GB SSD for 73 EUR/mo (including VAT) - which is exactly what Trail Router runs on. That'
51.
▲
by
samcrawford
6y ago
It may be that the trail near you isn't on OpenStreetMap ( https://openstreetmap.org ). If you're interested in fixing that (and thus the myriad of tools that rely on OpenStreetMap data), head to https://wiki.
52.
▲
by
samcrawford
6y ago
Thanks for the tip about Osmand, I'll check that out. If you're referring to the Garmin Connect Courses API ( https://www.garmin.com/en-GB/blog/garmin-announces-garmin-co... ), that's exactly what I&#
53.
▲
by
samcrawford
6y ago
For anyone else experiencing something similar, try the 'Avoid potentially unsafe roads' option in the settings menu. This tells the routing algorithm to always avoid 'secondary' and 'tertiary' roads without ex
54.
▲
by
samcrawford
6y ago
Sorry to hear that. If you could share your approximate location, then I'll gladly investigate.
55.
▲
by
samcrawford
6y ago
It's not finding any green 'features' in the vicinity (I know, the mountain range off to the east would beg to differ...), so it's falling back to guessing a direction in which to head. I can see that the Uinta-Wasatch-C
56.
▲
by
samcrawford
6y ago
It tries to! But if there's no good way to avoid them, then it will end up taking them anyway. More specifically, when 'avoid repetition' is enabled (it is by default), then the routing algorithm has a very significant penalt
57.
▲
by
samcrawford
6y ago
Would you mind sharing the name of your town? Feel free to email me directly if you wish, contact details are in my profile. It could be that OpenStreetMap data (which I use extensively in the algorithm) isn't very detailed for your ar
58.
▲
by
samcrawford
6y ago
Yes - click on the little up arrow in the mile/km distance box at the bottom of the screen. It will show you elevation, as well as the type of paths taken.
59.
▲
by
samcrawford
6y ago
Thanks for the feedback, appreciated. The reason it suggested that route was (1) the park, as you found, and (2) the Via Francigena hiking route ( https://www.viefrancigene.org/en/ & https://www.openstree
60.
▲
by
samcrawford
6y ago
UI/UX is most definitely not my forte, so I appreciate the kind words! Your suggestion RE landmarks tallies with an issue I've been grappling with: how does a user actually run with the route that they've just planned? Yes, y
More ›