Author Topic: Handling of very steep profiles  (Read 3518 times)

LDWhite68

  • Full Member
  • ***
  • Posts: 41
    • View Profile
Handling of very steep profiles
« on: November 13, 2010, 11:15:31 PM »
It seems there is a small bug (or possibly intentional limit) in the profile gradient calculation. If I digitize a gpx track segment that is very steep, the Profile info gets messed up. For example, I did a test segment with just two points that shows a climb of 221 ft in a distance of 204 ft. Yet the digital readout says a Grade of 0%. In reality it should be over 100% (i.e. more than a 45 degree angle). If I switch the y axis to Grade, then the y axis is scaled from 0% to 14000%, and the x axis shows 0.0 on both ends. In a similar test with a rise of 240 ft over a distance of 294 ft, the correct grade is calculated of 81.7%. But setting the y axis to Grade still produces the obscene graph scaling.

ScottMorris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 2756
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Re: Handling of very steep profiles
« Reply #1 on: November 18, 2010, 06:44:07 PM »
I believe there is some (not well documented) code that limits the grade -- it was put in to keep things reasonable due to general lack of accuracy in GPS elevation calculations.  But, it can be done better, or be set as an option.  I'll see what I can do.
Scott Morris - founder and co-author of TopoFusion
email: smorris@topofusion.com

margaretfit

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Handling of very steep profiles
« Reply #2 on: January 25, 2011, 03:47:03 AM »
If I switch the y axis to Grade, then the y axis is scaled from 0% to 14000%, and the x axis shows 0.0 on both ends. In a similar test with a rise of 240 ft over a distance of 294 ft, the correct grade is calculated of 81.7%. But setting the y axis to Grade still produces the obscene graph scaling.

This is something happening with me as well. :P


Proffessor Margaret Fitzgerald
« Last Edit: February 06, 2011, 12:45:53 AM by margaretfit »