aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-03-11 15:40:53 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-03-11 15:40:53 +0100
commit7ddd7937085524bcfb09ae7eb2a2865e9de6b987 (patch)
tree7ebcef9efb94693c610a72960a05754d338e0dc3 /src
parenta3f5d6dff3587d3a1225c607359c241107232470 (diff)
downloadPROJ-7ddd7937085524bcfb09ae7eb2a2865e9de6b987.tar.gz
PROJ-7ddd7937085524bcfb09ae7eb2a2865e9de6b987.zip
Various typo fixes
Diffstat (limited to 'src')
-rw-r--r--src/PJ_imw_p.c2
-rw-r--r--src/PJ_unitconvert.c2
-rw-r--r--src/gie.c2
-rw-r--r--src/pj_ell_set.c2
-rw-r--r--src/pj_internal.c2
-rw-r--r--src/proj_4D_api.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/PJ_imw_p.c b/src/PJ_imw_p.c
index bad98456..b731f656 100644
--- a/src/PJ_imw_p.c
+++ b/src/PJ_imw_p.c
@@ -105,7 +105,7 @@ static LP e_inverse (XY xy, PJ *P) { /* Ellipsoidal, inverse */
XY t;
double yc = 0.0;
int i = 0;
- const int N_MAX_ITER = 1000; /* Arbitrarily choosen number... */
+ const int N_MAX_ITER = 1000; /* Arbitrarily chosen number... */
lp.phi = Q->phi_2;
lp.lam = xy.x / cos(lp.phi);
diff --git a/src/PJ_unitconvert.c b/src/PJ_unitconvert.c
index bedeb02b..a076b76c 100644
--- a/src/PJ_unitconvert.c
+++ b/src/PJ_unitconvert.c
@@ -75,7 +75,7 @@ typedef double (*tconvert)(double);
struct TIME_UNITS {
char *id; /* units keyword */
- tconvert t_in; /* unit -> mod. julian date funtion pointer */
+ tconvert t_in; /* unit -> mod. julian date function pointer */
tconvert t_out; /* mod. julian date > unit function pointer */
char *name; /* comments */
};
diff --git a/src/gie.c b/src/gie.c
index 19c0b0da..1079c7fb 100644
--- a/src/gie.c
+++ b/src/gie.c
@@ -1931,7 +1931,7 @@ static int pj_cart_selftest (void) {
if (proj_angular_output (P, PJ_INV)) return 123;
/* We specified "no_defs" but didn't give any ellipsoid info */
- /* pj_init_ctx should defualt to WGS84 */
+ /* pj_init_ctx should default to WGS84 */
if (P->a != 6378137.0) return 124;
if (P->f != 1.0/298.257223563) return 125;
proj_destroy(P);
diff --git a/src/pj_ell_set.c b/src/pj_ell_set.c
index d1f8f601..1f9bbd91 100644
--- a/src/pj_ell_set.c
+++ b/src/pj_ell_set.c
@@ -20,7 +20,7 @@ static const PJ_ELLPS *pj_find_ellps (char *name);
/***************************************************************************************/
int pj_ellipsoid (PJ *P) {
/****************************************************************************************
- This is a replacement for the clasic PROJ pj_ell_set function. The main difference
+ This is a replacement for the classic PROJ pj_ell_set function. The main difference
is that pj_ellipsoid augments the PJ object with a copy of the exact tags used to
define its related ellipsoid.
diff --git a/src/pj_internal.c b/src/pj_internal.c
index 9b96444c..40f06bd6 100644
--- a/src/pj_internal.c
+++ b/src/pj_internal.c
@@ -209,7 +209,7 @@ consuming their surrounding whitespace.
/* First collapse repeated whitespace (including +/;) */
for (i = j = 0, ws = 0; j < n; j++) {
- /* Eliminate prefix '+', only if preceeded by whitespace */
+ /* Eliminate prefix '+', only if preceded by whitespace */
/* (i.e. keep it in 1.23e+08) */
if ((i > 0) && ('+'==c[j]) && ws)
c[j] = ' ';
diff --git a/src/proj_4D_api.c b/src/proj_4D_api.c
index b9f3d9bf..d9fa8c28 100644
--- a/src/proj_4D_api.c
+++ b/src/proj_4D_api.c
@@ -1036,7 +1036,7 @@ PJ_FACTORS proj_factors(PJ *P, PJ_COORD lp) {
Characteristics include meridian, parallel and areal scales, angular
distortion, meridian/parallel, meridian convergence and scale error.
- returns PJ_FACTORS. If unsuccessfull, error number is set and the
+ returns PJ_FACTORS. If unsuccessful, error number is set and the
struct returned contains NULL data.
******************************************************************************/
PJ_FACTORS factors = {0,0,0, 0,0,0, 0,0, 0,0,0,0};