GPX to GeoJson converter
This commit is contained in:
1 parent
b49445a85e
commit
50878503e5
9 files changed
+236739
-189
No files matched your search
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user