public function WktGenerator::wktBuildPoint in Geofield 8
Returns a WKT format point feature given a point.
Parameters
array $point: The point coordinates.
Return value
string The WKT point feature.
Overrides WktGeneratorInterface::wktBuildPoint
1 call to WktGenerator::wktBuildPoint()
- WktGenerator::wktGeneratePoint in src/
WktGenerator.php - Returns a WKT format point feature.
File
- src/
WktGenerator.php, line 122
Class
- WktGenerator
- Helper class that generates WKT format geometries.
Namespace
Drupal\geofieldCode
public function wktBuildPoint(array $point) {
return $this
->buildWkt(GEOFIELD_TYPE_POINT, $this
->buildPoint($point));
}