library wkb-parser
Well-known binary (WKB) Parser.
geo-io/wkb-parser
Well-known binary (WKB) Parser.
- Monday, February 15, 2016
- by jsor
- Repository
- 2 Watchers
- 14 Stars
- 142,716 Installations
- PHP
- 7 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 3 Versions
- 22 % Grown
Geo I/O WKB Parser
, (*1)
A parser which transforms
Well-known binary (WKB)
representations into geometric objects., (*2)
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., (*3)
composer require geo-io/wkb-parser
License
Copyright (c) 2014-2022 Jan Sorgalla. Released under the MIT License., (*4)
dev-master
9999999-dev
Well-known binary (WKB) Parser.
Sources
Download
MIT
The Requires
The Development Requires
parser
geo
geometry
io
wkb
v1.0.1
1.0.1.0
Well-known binary (WKB) Parser.
Sources
Download
MIT
The Requires
The Development Requires
parser
geo
geometry
io
wkb
v1.0.0
1.0.0.0
Well-known binary (WKB) Parser.
Sources
Download
MIT
The Requires
The Development Requires
parser
geo
geometry
io
wkb