DolGeoPHP
class DolGeoPHP (View source)
Class to manage Geo processing Usage: $dolgeophp=new DolGeoPHP($db);
Properties
| DoliDB | $db |
Methods
__construct($db)
Create an object to build an HTML area to edit a large string content
array{}|Geometry, centroidjson: string}
parseGeoString(string $value)
Return data from a value
string
getXYString(mixed $value)
Return a string with x and y
string
getPointString(mixed $value)
Return a string with x and y
mixed
getWkt(string $geojson)
Return wkt
Details
__construct($db)
Create an object to build an HTML area to edit a large string content
@param DoliDB $db Database handler
array{}|Geometry, centroidjson: string}
parseGeoString(string $value)
Return data from a value
string
getXYString(mixed $value)
Return a string with x and y
string
getPointString(mixed $value)
Return a string with x and y
mixed
getWkt(string $geojson)
Return wkt