Author: Michiel Vancoillie (michiel@okfn.be)
Author: Jan Vansteenlandt (jan@okfn.be)
Author: Pieter Colpaert (pieter@irail.be)
Inheritance: implements Tdt\Core\Formatters\IFormatter
Example #1
0
 public static function getBody($dataObj)
 {
     $kml = KMLFormatter::getBody($dataObj);
     return Gisconverter::kmlToWkt($kml);
 }
Example #2
0
 public static function getBody($dataObj)
 {
     // Get the KML and transform it to GeoJSON
     $kml = KMLFormatter::getBody($dataObj);
     return Gisconverter::kmlToWkt($kml);
 }