Closed ZhukDmitry closed 4 years ago
In my data there is no empty ele tags, but I have break to low value
Probably a value results as a negative infinite value.
If you are interested in understanding better, the following function is responsible for calculating the addition of a new point:
OK. I found, it was a wrong value in file. Closed.
OK. I found, it was a wrong value in file.
Could you let me have the offending piece of code?
Already null
values are discarded, is it something else that we can fix?
No. It was wrong value in file. I don't know how it was, but all your code is fine.
<trkpt lat="38.894764222204685" lon="1.218488495796919">
<ele>-5.15</ele>
<time>2018-03-26T13:54:58Z</time>
</trkpt>
<trkpt lat="38.894764976575971" lon="1.218519257381558">
<ele>-1500</ele>
<time>2018-03-26T13:55:04Z</time>
</trkpt>
<trkpt lat="38.894730359315872" lon="1.218582037836313">
<ele>-3.23</ele>
<time>2018-03-26T13:55:20Z</time>
</trkpt>
I step by step remove values and found. I think it was device error to create records.
Thanks for your help..
OK thanks.
This is a common problem for tunnels too, it would be nice to have a setting to try to mitigate these types of problems.
For example if current elevation and previous differs more than 20-30% then take average (previous - next). But tunnel can be long ;)
Hi. Thanks again for your work. It's me again.
Here my diagram
In my data there is no empty ele tags, but I have break to low value
I can give you my GPX file
In addition to this as you can see yAxis have the wrong padding with value more than 1000
;) Dmitry