You are here

public function WktGeneratorInterface::wktGenerateLinestring in Geofield 8

Returns a WKT format linestring feature.

Parameters

array $start: The starting point. If not provided, will be randomly generated.

int $segments: Number of segments. If not provided, will be randomly generated.

Return value

string The WKT linestring feature.

1 method overrides WktGeneratorInterface::wktGenerateLinestring()
WktGenerator::wktGenerateLinestring in src/WktGenerator.php
Returns a WKT format linestring feature.

File

src/WktGeneratorInterface.php, line 72

Class

WktGeneratorInterface
Defines an interface for WktGenerator.

Namespace

Drupal\geofield

Code

public function wktGenerateLinestring(array $start = NULL, $segments = NULL);