private function GeoRSS::pointToGeoRSS in geoPHP 7
Same name and namespace in other branches
- 8 geoPHP/lib/adapters/GeoRSS.class.php \GeoRSS::pointToGeoRSS()
1 call to GeoRSS::pointToGeoRSS()
- GeoRSS::geometryToGeoRSS in geoPHP/
lib/ adapters/ GeoRSS.class.php
File
- geoPHP/
lib/ adapters/ GeoRSS.class.php, line 202
Class
- GeoRSS
- PHP Geometry/GeoRSS encoder/decoder
Code
private function pointToGeoRSS($geom) {
$out = '<' . $this->nss . 'point>';
if (!$geom
->isEmpty()) {
$out .= $geom
->getY() . ' ' . $geom
->getX();
}
$out .= '</' . $this->nss . 'point>';
return $out;
}