New plugin: vibe coded gpx lister plugin
Moderators: Hacker, petermad, Stefan2, white
Re: New plugin: vibe coded gpx lister plugin
Hi all
I also created a CLI program to convert FIT to GPX files. The idea was to use internally in the gpxlister to also support FIT files.
Here it is, the source code and compiled version
https://www.swisstransfer.com/d/36bb3a6b-361d-4663-a879-e28ed0946617
sha1 - 92f274a556b7d94605746c6b68967d77a110ce8b *Fit2Gpx.zip
Currently, I don't have time to add it; therefore, if someone wants to do it, you're welcome
P.S.: It's vibe-coded too (Gemini 2.5 Pro) and uses the Garmin SDK to read FIT files. In the zip file, you'll find sources, Visual Studio files, a compiled version, and an out.txt, which is the same kind of output that you'll get when the CLI is invoked without parameters.
I also created a CLI program to convert FIT to GPX files. The idea was to use internally in the gpxlister to also support FIT files.
Here it is, the source code and compiled version
https://www.swisstransfer.com/d/36bb3a6b-361d-4663-a879-e28ed0946617
sha1 - 92f274a556b7d94605746c6b68967d77a110ce8b *Fit2Gpx.zip
Currently, I don't have time to add it; therefore, if someone wants to do it, you're welcome
P.S.: It's vibe-coded too (Gemini 2.5 Pro) and uses the Garmin SDK to read FIT files. In the zip file, you'll find sources, Visual Studio files, a compiled version, and an out.txt, which is the same kind of output that you'll get when the CLI is invoked without parameters.
always latest 32b TC on a WIN10 64b
Re: New plugin: vibe coded gpx lister plugin
Does the zoom in work for you as expected? I would not say so.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Re: New plugin: vibe coded gpx lister plugin
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
-
Jon Canale
- Member

- Posts: 144
- Joined: 2003-02-07, 12:54 UTC
Re: New plugin: vibe coded gpx lister plugin
Very nice. Map pulls up along with the trace. Works great.
Re: New plugin: vibe coded gpx lister plugin
Yes nice, only a map cache is missing (or - for faster internet connections - larger map tiles)
- ghisler(Author)
- Site Admin

