aboutsummaryrefslogtreecommitdiff
path: root/src/geocent.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2016-12-12 16:33:43 +0100
committerEven Rouault <even.rouault@spatialys.com>2016-12-12 16:33:43 +0100
commitab7e98b026b327e8b61510ba4e79b5ae42b5e5f2 (patch)
tree0398d826eb4fd29a43d3360ba2e8b75b6f7e943d /src/geocent.c
parente47afa43860e4350dce13689108096ab33c56d12 (diff)
downloadPROJ-ab7e98b026b327e8b61510ba4e79b5ae42b5e5f2.tar.gz
PROJ-ab7e98b026b327e8b61510ba4e79b5ae42b5e5f2.zip
Add a scripts/fix_typos.sh script and correct reported errors
Diffstat (limited to 'src/geocent.c')
-rw-r--r--src/geocent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/geocent.c b/src/geocent.c
index 6ac6c40b..66e2c314 100644
--- a/src/geocent.c
+++ b/src/geocent.c
@@ -320,7 +320,7 @@ void pj_Convert_Geocentric_To_Geodetic (GeocentricInfo *gi,
* das Gravitationspotential der Erde. Wiss. Arb. Univ. Hannover
* Nr. 137, p. 130-131.
-* Programmed by GGA- Leibniz-Institue of Applied Geophysics
+* Programmed by GGA- Leibniz-Institute of Applied Geophysics
* Stilleweg 2
* D-30655 Hannover
* Federal Republic of Germany
@@ -344,7 +344,7 @@ void pj_Convert_Geocentric_To_Geodetic (GeocentricInfo *gi,
* (e.g. -6300000.m), algorithm needs about 15 steps.
*/
-/* local defintions and variables */
+/* local definitions and variables */
/* end-criterium of loop, accuracy of sin(Latitude) */
#define genau 1.E-12
#define genau2 (genau*genau)
@@ -362,7 +362,7 @@ void pj_Convert_Geocentric_To_Geodetic (GeocentricInfo *gi,
double CPHI; /* cos of searched geodetic latitude */
double SPHI; /* sin of searched geodetic latitude */
double SDPHI; /* end-criterium: addition-theorem of sin(Latitude(iter)-Latitude(iter-1)) */
- int iter; /* # of continous iteration, max. 30 is always enough (s.a.) */
+ int iter; /* # of continuous iteration, max. 30 is always enough (s.a.) */
P = sqrt(X*X+Y*Y);
RR = sqrt(X*X+Y*Y+Z*Z);
@@ -389,7 +389,7 @@ void pj_Convert_Geocentric_To_Geodetic (GeocentricInfo *gi,
}
/* --------------------------------------------------------------
- * Following iterative algorithm was developped by
+ * Following iterative algorithm was developed by
* "Institut für Erdmessung", University of Hannover, July 1988.
* Internet: www.ife.uni-hannover.de
* Iterative computation of CPHI,SPHI and Height.