mastervanleeuwen / J-TrackGallery

GPS Track Gallery component for Joomla
https://mastervanleeuwen.github.io/J-TrackGallery/
6 stars 0 forks source link

Improvement suggestion : Position of track icon / Elevation column #56

Open Antoine-VTT opened 1 year ago

Antoine-VTT commented 1 year ago

Hello,

Many thanks for this component, that's exactly what I needed for the site of my mountain bike club !

I have 2 (minor) issues / suggestions :

Thank you

Regards

Antoine

mastervanleeuwen commented 1 year ago

Hi Antoine,

Thanks for the good suggestions. I like both suggestions, but moving the track icon requires a bit of work. I will put it on the to-do list.

Concerning the calculation of the ascent/descent, there is a 'filter' value in the calculation, which ignores small changes in elevation. The default value is currently 10 m, which may be too much. Could you try reducing it and see whether it improves the situation? You can find the setting in the global configuration:

image

further down on the page.

Calculating the total ascent and descent is a bit tricky, because the accuracy of the measurement for individual points is not so great (when using GPS only; some devices use pressure in addition, which should be more accurate. I will try out some better algorithms and see whether I can improve the calculation in general.also think about a better algorithm to calculate the total ascent and descent.

Best regards, Marco,.

mastervanleeuwen commented 1 year ago

Hi Antoine,

Thanks again for the suggestions. I have added the possibility to draw the track icon at the middle or the end of the track. To use it, please install the latest pre-release from here:

https://github.com/mastervanleeuwen/J-TrackGallery/releases/tag/0.9.34-rc35 (NB: this was initially posted with a link to rc34 which is however incomplete, please use rc35)

You can find the corresponding setting in the 'Global configuration':

image

The icon position is stored in the database, so you have to 'recalculate 'Calculated values'' for each track to apply the setting, using the button in the back end track view:

image

In a future version, I plan to add the possibility to edit/change the 'Calculated values', including the icon position and the ascent/descent.

I hope this works for you; don't hesitate to let me know if you have further suggestions.

mastervanleeuwen commented 1 year ago

Hi Antoine,

I have implemented the possibility to edit/set the track length and the ascent and descent information in the frontend edit view in the latest pre-release: https://github.com/mastervanleeuwen/J-TrackGallery/releases/tag/0.9.34-rc37

This functionality is slightly 'hidden': there is a panel in the front-end edit view 'Calculated values', which you can open by clicking on the arrow on the right:

image

In your original post, you had mentioned that the altitude information that is calculated by J-Trackgallery does not agree with the values calculated by Garmin. I would like to investigate this a bit further. Could you send me an example track with the values calculated by Garmin, so that I can look into it?

Best regards, Marco.