diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-03-13 12:11:30 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-03-13 12:11:30 +0100 |
| commit | 9167cd4dc29bd0aa1f4ff4d9f5b9bdb9f955579f (patch) | |
| tree | 4d283bd61f24c6b053def66366039365fae30e54 /scripts | |
| parent | b2fde1adf499efd8ea27d396a6b63bec01fc64b2 (diff) | |
| download | PROJ-9167cd4dc29bd0aa1f4ff4d9f5b9bdb9f955579f.tar.gz PROJ-9167cd4dc29bd0aa1f4ff4d9f5b9bdb9f955579f.zip | |
fix_typos.sh: update while lists
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/fix_typos.sh | 4 | ||||
| -rw-r--r-- | scripts/typos_whitelist.txt | 24 |
2 files changed, 26 insertions, 2 deletions
diff --git a/scripts/fix_typos.sh b/scripts/fix_typos.sh index ceb5ad6f..fdfe4c02 100755 --- a/scripts/fix_typos.sh +++ b/scripts/fix_typos.sh @@ -46,8 +46,8 @@ if ! test -d fix_typos; then ) fi -EXCLUDED_FILES="*configure,config.status,config.sub,*/autom4te.cache/*,libtool,aclocal.m4,depcomp,ltmain.sh,*.pdf,./m4/*,./fix_typos/*,./docs/build/*,./src/*generated*,./test/googletest/*,./include/proj/internal/nlohmann/json.hpp,*.before_reformat" -WORDS_WHITE_LIST="metres,als,lsat,twon,ang,PJD_ERR_LSAT_NOT_IN_RANGE,COLOR_GRAT,interm,Interm,Cartesian,cartesian,CARTESIAN,kilometre,centimetre,millimetre,millimetres,Australia" +EXCLUDED_FILES="*configure,config.status,config.sub,*/autom4te.cache/*,libtool,aclocal.m4,depcomp,ltmain.sh,*.pdf,./m4/*,./fix_typos/*,./docs/build/*,./src/*generated*,./test/googletest/*,./include/proj/internal/nlohmann/json.hpp,*.before_reformat,./test/cli/test27,./test/cli/test83,./test/cli/pj_out27.dist,./test/cli/pj_out83.dist" +WORDS_WHITE_LIST="metres,als,lsat,twon,ang,PJD_ERR_LSAT_NOT_IN_RANGE,COLOR_GRAT,interm,Interm,Cartesian,cartesian,CARTESIAN,kilometre,centimetre,millimetre,millimetres,Australia,LINZ,LaTeX,BibTeX" python3 fix_typos/codespell/codespell.py -w -i 3 -q 2 -S $EXCLUDED_FILES \ -x scripts/typos_whitelist.txt --words-white-list=$WORDS_WHITE_LIST \ diff --git a/scripts/typos_whitelist.txt b/scripts/typos_whitelist.txt index 462d22da..92c413e6 100644 --- a/scripts/typos_whitelist.txt +++ b/scripts/typos_whitelist.txt @@ -1,3 +1,27 @@ $EXE +units=us-ft +init=${INIT_FILE}:404 -E -f '%.3f' >>${OUT} <<EOF (`#404 <https://github.com/OSGeo/proj.4/issues/404>`_) {"CPM", "a=6375738.7", "rf=334.29", "Comm. des Poids et Mesures 1799"}, + double lamtp, cl, sd, sp, sav, tanphi; + sav = lampp; + lamt = lp.lam + Q->p22 * sav; + if (fabs(fabs(sav) - fabs(lamdp)) < TOL) + sav = lamdp; + double lamt, sdsq, s, lamdp, phidp, sppsq, dd, sd, sl, fac, scl, sav, spp; + sav = lamdp; + } while (fabs(lamdp - sav) >= TOL && --nn); + double yt, ba; + ba = 1. / (yt * Q->sw * Q->h + Q->cw); + xy.x = (xy.x * Q->cg - xy.y * Q->sg) * Q->cw * ba; + xy.y = yt * ba; + * This implements Space Oblique Mercator (SOM) projection, used by the + * The code is identical to that of Landsat SOM (PJ_lsat.c) with the following +static double phi1_(double qs, double Te, double Tone_es) { + if (Te < EPSILON) + con = Te * sinpi; + sinpi / com + .5 / Te * log ((1. - con) / + else { /* point mean of intersepts */ +operation proj=latlong geoidgrids=egm96_15.gtx axis=dne ellps=GRS80 + Url = {https://geodesie.ign.fr/contenu/fichiers/documentation/algorithmes/notice/NTG_88.pdf} +it (neither in current documentation, nor in `historic one <https://web.archive.org/web/20160601000000*/http://trac.osgeo.org/proj/wiki/GenParms>`_). +`Deformation model master file <https://github.com/linz/deformation-model-format>`_ +of a Deformation Model <https://github.com/linz/deformation-model-format/blob/master/doc/JsonGeotiffDeformationModelFormat_20200501.pdf>`__ |
