3.0.0 - 2019-04-13
- Support for accepting 2, 4, 8 and 10 figure Ordnance Survey references (6 figure was already supported)
- fromSixFigureReference
- All value objects are now immutable - calling a conversion function on them now returns a new object rather than modifying the existing one
- Minimum PHP version is now 7.1
- HHVM support now that project has a stated goal of no longer targeting PHP7 compatibility
OSRef::fromSixFigureReference()
has been removed, useOSRef::fromGridReference()
insteadOSRef::to[Two/Four/Six/Eight/Ten]FigureReference()
have been removed, useOSRef::toGridReference($length)
instead
2.1 - 2016-09-20
- Added distance calculations for grid-based co-ordinate systems to complement the existing lat/long implementation
2.0.3 - 2016-05-29
- Fixed confusing docblock
2.0.2 - 2016-01-31
- Ensure consistency of units
2.0.1 - 2016-01-19
- Add support for 2, 4, 8 and 10 figure Ordnance Survey references (6 figure was already supported) [stevegoddard]
2.0 - 2016-01-03
- 3D co-ordinates
- Irish Grid and ITM support
- Major refactoring, breaks compatibility with previous API (hopefully for the better!)
1.1.2 - 2015-12-31
- Corrected issue with Helmert transform where the resulting co-ordinate could be placed into the wrong quadrant
1.1.1 - 2014-11-19
- Corrected bug in original code where OS 6-figure grid references were sometimes off by 1
- Updated Composer to use PSR-4
1.1 - 2014-01-23
Just cleanup
Initial release of this fork (based off of v2.3 of original)
- When converting Latitude and Longitude between WGS84 and OSGB36 or vice-versa, a wrong constant for the y translation has been corrected (was off by 1 metre)
- Eastings and northings are rounded to 1m, and lat/long to 5dp (approx 1m) to avoid any misconceptions that precision is the same thing as accuracy.
- When calculating surface distances, a more accurate mean radius is now used rather than that derived from historical definitions of a nautical mile