Add PCT tracks and update converter to include GPX simplication

This commit is contained in:
franzz committed 2019-11-23 19:10:40 +01:00
1 parent c3090f5286
commit 5afb60da5d
6 files changed
+107252 -26

No files matched your search

+1 -3
View File
@@ -124,9 +124,7 @@ class Project extends PhpObject {
case 2: $asProject['mode'] = self::MODE_HISTO; break;
}
if(!Converter::isGeoJsonValid($asProject['geofile'])) {
(new Converter())->convertToGeoJson($asProject['geofile']);
}
if(!Converter::isGeoJsonValid($asProject['geofile'])) Converter::convertToGeoJson($asProject['geofile']);
$asProject['geofile'] = Spot::addTimestampToFilePath(Geo::getFilePath($asProject['geofile'], GeoJson::EXT));
$asProject['codename'] = $sCodeName;