Skip to content

Commit

Permalink
Prep release
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Jul 7, 2023
1 parent a99e85d commit b8fd17c
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 19 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# Changelog

## [Unreleased]

## [5.5.0] - 2023-07-07
### 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

## [5.4.0] - 2023-05-27
### Added
Expand Down Expand Up @@ -273,8 +279,9 @@ Initial release of this fork (based off of v2.3 of original)
- 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

[Unreleased]: https://github.com/dvdoug/PHPCoord/compare/v5.4.0...HEAD
[Unreleased]: https://github.com/dvdoug/PHPCoord/compare/v5.5.0...HEAD

[5.5.0]: https://github.com/dvdoug/PHPCoord/compare/v5.4.0...v5.5.0
[5.4.0]: https://github.com/dvdoug/PHPCoord/compare/v5.3.1...v5.4.0
[5.3.1]: https://github.com/dvdoug/PHPCoord/compare/v5.3.0...v5.3.1
[5.3.0]: https://github.com/dvdoug/PHPCoord/compare/v5.2.0...v5.3.0
Expand Down
4 changes: 2 additions & 2 deletions docs/coordinate_conversions_easy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Examples:
<?php
use PHPCoord\CoordinateReferenceSystem\Geographic2D;
use PHPCoord\CoordinateReferenceSystem\Projected;
use PHPCoord\GeographicPoint;
use PHPCoord\Point\GeographicPoint;
use PHPCoord\UnitOfMeasure\Angle\Degree;
// Converting from NAD83 to Florida State Plane
Expand All @@ -38,7 +38,7 @@ Examples:
<?php
use PHPCoord\CoordinateReferenceSystem\Geographic2D;
use PHPCoord\CoordinateReferenceSystem\Projected;
use PHPCoord\ProjectedPoint;
use PHPCoord\Point\ProjectedPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// Converting from Florida State Plane to NAD83
Expand Down
6 changes: 3 additions & 3 deletions docs/creating_points_compound.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Example:
<?php
use PHPCoord\CoordinateReferenceSystem\Projected;
use PHPCoord\CoordinateReferenceSystem\Vertical;
use PHPCoord\CompoundPoint;
use PHPCoord\ProjectedPoint;
use PHPCoord\VerticalPoint;
use PHPCoord\Point\CompoundPoint;
use PHPCoord\Point\ProjectedPoint;
use PHPCoord\Point\VerticalPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// Horizontal location of Ben Nevis peak using British National Grid
Expand Down
2 changes: 1 addition & 1 deletion docs/creating_points_geocentric.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Examples:
<?php
use PHPCoord\CoordinateReferenceSystem\Geocentric;
use PHPCoord\GeocentricPoint;
use PHPCoord\Point\GeocentricPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// Ascension Island GPS tracking station in ITRF2008 (unknown date), traditional arguments
Expand Down
2 changes: 1 addition & 1 deletion docs/creating_points_geographic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Examples:
<?php
use PHPCoord\CoordinateReferenceSystem\Geographic2D;
use PHPCoord\GeographicPoint;
use PHPCoord\Point\GeographicPoint;
use PHPCoord\UnitOfMeasure\Angle\Degree;
// the Statue of Liberty in WGS84 (unknown date), traditional arguments, decimal degrees
Expand Down
20 changes: 10 additions & 10 deletions docs/creating_points_projected.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Examples:
<?php
use PHPCoord\CoordinateReferenceSystem\Projected;
use PHPCoord\ProjectedPoint;
use PHPCoord\Point\ProjectedPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// Nelson's Column in British National Grid (unknown date), traditional arguments
Expand Down Expand Up @@ -141,8 +141,8 @@ Examples:
<?php
use PHPCoord\CoordinateReferenceSystem\Projected;
use PHPCoord\BritishNationalGridPoint;
use PHPCoord\ProjectedPoint;
use PHPCoord\Point\BritishNationalGridPoint;
use PHPCoord\Point\ProjectedPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// Nelson's Column
Expand Down Expand Up @@ -195,8 +195,8 @@ Examples:
<?php
use PHPCoord\CoordinateReferenceSystem\Projected;
use PHPCoord\IrishGridPoint;
use PHPCoord\ProjectedPoint;
use PHPCoord\Point\IrishGridPoint;
use PHPCoord\Point\ProjectedPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// Spire of Dublin
Expand Down Expand Up @@ -245,8 +245,8 @@ Examples:
<?php
use PHPCoord\CoordinateReferenceSystem\Projected;
use PHPCoord\IrishTransverseMercatorPoint;
use PHPCoord\ProjectedPoint;
use PHPCoord\Point\IrishTransverseMercatorPoint;
use PHPCoord\Point\ProjectedPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// Spire of Dublin
Expand Down Expand Up @@ -290,7 +290,7 @@ Examples:
<?php
use PHPCoord\CoordinateReferenceSystem\Projected;
use PHPCoord\ProjectedPoint;
use PHPCoord\Point\ProjectedPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// Piazza San Marco, Venice
Expand Down Expand Up @@ -332,7 +332,7 @@ Example:
<?php
use PHPCoord\CoordinateReferenceSystem\Projected;
use PHPCoord\ProjectedPoint;
use PHPCoord\Point\ProjectedPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// Piazza San Marco, Venice
Expand Down Expand Up @@ -369,7 +369,7 @@ Example:
<?php
use PHPCoord\CoordinateReferenceSystem\Geographic;
use PHPCoord\UTMPoint;
use PHPCoord\Point\UTMPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// Piazza San Marco, Venice
Expand Down
2 changes: 1 addition & 1 deletion docs/creating_points_vertical.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Examples:
<?php
use PHPCoord\CoordinateReferenceSystem\Vertical;
use PHPCoord\VerticalPoint;
use PHPCoord\Point\VerticalPoint;
use PHPCoord\UnitOfMeasure\Length\Metre;
// an arbitrary height in New Zealand Vertical Datum (unknown date), traditional arguments
Expand Down
1 change: 1 addition & 0 deletions docs/primer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ portion of a coordinate is called an *epoch*.
and accepts dates in standard PHP ``DateTime``/``DateTimeImmutable`` format instead.

If, like most people you don't have dates for your coordinates, you can also use ``null`` or leave blank entirely.
Doing this means that PHPCoord will infer the current date when converting coordinates between systems.


EPSG codes
Expand Down

0 comments on commit b8fd17c

Please sign in to comment.