private function GeoJSON::arrayToMultiLineString in geoPHP 7
Same name and namespace in other branches
- 8 geoPHP/lib/adapters/GeoJSON.class.php \GeoJSON::arrayToMultiLineString()
File
- geoPHP/
lib/ adapters/ GeoJSON.class.php, line 90
Class
- GeoJSON
- GeoJSON class : a geojson reader/writer.
Code
private function arrayToMultiLineString($array) {
$lines = array();
foreach ($array as $comp_array) {
$lines[] = $this
->arrayToLineString($comp_array);
}
return new MultiLineString($lines);
}