All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- PHP 7 Uniform Variable Syntax bugfix in
getRecord()method
- Support for Z and M shapes
- Native DBF reading capabilities (no dbase functions or external libraries required anymore)
FLAG_SUPPRESS_ZandFLAG_SUPPRESS_Mflags for ShapeFile constructorGEOMETRY_BOTHformat forgetRecord()methodShapeFilenamespace andShapeFileAutoloaderclass- DBF error codes
41and42 - CHANGELOG file
- Code is now php-fig PSR-1, PSR-2 and PSR-4 compliant
- PHP 7 compatible
- All strings read from DBF are returned already encoded in utf-8
- PHP XBase library dependency as dbase fallback
- It works on big-endian machines
- Public method
getPRJ(). It provides the raw WKT from the .prj file if present - Composer.json
- Class constructor (you must update your code to explicitly pass the .dbf file path)
- Updated error codes
- Invalid polygons handling
First public release