Searched refs:WKB (Results 1 – 6 of 6) sorted by relevance
/plugin/geophp/vendor/funiq/geophp/src/ |
H A D | geoPHP.php | 47 'wkb' => 'WKB', 361 // Detect WKB or EWKB -- first byte is 1 (little endian indicator) 364 if (array_search($wkbType & 0xF, Adapter\WKB::$typeMap)) { 366 if (($wkbType & Adapter\WKB::SRID_MASK) === Adapter\WKB::SRID_MASK) { 374 // Detect HEX encoded WKB or EWKB (PostGIS format) -- first byte is 48, second byte is 49 (hex '01' => first-byte = 1) 375 // The shortest possible WKB string (LINESTRING EMPTY) is 18 hex-chars (9 encoded bytes) long 378 if ((current(unpack($bytes[2] == 49 ? 'V' : 'N', hex2bin(substr($bin, 2, 8)))) & Adapter\WKB::SRID_MASK) == Adapter\WKB::SRID_MASK) { 421 // We need an 8 byte string for geohash and unpacked WKB / WK [all...] |
/plugin/geophp/vendor/funiq/geophp/src/Adapter/ |
H A D | EWKB.php | 10 class EWKB extends WKB
|
H A D | WKB.php | 23 * PHP Geometry/WKB encoder/decoder 27 class WKB implements GeoAdapter class 51 /** @var array Maps Geometry types to WKB type codes */ 74 * Read WKB into geometry objects 90 throw new \Exception('Cannot read empty WKB geometry. Found ' . gettype($wkb)); 265 * Serialize geometries into WKB string. 271 * @return string The WKB string representation of the input geometries
|
/plugin/geophp/vendor/funiq/geophp/ |
H A D | README.md | 5 It is written entirely in PHP and can therefore run on shared hosts. It can read and write a wide variety of formats: WKT (EWKT), WKB (EWKB), TWKB, GeoJSON, 56 The Well Known Text (WKT) and Well Known Binary (WKB) support is ideal for integrating with MySQL's or PostGIS's spatial capability. 100 // Working with PostGIS and Extended-WKB 120 // To insert directly into postGIS we need to unpack the WKB
|
/plugin/geophp/ |
H A D | deleted.files | 11 geoPHP/lib/adapters/WKB.class.php
|
H A D | composer.lock | 57 "description": "Open-source native PHP library for doing geometry operations. Can read and write a wide variety of formats: (E)WKT, (E)WKB, TWKB, GeoJSON, KML, GPX, GeoRSS. Works with all Simple-Feature geometries (Point, LineString, Polygon...) and can be used to get centroids, bounding-boxes, area, etc.",
|