Hi all,
Someone sent me this question and a sample track file. I've played with it and don't have an answer for him, so I am passing it on to you. Easily repeatable.
1.
Import track file. It imports without error.
2. Look at track file. It has timestamps as a normal track file does.
3. Exit
OpenCPN and restart
4. Trackfile points are there, but timestamps are not. (see screenshots)
He has a track file exported out of
Navionics. It looks similar to others I've seen except it has some extra
Navionics garbage. But even removing that garbage, still have the same problem. Attached is a zip file renamed to PDF. It has 4 track files. The original, one that I just deleted most of the trackpoints out of, keeping a few of the first ones, another one where I removed the garbage ("fixed"), and another one where I replaced the top 2 lines with the same lines as in
OpenCPN track files.
Here is a very short snip of the gpx file as is, with only 2 track points. (full file attached as a zip file)
Code:
<?xml version="1.0" encoding="UTF-8" ?><gpx xmlns="http://www.topografix.com/GPX/1/1" version="1.1" creator="Navionics Boating App"><metadata><link href="http://www.navionics.com" /></metadata>
<trk><name>2024-07-04 Ocracoke Shortened</name>
<trkseg>
<trkpt lat="35.024322" lon="-76.695613">
<ele>4</ele>
<time>2024-07-04T15:58:41.083Z</time>
<extensions>
<navionics_speed>0.000</navionics_speed>
<navionics_haccuracy>4</navionics_haccuracy>
<navionics_vaccuracy>3</navionics_vaccuracy>
</extensions>
</trkpt>
<trkpt lat="35.024322" lon="-76.695622">
<ele>4</ele>
<time>2024-07-04T15:58:42.083Z</time>
<extensions><navionics_speed>0.000</navionics_speed>
<navionics_haccuracy>4</navionics_haccuracy>
<navionics_vaccuracy>3</navionics_vaccuracy>
</extensions>
</trkpt>
</trkseg>
</trk>
</gpx>
Is this a bug? I
import Garmin track files quite often and have not run into this. Can't remember if I've ever imported a Navionics track file.
Seems weird that it looks OK after import but then after saving and re-opening, it doesn't.
Is there a workaround? Even when importing a track file that I've cleaned the Navionics extensions out of, it does the same thing.
BTW, playing with this on Windows 11 Pro, 5.9.4 beta--dont have 5.8.4 conveniently available at the moment.
Thanks,
Sherry