Home
last modified time | relevance | path

Searched refs:wkt (Results 1 – 6 of 6) sorted by relevance

/plugin/geophp/vendor/funiq/geophp/src/Adapter/
H A DWKT.php45 * @param string $wkt A WKT string
49 public function read($wkt) argument
54 $wkt = trim(strtoupper($wkt));
57 if (preg_match('/^SRID=(\d+);/', $wkt, $m)) {
59 $wkt = substr($wkt, strlen($m[0]));
67 $geom = geoPHP::geosToGeometry($reader->read($wkt));
79 if ($geometry = $this->parseTypeAndGetData($wkt)) {
89 * @param string $wkt
94 parseTypeAndGetData($wkt) global() argument
[all...]
H A DEWKT.php24 $wkt = 'SRID=' . $srid . ';';
25 $wkt .= $geometry->out('wkt');
26 return $wkt;
28 return $geometry->out('wkt');
/plugin/geophp/vendor/funiq/geophp/
H A DREADME.md29 $polygon = geoPHP::load('POLYGON((1 1,5 1,5 5,1 5,1 1),(2 2,2 3,3 3,3 2,2 2))','wkt');
49 $first_wkt = $multipoint_points[0]->out('wkt');
51 print "This multipoint has ".$multipoint->numGeometries()." points. The first point has a wkt representation of ".$first_wkt;
58 geoPHP (can be wkt or wkb, but must be the same as how you extracted it from your database):
60 $geom = geoPHP::load($dbRow,'wkt');
62 You can collect multiple geometries into one (note that you must use wkt for this):
64 $geom = geoPHP::load("GEOMETRYCOLLECTION(".$dbString1.",".$dbString2.")",'wkt');
/plugin/geophp/
H A Dcomposer.lock71 "wkt"
/plugin/ol3/
H A Dscript.js8wkt=t,this.index_=-1}return t.prototype.isAlpha_=function(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"…
/plugin/mermaid/
H A Dmermaid.min.js[all...]