Add PCT tracks and update converter to include GPX simplication
This commit is contained in:
1 parent
c3090f5286
commit
5afb60da5d
6 files changed
+107252
-26
No files matched your search
+1
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user