From 6c203a4395f30eae4f49230d2e2cb7652006b959 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 9 Oct 2018 21:04:47 +0200 Subject: Fix typos --- docs/source/faq.rst | 2 +- docs/source/operations/projections/lsat.rst | 4 ++-- scripts/fix_typos.sh | 2 +- src/PJ_eqearth.c | 2 +- src/PJ_vgridshift.c | 2 +- src/cct.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/source/faq.rst b/docs/source/faq.rst index a218e1a8..f72ec132 100644 --- a/docs/source/faq.rst +++ b/docs/source/faq.rst @@ -130,7 +130,7 @@ How do I use 3 parameter and 7 parameter datum shifting Datum shifts can be approximated with 3 and 7 parameter transformations. Their use with :program:`cs2cs` is more fully described in the -:ref:`geodetic tranformation` section. +:ref:`geodetic transformation` section. More generically, the :ref:`helmert` can be used with :program:`cct`. diff --git a/docs/source/operations/projections/lsat.rst b/docs/source/operations/projections/lsat.rst index 4df944b5..c2b2d902 100644 --- a/docs/source/operations/projections/lsat.rst +++ b/docs/source/operations/projections/lsat.rst @@ -19,11 +19,11 @@ Required .. option:: +lsat= - Landsat satelite used for the projection. Value between 1 and 5. + Landsat satellite used for the projection. Value between 1 and 5. .. option:: +path= - Selected path of satelite. Value between 1 and 253 when :option:`+lsat` is + Selected path of satellite. Value between 1 and 253 when :option:`+lsat` is set to 1,2 or 3, otherwise valid input is between 1 and 233. diff --git a/scripts/fix_typos.sh b/scripts/fix_typos.sh index 0e1b5a10..06dfa821 100755 --- a/scripts/fix_typos.sh +++ b/scripts/fix_typos.sh @@ -46,7 +46,7 @@ if ! test -d fix_typos; then cd .. fi -EXCLUDED_FILES="*configure,config.status,config.sub,*/autom4te.cache/*,libtool,aclocal.m4,depcomp,ltmain.sh,*.pdf,./m4/*,./nad/epsg,./fix_typos/*" +EXCLUDED_FILES="*configure,config.status,config.sub,*/autom4te.cache/*,libtool,aclocal.m4,depcomp,ltmain.sh,*.pdf,./m4/*,./nad/epsg,./fix_typos/*,./docs/build/*" WORDS_WHITE_LIST="metres,als,lsat,twon,ang,PJD_ERR_UNKNOW_UNIT_ID,PJD_ERR_LSAT_NOT_IN_RANGE,COLOR_GRAT" python3 fix_typos/codespell/codespell.py -w -i 3 -q 2 -S $EXCLUDED_FILES \ diff --git a/src/PJ_eqearth.c b/src/PJ_eqearth.c index bbe1295f..a0d4467b 100644 --- a/src/PJ_eqearth.c +++ b/src/PJ_eqearth.c @@ -155,7 +155,7 @@ PJ *PROJECTION(eqearth) { if (0 == Q->apa) return destructor(P, ENOMEM); Q->qp = pj_qsfn(1.0, P->e, P->one_es); /* For auth_lat(). */ - Q->rqda = sqrt(0.5*Q->qp); /* Authalic radius devided by major axis */ + Q->rqda = sqrt(0.5*Q->qp); /* Authalic radius divided by major axis */ } return P; diff --git a/src/PJ_vgridshift.c b/src/PJ_vgridshift.c index f88527f7..ac5d26ef 100644 --- a/src/PJ_vgridshift.c +++ b/src/PJ_vgridshift.c @@ -113,7 +113,7 @@ PJ *TRANSFORMATION(vgridshift,0) { if (pj_param(P->ctx, P->params, "tt_epoch").i) Q->t_epoch = pj_param (P->ctx, P->params, "dt_epoch").f; - /* historical: the forward direction substracts the grid offset. */ + /* historical: the forward direction subtracts the grid offset. */ Q->forward_multiplier = -1.0; if (pj_param(P->ctx, P->params, "tmultiplier").i) { Q->forward_multiplier = pj_param(P->ctx, P->params, "dmultiplier").f; diff --git a/src/cct.c b/src/cct.c index 7d02eaac..54734b98 100644 --- a/src/cct.c +++ b/src/cct.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { if (opt_given (o, "c")) { int ncols; - /* reset colum numbers to ease comment output later on */ + /* reset column numbers to ease comment output later on */ for (i=0; i<4; i++) columns_xyzt[i] = 0; -- cgit v1.2.3