Skip to content

Releases: dvdoug/PHPCoord

v5.10.0

23 Aug 21:11
Compare
Choose a tag to compare

Added

  • Added a new method isWithinCRSBoundingArea() on most Point objects (all except VerticalPoint) to check if they lie within the bounds of their defined CRS

v5.9.2

18 Aug 15:40
Compare
Choose a tag to compare

Changed

  • Split declaration of the Projected::EPSG_* constants into multiple files internally to aid with static analysis
    in IDEs (there are so many, the file defining them was over the max file size analysis threshold for Intelephense)

v5.9.1

15 Aug 19:34
Compare
Choose a tag to compare

Changed

  • Updates to data for USA and WGS84
  • Support for Irish polynomial transformation in the ETRS89 to TM75 direction (TM75 to ETRS89 was already supported)

Fixed

  • British and Irish Grid references were rounding rather than truncating causing a sometimes off-by-1 error

v5.9.0

04 Aug 13:46
Compare
Choose a tag to compare

Changed

  • Updates to data for Czechia, Denmark, ETRS89, Germany, Martinique, Portugal, St Helena, UK and WGS84
  • Switched from Vincenty to Karney algorithm for calculating distance between two Geographic points
  • Minimum PHP version increased to 8.1

v5.8.0

03 Feb 21:19
Compare
Choose a tag to compare

Added

  • Support for compressed grid files to reduce distribution sizes

v5.7.0

27 Jan 00:43
Compare
Choose a tag to compare

Changed

  • Updates to data for Canada, Denmark, France, Germany and USA
  • More aggressive buffering of extent polygons

v4.7.1

26 Jan 23:20
Compare
Choose a tag to compare

The v4.x series is receiving basic maintenance only. All feature development takes place in v5.x.
This is because one of PHP8.1's new deprecations
required a significant non-backwards compatible change to address.

Fixed

  • Buffering of Irish extent

v5.6.0

30 Sep 18:54
Compare
Choose a tag to compare

Changed

  • Updates to data for Australia, Austria, Canada, Germany, Italy, Netherlands, Portugal, South Korea, UK and USA

v5.5.0

07 Jul 21:45
Compare
Choose a tag to compare

Added

  • Support for Lambert Cylindrical Equal Area (Spherical) projection

Changed

  • Infer a current epoch when doing time-dependant transforms and no explicit epoch is supplied
  • Updates to data for Polar regions, Algeria and Spain

Deprecated

  • The namespace of all *Point classes have been tidied up and changed to from PHPCoord to PHPCoord\Point e.g.
    PHPCoord\GeographicPoint is now PHPCoord\Point\GeographicPoint. An alias has been provided, all existing
    code referencing the old names will continue to work

v5.4.0

27 May 22:13
Compare
Choose a tag to compare

Added

  • Added getSupportedSRIDsWithHelp() as a version of getSupportedSRIDs() that returns at runtime the inline help
    available within the source code

Changed

  • Updates to data for Algeria, Bosnia and Herzegovina, Denmark, Germany, Latvia and USA