GPX to GeoJson converter

This commit is contained in:
franzz committed 2019-02-12 20:00:59 +01:00
1 parent b49445a85e
commit 50878503e5
9 files changed
+236739 -189

No files matched your search

+6
View File
@@ -454,6 +454,12 @@ class Spot extends Main
}
}
public function convertGpxToGeoJson() {
$this->oClassManagement->incClass('converter', true);
$oConverter = new Converter($this->oProject);
return $oConverter->convertToGeoJson();
}
public static function DecToDMS($dValue, $sType='lat') {
if($sType=='lat') $sDirection = ($dValue >= 0)?'N':'S';
else $sDirection = ($dValue >= 0)?'E':'W';