GitPedia

Wkb parser

Well-known binary (WKB) Parser.

From geo-io·Updated December 29, 2025·View on GitHub·

A parser which transforms [Well-known binary (WKB)](http://en.wikipedia.org/wiki/Well-known_text#Well-known_binary) representations into geometric objects. The project is written primarily in PHP, distributed under the MIT License license, first published in 2014. Key topics include: geo, geography, geometry, parser, spatial.

Geo I/O WKB Parser

Build Status
Coverage Status

A parser which transforms
Well-known binary (WKB)
representations into geometric objects.

php
class MyFactory implements GeoIO\Factory { public function createPoint($dimension, array $coordinates, $srid = null) { return MyPoint($coordinates['x'], $coordinates['y']); } // ... } $factory = MyFactory(); $parser = new GeoIO\WKB\Parser\Parser($factory); $myPoint = $parser->parse('000000000140000000000000004010000000000000'); // POINT(2.0 4.0)

Installation

Install through composer. Check the
packagist page for all
available versions.

bash
composer require geo-io/wkb-parser

License

Copyright (c) 2014-2022 Jan Sorgalla. Released under the MIT License.

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from geo-io/wkb-parser via the GitHub API.Last fetched: 6/20/2026