Added "with Barometer" to TCX and GPX creator tag

to force Strava upload of altitude data.
The user can revert to Strava basemap on Strava.
Upload to Garmin Connect was tested for regresion.
Fixes #3824
This commit is contained in:
Ale Martinez
2021-02-17 10:38:01 -03:00
parent cbe75fae47
commit 2d64166acd
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ GpxFileReader::toByteArray(Context *, const RideFile *ride, bool withAlt, bool w
"http://www.garmin.com/xmlschemas/PowerExtensionv1.xsd" );
gpx.setAttribute("version", "1.1");
gpx.setAttribute("creator", QString("GoldenCheetah (build %1)").arg(VERSION_LATEST));
gpx.setAttribute("creator", QString("GoldenCheetah (build %1) with Barometer").arg(VERSION_LATEST));
doc.appendChild(gpx);

View File

@@ -113,7 +113,7 @@ TcxFileReader::toByteArray(Context *context, const RideFile *ride, bool withAlt,
if (ride->deviceType().toLower().contains("zwift") ) {
text = doc.createTextNode("Zwift");
} else {
text = doc.createTextNode("Garmin TCX");
text = doc.createTextNode("Garmin TCX with Barometer");
}
creatorName.appendChild(text);
creator.appendChild(creatorName);