creof/wkt-parser
Parser for well-known text (WKT) object strings
2.2.0
5.1M downloads/mo
#4506 most downloaded on Packagist
creof/wkt-parser
What this package is like to depend on
Last release 10 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 5 months
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
4 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
4 releases · Nov 2015 to May 2016
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 4-
2.2.003 May 2016Release notes
Open source →[2.2.0] - 2016-05-03
Added
- Tests namespace to PSR-0 autoload in composer.json.
- Support for 3DZ, 3DM, 4DZM objects added. Dimension(s) now in 'dimension' key of returned array.
Changed
- Token pattern regex changed to capture numbers in scientific notation as a single value.
- Let PHP handle scientific number conversion to float instead of manually calculating.
- Only instantiate Lexer object in Parser constructor if it doesn't exist.
- Move function return value tests from switch statement in Lexer. Switch statement now doing only string comparison.
- Remove static visibility from Lexer instance in Parser.
- PHPUnit now bootstraps Composer autoload.
- Update PHPUnit config XML to be compliant with XSD.
- Documentation updated for 3DZ, 3DM, 4DZM support.
Removed
- Removed E token used with scientific notation from Lexer.
- Removed now unused TestInit.
Release notes
Open source →Added
- Tests namespace to PSR-0 autoload in composer.json.
- Support for 3DZ, 3DM, 4DZM objects added. Dimension(s) now in 'dimension' key of returned array.
Changed
- Token pattern regex changed to capture numbers in scientific notation as a single value.
- Let PHP handle scientific number conversion to float instead of manually calculating.
- Only instantiate Lexer object in Parser constructor if it doesn't exist.
- Move function return value tests from switch statement in Lexer. Switch statement now doing only string comparison.
- Remove static visibility from Lexer instance in Parser.
- PHPUnit now bootstraps Composer autoload.
- Update PHPUnit config XML to be compliant with XSD.
- Documentation updated for 3DZ, 3DM, 4DZM support.
Removed
- Removed E token used with scientific notation from Lexer.
- Removed now unused TestInit.
-
2.1.009 Apr 2016Release notes
Open source →Added
- Add tokens for 3DM, 3DZ, and 4D coordinates to Lexer.
- Method Lexer::value() to get current token value.
- Match Z, M, or ZM tokens in Parser (not currently used).
- Add test for Parser reuse.
- Add test for Lexer reuse.
Changed
- Regex used to catch tokens.
- Allow Lexer instantiation with no parameters so object can be reused.
- Allow Parser instantiation with no parameters so object can be reused.
- Changed visibility of Parser::$type.
- Use Lexer::value() in Parser.
- Set srid to null before parsing value.
- Consolidated all Parser test data into ParserTest.
- Update usage documentation in README.md.
Release notes
Open source →Added
- Add tokens for 3DM, 3DZ, and 4D coordinates to Lexer.
- Method Lexer::value() to get current token value.
- Match Z, M, or ZM tokens in Parser (not currently used).
- Add test for Parser reuse.
- Add test for Lexer reuse.
Changed
- Regex used to catch tokens.
- Allow Lexer instantiation with no parameters so object can be reused.
- Allow Parser instantiation with no parameters so object can be reused.
- Changed visibility of Parser::$type.
- Use Lexer::value() in Parser.
- Set srid to null before parsing value.
- Consolidated all Parser test data into ParserTest.
- Update usage documentation in README.md.
-
2.0.018 Nov 2015Release notes
Open source →Added
- Change base namespace to CrEOF\Geo\WKT to avoid class collision with other CrEOF packages.
-
1.0.011 Nov 2015