brouter
brouter copied to clipboard
How is type data calculated? I didn't find it in the source code
How is the type data in the figure calculated? I didn't find it in the source code
Type here means incline. I think it is calculated in geo-data-exchange _calculateGradient and called in our Heightgraph subclass (brouter-web repo).
I found this line of code in this file Heightgraph.js。But I didn't find what this function did
First link above (external library).
OK, I see, but I also want to know how to make this elevation chart on Android?
BRouter dies just the route calculation and provides the track to other applications. For the GPX file each track point has elevation information. The visualization has to be done by map tools (OsmAnd, LocusMap, Orux)
Hello, I see this line of segmented code. What is “if this point doesn't have a valid alt.” How is this data generated?
I really don't understand what you are trying to achieve. Your previous question was about android and now you are posting links to Javascript code which is perhaps used in brouter-web.
If you want further help please explain what is your goal and how you are trying to achieve it.