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