× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

Feature Request

fingeradmin replied the topic: Feature Request - V1.2 release

7 years 3 months ago

Hi Sergio,

please download V1.2 from the Downloads page and try it - you might like it :)

- "speed limit" can now be set in the parameters (Track Information - Moving speed threshold) or per track (parameter timovespeed). Value is in [km/h].

- about the distances on the x axis in the elevation/speed diagrams: I have made a mix of predefined parameters and values calculated from the actual length of the track, that give good results for just about any track length i tested. See here on how this is done.

(I also wanted to have that info in there, but i didn't want to have to configure it for each single track... ;) )

Here's a preview:



have fun!

cheers, Frank

Please Log in or Create an account to join the conversation.

sergio replied the topic: Feature Request - V1.1.4 preview

7 years 3 months ago

- "speed-limit"
it would be nice to be able to configure directly into the article
you will have the option for each gpx

- about the km
Another option may be ?
configure directly into the article the interval
5 km, 10 km, 50 km ...

Last edit: 7 years 3 months ago by sergio.

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: Feature Request - V1.1.4 preview

7 years 3 months ago

Hi Sergio,

the 2km/h "speed limit" is currently hard-coded, but i can make it configurable in a new release. In the meantime you can change it in the source code (gpxtrackmap.php), line 823:

if ($speed[$i] > 2.0) {
...

Replace the 2.0 with whatever makes sense to you.

About the km: As i wrote in my reply to KSL, it's not that easy. I have some shorter hiking trails that aren't even 5km long, the other extreme is a track from my Morocco trip which is almost 600km. So a hard-coded 5km interval wouldn't really cut it. I'll try to think of something...

(What do you mean with graduation?)

cheers, Frank

Please Log in or Create an account to join the conversation.

sergio replied the topic: Feature Request - V1.1.4 preview

7 years 3 months ago

Is it possible to modify the minimum speed the average speed for moving ?

I use the plugin for VTT but also for hiking
and calculating averages > 2 km/h seems much for hiking

it would be best to choose the minimum speed in the article
have a default value in the plugin parameters but that may change in the article

would it be possible to have the kilometers on the abscissa ?
(every 5 km for example)
and the other direction to have a graduation?

Last edit: 7 years 3 months ago by sergio.

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: Feature Request - V1.1.4 preview

7 years 3 months ago

That's kinda funny - i wrote something quite similar years ago for a software to analyze recorded bike ergometer data, so that looks rather familiar ;)

Some background, and thoughts on that:

- my "ErgoView" was a fully interactive Windows app written in Delphi/Pascal (my "mother language"), the graphics where done with the Windows GDI API that i know pretty well. You could overlay the HR/speed/Watt/blood sugar diagrams from several rides, change colours, scaling etc. Sadly the guy that developped the ergometer went broke before bringing it on the market, so my app to accompany the bike never saw the "light of day", and i never saw a dime for it. But i'm still using the diagramming library i wrote back then even nowadays in my Delphi/Windows apps.

- i really don't know enough about interactive Javascript to do the same for the web (like toggle controls and such), which is why i went for SVG - generating SVG XML, writing it to a file and including it in the html code as a link is pretty straightforward (though scaling in SVG is - let's say - a bit un-intuative ;) .

- my Delphi lib has >30 parameters for each single diagram line - scaling params, h/v offsets, grid axis with subdivisions, labels on both grid axes, colors, font sizes and so on. I'm afraid it would be a bit of "overkill" to put 5 sets of 30 parameters each into the plugin "just" for those diagrams. To draw a nicely looking diagram like in your screenshot simply needs that much parameters, and hard-coding them makes little sense...

With all of that said:

i will rather not put all of that "overhead" into a plugin that was originally and primarily designed to show tracks on maps.

What i could imagine, on the other hand, is a *separate* plugin, that *only* deals with those speed/HR/cadence/whatever diagrams - that would make sense, and have a clean separation (function-wise) from a track/map plugin.

But let me finish this one first... :)

cheers, Frank

Last edit: 7 years 3 months ago by fingeradmin.

Please Log in or Create an account to join the conversation.

KSL replied the topic: Feature Request - V1.1.4 preview

7 years 3 months ago

What Strava does is to combine graphs with a toggle to display them or not. with cycling, its good to compare speed vs grade vs heart rate vs cadence. I don't think were asking you to build a second Strava, but I sure would like to ability to show data. Not sure if you've been to strava, but the attached is a typical ride screen.

As to my issue with sliced images, I'm using the Gantry template and its a responsive template that does resize images based on your browser/screen. I'm guessing you were correct with the img tag.

Attachments:

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum