PackageTrack
Sign in Get early access

creof/wkb-parser

Parser for well-known binary (WKB/EWKB) object data

v2.3.0 5.4M downloads/mo #3313 most downloaded on Packagist creof/wkb-parser

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Ships unpredictably

gaps range from 3 weeks to 5.7 years

Most releases are documented

notes for 6 of 7 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

7 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · Nov 2015 to Feb 2022
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. v2.3.0 22 May 2016
    Release notes

    [2.3.0] - 2016-05-22

    Added

    • Tests for empty geometry objects.
    • getCurrentPosition() and getLastPosition methods in Reader to get position in byte stream.
    • Support for OCG 1.2 encoding of 3D and 4D geometry.
    • Method getBadTypeInTypeMessage() in Parser to generate helpful and descriptive exception message.
    • Badge and configuration for Coveralls.

    Changed

    • NaN coordinates are not returned in point value array, empty point value now array().
    • Reader::readDouble() now deprecated and calls Reader::readFloat().
    • Reader::readDoubles() now deprecated and calls Reader::readFloats().
    • unpack() errors are now caught in unpackInput() and a library exception thrown.
    • Inner types (points in multipoint, etc.) are now checked for same dimensions of parent object.
    • The search for 'x' in hex values beginning with 'x' or '0x' is now case-insensitive.
    • Supported encoding and input formats added to documentation.
    • References for encodings added to documentation.
    • Lots of additional test data and cases, and cleanup.
    • Library exceptions now caught in readGeometry() and rethrown appending Reader position in message.
    • All thrown exceptions now have a message.
    • Now a single return for all code paths in Parser::getMachineByteOrder().
    • Tweaked tests and code for 100% coverage.
    • Updated travis config for coveralls.
    Open source →
    Release notes

    Added

    • Tests for empty geometry objects.
    • getCurrentPosition() and getLastPosition methods in Reader to get position in byte stream.
    • Support for OCG 1.2 encoding of 3D and 4D geometry.
    • Method getBadTypeInTypeMessage() in Parser to generate helpful and descriptive exception message.
    • Badge and configuration for Coveralls.

    Changed

    • NaN coordinates are not returned in point value array, empty point value now array().
    • Reader::readDouble() now deprecated and calls Reader::readFloat().
    • Reader::readDoubles() now deprecated and calls Reader::readFloats().
    • unpack() errors are now caught in unpackInput() and a library exception thrown.
    • Inner types (points in multipoint, etc.) are now checked for same dimensions of parent object.
    • The search for 'x' in hex values beginning with 'x' or '0x' is now case-insensitive.
    • Supported encoding and input formats added to documentation.
    • References for encodings added to documentation.
    • Lots of additional test data and cases, and cleanup.
    • Library exceptions now caught in readGeometry() and rethrown appending Reader position in message.
    • All thrown exceptions now have a message.
    • Now a single return for all code paths in Parser::getMachineByteOrder().
    • Tweaked tests and code for 100% coverage.
    • Updated travis config for coveralls.
    Open source →
  2. 2.2.0 03 May 2016
    Release notes

    [2.2.0] - 2016-05-03

    Added

    • Added Tests namespace to Composer PSR-0 dev autoload.
    • Added 'dimension' key to returned array containing object dimensions (Z, M, or ZM).
    • Reader::getMachineByteOrder method to detect running platform endianness.

    Changed

    • Parser property with Reader instance no longer static.
    • Replaced sprintf function call in Reader::unpackInput() with string concatenation.
    • Updated PHPUnit config to be compliant with XSD.
    • Updated PHPUnit config to use Composer autoload.
    • Updated documentation with new usage pattern.
    • Type name in returned array now contains only base type without dimensions (Z, M, and ZM).
    • Reader::readDouble() now checks running platform endianness before byte-swapping values instead of assuming little-endian.

    Removed

    • Removed now unused TestInit
    Open source →
    Release notes

    Added

    • Added Tests namespace to Composer PSR-0 dev autoload.
    • Added 'dimension' key to returned array containing object dimensions (Z, M, or ZM).
    • Reader::getMachineByteOrder method to detect running platform endianness.

    Changed

    • Parser property with Reader instance no longer static.
    • Replaced sprintf function call in Reader::unpackInput() with string concatenation.
    • Updated PHPUnit config to be compliant with XSD.
    • Updated PHPUnit config to use Composer autoload.
    • Updated documentation with new usage pattern.
    • Type name in returned array now contains only base type without dimensions (Z, M, and ZM).
    • Reader::readDouble() now checks running platform endianness before byte-swapping values instead of assuming little-endian.

    Removed

    • Removed now unused TestInit
    Open source →
  3. 2.1.0 18 Feb 2016
    Release notes

    Added

    • Reader load() method to allow reusing a Reader instance.
    • Parser parse() method to allow reusing a Parser instance.
    • 3DZ, 3DM, and 4DZM support for all types.
    • Support for CIRCULARSTRING type.
    • Support for COMPOUNDCURVE type.
    • Support for CURVEPOLYGON type.
    • Support for MULTICURVE type.
    • Support for MULTISURFACE type.
    • Preliminary support for POLYHEDRALSURFACE type.

    Changed

    • Major refactoring of Parser class.
    • Nested types are now checked for permitted types (ie. only Points in MultiPoint, etc.)
    Open source →
  4. 2.0.0 18 Nov 2015
    Release notes

    Added

    • Change base namespace to CrEOF\Geo\WKB to avoid class collision with other CrEOF packages.
    Open source →
  5. 1.0.1 17 Nov 2015
    Release notes

    Changed

    • Replaced if/else statement with ternary operator in parseInput method of Reader.
    Open source →
  6. 1.0.0 16 Nov 2015
    Release notes

    Added

    • Initial release.
    Open source →
  7. v2.4 15 Feb 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive