Searched refs:wkb (Results 1 – 4 of 4) sorted by relevance
/plugin/geophp/vendor/funiq/geophp/src/Adapter/ |
H A D | WKB.php | 76 * @param string $wkb Well-known-binary string 83 public function read($wkb, $isHexString = false) argument 86 $wkb = pack('H*', $wkb); 89 if (empty($wkb)) { 90 throw new \Exception('Cannot read empty WKB geometry. Found ' . gettype($wkb)); 93 $this->reader = new BinaryReader($wkb); 278 $wkb = $this->writeGeometry($geometry); 280 return $writeAsHex ? current(unpack('H*', $wkb)) : $wkb; [all...] |
/plugin/geophp/vendor/funiq/geophp/ |
H A D | README.md | 58 geoPHP (can be wkt or wkb, but must be the same as how you extracted it from your database): 106 $wkb = pg_unescape_bytea($item['geom']); // Make sure to unescape the hex blob 107 $geom = geoPHP::load($wkb, 'ewkb'); // We now a full geoPHP Geometry object 117 $wkb = pack('H*',$item['geom']); // Unpacking the hex blob 118 $geom = geoPHP::load($wkb, 'ewkb'); // We now have a geoPHP Geometry
|
/plugin/geophp/vendor/funiq/geophp/src/ |
H A D | geoPHP.php | 47 'wkb' => 'WKB', 169 $wkb = $wkbWriter->writeHEX($geos); 170 $geometry = geoPHP::load($wkb, 'wkb', true); 369 return 'wkb'; 381 return 'wkb:true';
|
/plugin/geophp/ |
H A D | composer.lock | 70 "wkb",
|