You are here

public property WktGeneratorTest::$multipolygonRegex in Geofield 8

Generic WKT multipolygon regex.

Type: string

File

tests/src/Kernel/WktGeneratorTest.php, line 61

Class

WktGeneratorTest
Tests WktGenerator.

Namespace

Drupal\Tests\geofield\Kernel

Code

public $multipolygonRegex = '/^MULTIPOLYGON \\((\\(\\(([-]?[0-9]*\\.?[0-9]+ [-]?[0-9]*\\.?[0-9]+\\, )*[-]?[0-9]*\\.?[0-9]+ [-]?[0-9]*\\.?[0-9]+\\)\\), )*\\(\\(([-]?[0-9]*\\.?[0-9]+ [-]?[0-9]*\\.?[0-9]+\\, )*[-]?[0-9]*\\.?[0-9]+ [-]?[0-9]*\\.?[0-9]+\\)\\)\\)$/';