Esempio n. 1
0
 /**
  *  Generate WKT
  */
 public function toWKT()
 {
     if (isset($this->feature)) {
         if ($this->feature instanceof Container) {
             return sprintf("GEOMETRYCOLLECTION(%s)", $this->feature->toWKT());
         } else {
             return $this->feature->toWKT();
         }
     }
     return '';
 }