dolibarr 21.0.0-alpha
|
Class to manage Geo processing Usage: $dolgeophp=new DolGeoPHP($db);. More...
Public Member Functions | |
__construct ($db) | |
Create an object to build an HTML area to edit a large string content. | |
parseGeoString ($value) | |
Return data from a value. | |
getXYString ($value) | |
Return a string with x and y. | |
getPointString ($value) | |
Return a string with x and y. | |
getWkt ($geojson) | |
Return wkt. | |
Class to manage Geo processing Usage: $dolgeophp=new DolGeoPHP($db);.
Definition at line 32 of file dolgeophp.class.php.
DolGeoPHP::__construct | ( | $db | ) |
Create an object to build an HTML area to edit a large string content.
Definition at line 44 of file dolgeophp.class.php.
DolGeoPHP::getPointString | ( | $value | ) |
Return a string with x and y.
mixed | $value | Value |
Definition at line 92 of file dolgeophp.class.php.
DolGeoPHP::getWkt | ( | $geojson | ) |
Return wkt.
string | $geojson | A json string |
Definition at line 109 of file dolgeophp.class.php.
DolGeoPHP::getXYString | ( | $value | ) |
Return a string with x and y.
mixed | $value | Value |
Definition at line 75 of file dolgeophp.class.php.
DolGeoPHP::parseGeoString | ( | $value | ) |
Return data from a value.
string | $value | Value |
Definition at line 55 of file dolgeophp.class.php.