Gis
final class Gis (View source)
Methods
static string
convertToWellKnownText(string $data, bool $includeSRID = false)
Converts GIS data to Well Known Text format
static array
getDataTypes(bool $upperCase = false)
Return GIS data types
static string
createData(string $gisString, int $mysqlVersion)
Generates GIS data based on the string passed.
static array
getFunctions(string|null $geomType = null, bool $binary = true, bool $display = false)
Returns the names and details of the functions that can be applied on geometry data types.
Details
static string
convertToWellKnownText(string $data, bool $includeSRID = false)
Converts GIS data to Well Known Text format
static array
getDataTypes(bool $upperCase = false)
Return GIS data types
static string
createData(string $gisString, int $mysqlVersion)
Generates GIS data based on the string passed.
static array
getFunctions(string|null $geomType = null, bool $binary = true, bool $display = false)
Returns the names and details of the functions that can be applied on geometry data types.