strava / iD

Forking to include Slide, a map tracing helper tool.
http://strava.github.com/iD/
ISC License
29 stars 7 forks source link

Tight turns are flattened #2

Open valleyofdawn opened 10 years ago

valleyofdawn commented 10 years ago

MTB single-track paths often make tight turns, especially when going up hills. These are smoothed out by the Slide algorithm. A possible solution would be to vary the tightness of the fit when the road is pre-defined. The algorhytm parameters could differ for a footpath, a residential road and a highway.

paulmach commented 10 years ago

Yes, this is definitely a problem I'd like to solve. It does tend to cut corners a bit in a general. I've tried messing with the parameters, but nothing has really worked. I'd like to aggregate direction from the Strava data to have that help the algorithm, but that is kind of a big project.

paulmach commented 10 years ago

Forgot to mention, you can mess with the parameters here http://labs.strava.com/slide/google.html If you find something better, or better for specific cases, let me know.