Geographic points ================= A geographic point is one that has a *latitude* and a *longitude*. It may also include a height, but only if the height is an *ellipsoid height*. If you have a *local*, *geoid* or *orthometric* height, then you will need a both a ``GeographicPoint`` and a ``VerticalPoint`` and then to tie them together with a ``CompoundPoint``. A ``GeographicPoint`` can be constructed by calling ``GeographicPoint::create``, which has the following signature: .. code-block:: php public static function create( Geographic $crs, Angle $latitude, Angle $longitude, ?Length $height = null, ?DateTimeInterface $epoch = null ): GeographicPoint For ``$crs`` use a ``Geographic3D`` CRS if you are supplying height, or a ``Geographic2D`` CRS if you are not. Examples: .. code-block:: php getLatitude(); // Angle $longitude = $point->getLongitude(); // Angle $height = $point->getHeight(); // Length|null $epoch = $point->getCoordinateEpoch(); // DateTimeImmutable|null $crs = $point->getCRS(); // Geographic2D|Geographic3D $asString = (string) $point; // '(40.689167, -74.044444)'