From a1ee5c0ac752836f541417c9a9c63439d94b23df Mon Sep 17 00:00:00 2001 From: Bert Huijben Date: Fri, 7 Jan 2022 15:19:44 +0100 Subject: labrd: document in the tagline and documentation that lat_0 is required (#2997) --- docs/source/operations/projections/labrd.rst | 7 +++++-- src/projections/labrd.cpp | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/source/operations/projections/labrd.rst b/docs/source/operations/projections/labrd.rst index 98a30556..c91e38b7 100644 --- a/docs/source/operations/projections/labrd.rst +++ b/docs/source/operations/projections/labrd.rst @@ -34,9 +34,10 @@ Parameters Required -------------------------------------------------------------------------------- -.. include:: ../options/lon_0.rst +.. option:: +lat_0= + + Latitude of projection center. Must not be zero. -.. include:: ../options/lat_0.rst Optional -------------------------------------------------------------------------------- @@ -47,6 +48,8 @@ Optional *Defaults to 0.0* +.. include:: ../options/lon_0.rst + .. include:: ../options/R.rst .. include:: ../options/x_0.rst diff --git a/src/projections/labrd.cpp b/src/projections/labrd.cpp index 9fa17817..b443c067 100644 --- a/src/projections/labrd.cpp +++ b/src/projections/labrd.cpp @@ -6,7 +6,7 @@ #include "proj.h" #include "proj_internal.h" -PROJ_HEAD(labrd, "Laborde") "\n\tCyl, Sph\n\tSpecial for Madagascar"; +PROJ_HEAD(labrd, "Laborde") "\n\tCyl, Sph\n\tSpecial for Madagascar\n\tlat_0="; #define EPS 1.e-10 namespace { // anonymous namespace -- cgit v1.2.3