|
dolibarr 21.0.4
|
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 33 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 45 of file dolgeophp.class.php.
| DolGeoPHP::getPointString | ( | $value | ) |
Return a string with x and y.
| mixed | $value | Value |
Definition at line 96 of file dolgeophp.class.php.
| DolGeoPHP::getWkt | ( | $geojson | ) |
Return wkt.
| string | $geojson | A json string |
Definition at line 114 of file dolgeophp.class.php.
| DolGeoPHP::getXYString | ( | $value | ) |
Return a string with x and y.
| mixed | $value | Value |
Definition at line 78 of file dolgeophp.class.php.
| DolGeoPHP::parseGeoString | ( | $value | ) |
Return data from a value.
| string | $value | Value |
Definition at line 56 of file dolgeophp.class.php.