You are here

public function WktGeneratorInterface::wktGenerateGeometry in Geofield 8

Helper to generate a random WKT string.

Try to keeps values sane, no shape is more than 100km across.

Return value

string The random WKT value.

1 method overrides WktGeneratorInterface::wktGenerateGeometry()
WktGenerator::wktGenerateGeometry in src/WktGenerator.php
Helper to generate a random WKT string.

File

src/WktGeneratorInterface.php, line 18

Class

WktGeneratorInterface
Defines an interface for WktGenerator.

Namespace

Drupal\geofield

Code

public function wktGenerateGeometry();