Lines Matching refs:str
286 $str = '<' . $this->nss . "Point>\n<" . $this->nss . 'coordinates>';
288 $str .= "0,0";
290 $str .= $geometry->x() . ',' . $geometry->y() . ($geometry->hasZ() ? ',' . $geometry->z() : '');
292 return $str . '</' . $this->nss . 'coordinates></' . $this->nss . "Point>\n";
306 $str = '<' . $this->nss . $type . ">\n";
309 $str .= '<' . $this->nss . 'coordinates>';
313 $str .= ' ';
315 $str .= $comp->x() . ',' . $comp->y();
319 $str .= '</' . $this->nss . 'coordinates>';
322 $str .= '</' . $this->nss . $type . ">\n";
324 return $str;
334 $str = '';
337 $str = '<' . $this->nss . 'outerBoundaryIs>' . $this->linestringToKML($components[0], 'LinearRing') . '</' . $this->nss . 'outerBoundaryIs>';
339 $str .= '<' . $this->nss . 'innerBoundaryIs>' . $this->linestringToKML($comp) . '</' . $this->nss . 'innerBoundaryIs>';
343 return '<' . $this->nss . "Polygon>\n" . $str . '</' . $this->nss . "Polygon>\n";
353 $str = '<' . $this->nss . "MultiGeometry>\n";
356 $str .= $subAdapter->write($component);
359 return $str . '</' . $this->nss . "MultiGeometry>\n";