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\KernelCode
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]+\\)\\)\\)$/';