public function toWKT2d() { if (isset($this->geometry)) { return $this->geometry->toWKT2d(); } else { return ''; } }