public function GPX::read in geoPHP 8
Same name and namespace in other branches
- 7 geoPHP/lib/adapters/GPX.class.php \GPX::read()
Read GPX string into geometry objects
Parameters
string $gpx A GPX string:
Return value
Overrides GeoAdapter::read
File
- geoPHP/
lib/ adapters/ GPX.class.php, line 25
Class
- GPX
- PHP Geometry/GPX encoder/decoder
Code
public function read($gpx) {
return $this
->geomFromText($gpx);
}