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