This object is in archive! 
Altitute filter spezification
Answered
Hi,
please could you tell us the specifications of the altitute filter? http://docs.locusmap.eu/doku.php?id=manual:user_guide:tools:altitude#altitude_filter
- Filter logic and threadholds for each selectable option
- Does it care about the altitute source? GPS, GPS accuracy data, pressure, srtm?
- Does it got appled to statistic numbers only or does it soften the recording data as well?
- Could it be applied on a recorded track after the record is done? Because it will take a while to find the best setting if you have to collect hours of data every time.
Would be nice to put the answers direct into the documentation because there is no usual default way to handle this, everybody has his own implementation. The results does even differ across garmin outdoor devices of the same outdoor product range.
Kind Regards
Falco
Ah these filters. This option is applied as a final step in "Altitude optimization". It simply uses easy filter defined as
So it really only little bit optimize altitude values, nothing more.Ah these filters. This option is applied as a final step in "Altitude optimization". It simply uses easy filter defined as
So it really only little bit optimize altitude values, nothing more.Good day Falco,
it is a really complex question and best how to answer, should be to publish few hundreds (maybe thousands) of source code lines so everybody will analyze them by yourself.
Most simple and clear: all parameters set in Altitude manager (offset, filter, etc) are applied immediately when Locus Map receive GPS location. Do this later is not possible. So all services in app already use a location object, that has modified elevation value. For example, recorded track data are have modified elevation values.
About logic, thresholds and other parameters: anything special you are interested in?
Menion
Good day Falco,
it is a really complex question and best how to answer, should be to publish few hundreds (maybe thousands) of source code lines so everybody will analyze them by yourself.
Most simple and clear: all parameters set in Altitude manager (offset, filter, etc) are applied immediately when Locus Map receive GPS location. Do this later is not possible. So all services in app already use a location object, that has modified elevation value. For example, recorded track data are have modified elevation values.
About logic, thresholds and other parameters: anything special you are interested in?
Menion
Thank you, I did expect this early applyment.
2 of 4 parts are clear now. 2 are missing:
Thank you, I did expect this early applyment.
2 of 4 parts are clear now. 2 are missing:
Good day Falco,
- the filter does now use accuracy values to optimize filter strength. All received altitude values have the same weight.
- a pressure sensor system in the app computes an average value from last 10 measurements (max. age 15 seconds). This value is then used for computing of current device altitude value. App use elevation data from HGT files and every hour makes a correction based on these offline elevation files (if available).
Precision? Well, to be true, if you are looking for most accurate elevation values, do not use Locus Map for this purpose. I believe in Google Play have to be apps that use a lot more precise algorithms to compute altitude values thanks to the pressure sensor.
Jiří M. aka Menion
Good day Falco,
- the filter does now use accuracy values to optimize filter strength. All received altitude values have the same weight.
- a pressure sensor system in the app computes an average value from last 10 measurements (max. age 15 seconds). This value is then used for computing of current device altitude value. App use elevation data from HGT files and every hour makes a correction based on these offline elevation files (if available).
Precision? Well, to be true, if you are looking for most accurate elevation values, do not use Locus Map for this purpose. I believe in Google Play have to be apps that use a lot more precise algorithms to compute altitude values thanks to the pressure sensor.
Jiří M. aka Menion
No way, that is great! That does solve so many things.
Now I can play arround with realtime recording filter without loosing reference data. I could even apply local weather pressuremaps in post. I did nearly start to develop my own sensor recording app.
Does it store sensor data even if GPS fix is missing?
Why did you mention 3-4 times per second? Did the filter analyse 3-4 points per second (which means only last 3 seconds) or does it analyse only points which got eligible for gpx track storage based on record distance/time setting (last 10s to 15s based on how many GPS points got into the record)?
No way, that is great! That does solve so many things.
Now I can play arround with realtime recording filter without loosing reference data. I could even apply local weather pressuremaps in post. I did nearly start to develop my own sensor recording app.
Does it store sensor data even if GPS fix is missing?
Why did you mention 3-4 times per second? Did the filter analyse 3-4 points per second (which means only last 3 seconds) or does it analyse only points which got eligible for gpx track storage based on record distance/time setting (last 10s to 15s based on how many GPS points got into the record)?
Hello Falco,
I used it quite a long time ago for own test of filters, so hopefully it will still work.
It records raw received data immediately, app gets it. So data in text files are unfiltered, unaffected by any Locus filter etc. And yes, pressure values should be recorded even if GPS is not active. If you will have a while, test it and let me know. In case of any problem, rather write me here and I'll look on it, just don't waste time on it :).
And "3-4 times per second" is usual frequency, how often Locus Map receive pressure data on devices. You will probably see this in the text file. So I just wanted to mention that changes in altitude even with this averaging, should be quite fast.
Jiří M. aka Menion
Hello Falco,
I used it quite a long time ago for own test of filters, so hopefully it will still work.
It records raw received data immediately, app gets it. So data in text files are unfiltered, unaffected by any Locus filter etc. And yes, pressure values should be recorded even if GPS is not active. If you will have a while, test it and let me know. In case of any problem, rather write me here and I'll look on it, just don't waste time on it :).
And "3-4 times per second" is usual frequency, how often Locus Map receive pressure data on devices. You will probably see this in the text file. So I just wanted to mention that changes in altitude even with this averaging, should be quite fast.
Jiří M. aka Menion
Hi Menion,
I just read one of your response here:
"App use elevation data from HGT files and every hour makes a correction based on these offline elevation files (if available).
Precision? Well, to be true, if you are looking for most accurate elevation values, do not use Locus Map for this purpose"
Is the automatic correction already applied in the offline map when the elevation data has been downloaded? The automatic correction is based on Geoid model which is safe to say more accurate compared to the ellipsoid model.
Hi Menion,
I just read one of your response here:
"App use elevation data from HGT files and every hour makes a correction based on these offline elevation files (if available).
Precision? Well, to be true, if you are looking for most accurate elevation values, do not use Locus Map for this purpose"
Is the automatic correction already applied in the offline map when the elevation data has been downloaded? The automatic correction is based on Geoid model which is safe to say more accurate compared to the ellipsoid model.
Hello Locus-team,
this an interesting thread, cause even if I'm an interested user of the altitude-possibilties Locus offers (recording a track, importing GPX-track files, ...) I'm not fully aware with each detail how Locus works regarding these points. And this knowledge would be important - not only for myself but also to help other Locus users with their questions regarding themes like "elevation gain", elevation sources, Altitude filtering...
So I want to ask you some questions:
Or is this this kind of filter just aplied on GPS-based elevation sources?
So if I understand correct, the single elevation trackpoints of an exported GPX-file already are filtered regarding the setting within field "Altitude filter". So in theory if I analyze this GPX-track with a external software just summing up each elevation value, I should get the same result like Locus calculated for Track statistic "Elevation gain". But this isn't true. It seems to be that Locus uses a second filter on these already filtered GPS-values to calculate its track-statistics, cause they are lower than determined with the external software.
In my observation Locus DON'T just sum up each value but uses an internal non-adjustable filter to just use elevation values which are different by about 2m to the former local minimum/maximum of a track.
Hello Locus-team,
this an interesting thread, cause even if I'm an interested user of the altitude-possibilties Locus offers (recording a track, importing GPX-track files, ...) I'm not fully aware with each detail how Locus works regarding these points. And this knowledge would be important - not only for myself but also to help other Locus users with their questions regarding themes like "elevation gain", elevation sources, Altitude filtering...
So I want to ask you some questions:
Or is this this kind of filter just aplied on GPS-based elevation sources?
So if I understand correct, the single elevation trackpoints of an exported GPX-file already are filtered regarding the setting within field "Altitude filter". So in theory if I analyze this GPX-track with a external software just summing up each elevation value, I should get the same result like Locus calculated for Track statistic "Elevation gain". But this isn't true. It seems to be that Locus uses a second filter on these already filtered GPS-values to calculate its track-statistics, cause they are lower than determined with the external software.
In my observation Locus DON'T just sum up each value but uses an internal non-adjustable filter to just use elevation values which are different by about 2m to the former local minimum/maximum of a track.
Replies have been locked on this page!