abstract public function GeoAdapter::write in geoPHP 8
Same name and namespace in other branches
- 7 geoPHP/lib/adapters/GeoAdapter.class.php \GeoAdapter::write()
Write out a Geomtry or GeometryCollection in the adapter's format
Return value
mixed
8 methods override GeoAdapter::write()
- GeoHash::write in geoPHP/
lib/ adapters/ GeoHash.class.php - Convert the geometry to geohash.
- GeoJSON::write in geoPHP/
lib/ adapters/ GeoJSON.class.php - Serializes an object into a geojson string
- GeoRSS::write in geoPHP/
lib/ adapters/ GeoRSS.class.php - Serialize geometries into a GeoRSS string.
- GoogleGeocode::write in geoPHP/
lib/ adapters/ GoogleGeocode.class.php - Serialize geometries into a WKT string.
- GPX::write in geoPHP/
lib/ adapters/ GPX.class.php - Serialize geometries into a GPX string.
File
- geoPHP/
lib/ adapters/ GeoAdapter.class.php, line 29
Class
- GeoAdapter
- GeoAdapter : abstract class which represents an adapter for reading and writing to and from Geomtry objects
Code
public abstract function write(Geometry $geometry);