- Posts: 51592
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New plugin: vibe coded gpx lister plugin
When you select multiple tracks, the tiles cache in RAM stays active when you switch through the tracks with N/P keys.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New plugin: vibe coded gpx lister plugin
Hi all
had time to edit this and added a few more features
1- Polished and cleaned the code security
2- Added elevation support and mouse hover
3- Added support for multiple tracks GPX files in different colours
4- Added lateral navigation bar to select single tracks
Here are two files for version 1.4 (this code is created on top of 1.1.2 above shared)
- https://www.swisstransfer.com/d/fcb21589-082a-4ddd-9e62-8ada35549f2d -- ready to install binaries 32b and 64b
- https://www.swisstransfer.com/d/e9527244-8096-4979-8f86-02a4dcc1108b -- complete VS sources, ready to compile. You can inspect to see if there are no problems. It includes also the initial prompt used with Gemini Pro 3.0
@tbeu, please update your GitHub for me, thanks!
had time to edit this and added a few more features
1- Polished and cleaned the code security
2- Added elevation support and mouse hover
3- Added support for multiple tracks GPX files in different colours
4- Added lateral navigation bar to select single tracks
Here are two files for version 1.4 (this code is created on top of 1.1.2 above shared)
- https://www.swisstransfer.com/d/fcb21589-082a-4ddd-9e62-8ada35549f2d -- ready to install binaries 32b and 64b
- https://www.swisstransfer.com/d/e9527244-8096-4979-8f86-02a4dcc1108b -- complete VS sources, ready to compile. You can inspect to see if there are no problems. It includes also the initial prompt used with Gemini Pro 3.0
@tbeu, please update your GitHub for me, thanks!
always latest 32b TC on a WIN10 64b
Re: New plugin: vibe coded gpx lister plugin
new version 1.6
Additions:
- Added Satellite Mode toggle (’T' key) with customisable satelliteTileEndpoint in INI. Improved Google Maps tile support. Added mouse hover on the track window to show elevation
- Added mouse contextual menu
distribution --https://www.swisstransfer.com/d/61ae130c-e828-4945-b9ea-3121178b4d1a
sources -- https://www.swisstransfer.com/d/8e1a2498-5c65-4ab5-9d0f-093519cdf4a4
Additions:
- Added Satellite Mode toggle (’T' key) with customisable satelliteTileEndpoint in INI. Improved Google Maps tile support. Added mouse hover on the track window to show elevation
- Added mouse contextual menu
distribution --https://www.swisstransfer.com/d/61ae130c-e828-4945-b9ea-3121178b4d1a
sources -- https://www.swisstransfer.com/d/8e1a2498-5c65-4ab5-9d0f-093519cdf4a4
always latest 32b TC on a WIN10 64b
- ghisler(Author)
- Site Admin

- Posts: 51592
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New plugin: vibe coded gpx lister plugin
Thanks for your work! If you are looking for more ideas, you could read the coordinates from a JPEG image and show the location on the map. The plugin should NOT indicate to support JPEG, and only load the location when the FORCE flag is set. To get the corrdinates, you can use code from my EXIF plugin.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New plugin: vibe coded gpx lister plugin
Thanks for the nice update, also pushed to https://gitlab.com/tbeu/wlx_gpxlister
Two issues I noticed:
* If the elevation profile is displayed the trajectory is moved to wrong location to North
* pluginst.inf mentions version 1.5 where it should read 1.6
Two issues I noticed:
* If the elevation profile is displayed the trajectory is moved to wrong location to North
* pluginst.inf mentions version 1.5 where it should read 1.6
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Re: New plugin: vibe coded gpx lister plugin
Also from here many thank for this update.
It's great that the altitude can now be displayed.
However, it would be much more useful for me if the date time at each point could be shown (formatable like POSIX date). Could this feature be implemented?
I can also confirm that there is a discrepancy between the mouse cursor and the track at the altitude points. Perhaps this is because my screen scaling is set to 125%?
It's great that the altitude can now be displayed.
However, it would be much more useful for me if the date time at each point could be shown (formatable like POSIX date). Could this feature be implemented?
I can also confirm that there is a discrepancy between the mouse cursor and the track at the altitude points. Perhaps this is because my screen scaling is set to 125%?
Re: New plugin: vibe coded gpx lister plugin
bug found
will fix in the new release, into the function DrawTiles
will fix in the new release, into the function DrawTiles
Code: Select all
--- GPXLister.cpp
+++ GPXLister.cpp
@@ -375,13 +375,17 @@
float offset = (s.tracks.size() > 1) ? (float)s.sidebarWidth : 0.0f;
float mapW = (float)rc.right - offset;
const int z = s.zoom;
+ // # NEW: Calculate map height and vertical centre to match DrawTrack logic
+ // This prevents misalignment when the elevation profile is visible
+ float mapH = (float)rc.bottom - (s.showElevationProfile ? s.profileHeight : 0);
+ float centerY = mapH / 2.0f;
+
// Determine visible tile range
- double left = s.cx - mapW / 2, top = s.cy - rc.bottom / 2;
+ double left = s.cx - mapW / 2, top = s.cy - centerY;
int x0 = (int)std::floor(left / 256.0);
int y0 = (int)std::floor(top / 256.0);
int xtiles = (int)mapW / 256 + 3;
int ytiles = rc.bottom / 256 + 3;
bool drewAny = false;
for (int dy = 0; dy < ytiles; ++dy) {
always latest 32b TC on a WIN10 64b
Re: New plugin: vibe coded gpx lister plugin
Fix confirmed.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more

