aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-05-24Merge pull request #949 from kbevers/return-nans-quicklyKristian Evers
Return NaN coordinate immediately when receiving NaN input
2018-05-24Temporal gridshifting (#1015)Kristian Evers
Temporal gridshifts allow [h|v]gridshift operations to be used as step functions in a pipeline. This is useful in transformations dealing with deformations caused by earthquakes. See the included documentation for details.
2018-05-24Handle double to int typecasts in ISEA betterKristian Evers
Originally the code was doing double to int conversions like y = (int)(x + 0.5) which results in rounding when typecasting. In an earlier attempt to avoid buffer overflows in integer typecasts this was changed to y = lround(x + 0.5) which doesn't give the origial results. We fix that here by instead doing y = lround(x) It is safe to so as long as x is positive.
2018-05-24Merge pull request #1013 from schwehr/proj_strtod_headerKristian Evers
Use proj_strtod.h for proj_strtod and proj_atof
2018-05-23Use proj_strtod.h for proj_strtod and proj_atofKurt Schwehr
2018-05-23Add pj_isnan to proj.def to avoid linking errors for some MSVC versionsKristian Evers
2018-05-23Merge branch 'master' into return-nans-quicklyKristian Evers
2018-05-22Limit the number of round trips to 1 million and check for underflowsKurt Schwehr
Why was fabs applied to ntrips? And why is it parsed as a float? Also add documentation for roundtrip. External rst docs do not match this function.
2018-05-22Horner degree must be a positive integer (#1005)Kurt Schwehr
Found with autofuzz
2018-05-20isea: Use PJ_TODEG and PJ_TORAD (#991)Kurt Schwehr
2018-05-19Partial clean isea defines and includesKurt Schwehr
- Move includes to the top - Move #defines to the top after includes - Get M_PI and DEG90 from projects.h
2018-05-19Merge pull request #1004 from rouault/fix_1002Kristian Evers
Vertical grid shift: do not interpolate node values at nodata value (fixes #1002)
2018-05-19Undef isnan if already defined before redefining it (typically with MSVC)Even Rouault
2018-05-19Vertical grid shift: do not interpolate node values at nodata value (fixes ↵Even Rouault
#1002)
2018-05-15IWYU: Partial PJ_natearth.c..rtodms.cKurt Schwehr
2018-05-15IWYU: Partial PJ_gstmerc.c..PJ_molodensky.cKurt Schwehr
2018-05-15IWYU: Partial PJ_aitoff.c..PJ_goode.cKurt Schwehr
2018-05-14Partial changes for IWYUKurt Schwehr
2018-05-13ISEA_STATIC -> static (#995)Kurt Schwehr
As this is a part of PROJ, having these functions possibly not static is confusing. Time to declare this is just a part of PROJ.
2018-05-08Replace int typecasts with calls to lround to avoid bad conversions on NaN ↵Kristian Evers
input. Added test to check for those cases.
2018-05-08Handle HUGE_VAL input better in fwd and inv functionsKristian Evers
2018-05-08Add round() and lround() to proj_math.hKristian Evers
2018-05-08Add NAN definition to proj_math.hKristian Evers
2018-05-08Merge pull request #989 from kbevers/clang-tidyingKristian Evers
Clang tidying
2018-05-08Merge pull request #988 from kbevers/proj-V-errorKristian Evers
Reset errno when running proj in verbose mode.
2018-05-07Clean readability-named-parameter clang-tidy warningsKristian Evers
2018-05-07Clean readability-misleading-indentation clang-tidy warningsKristian Evers
2018-05-07Clean readability-redundant-declaratio clang-tidy warningsKristian Evers
Function prototypes were declared twice for the FFIO framework, probably because FFIO at some point during development existed as a separate file. With this commit the second set of function prototypes is removed leaving only the first entry at the top of the file. Similarly duplicate header inclusions has been removed.
2018-05-07Clean readability-inconsistent-declaration-parameter-name clang-tidy warningsKristian Evers
2018-05-07Clean readability-redundant-control-flow clang-tidy warningsKristian Evers
2018-05-07Reset errno when running proj in verbose mode.Kristian Evers
Fixes #920.
2018-05-07Merge pull request #987 from kbevers/calcofi-refactorKristian Evers
Calcofi refactor
2018-05-07Refactor calcofi so that global parameters are handled in the projection setupKristian Evers
2018-05-06Do not error when setting up geos with +lat_0!=0Kristian Evers
2018-05-05Merge pull request #980 from mwtoews/doc-updateKristian Evers
Update docs for apps / manpages
2018-05-05Merge pull request #978 from rouault/cmake_fix_msysEven Rouault
cmake: fix build with msys where both pthread and win32 threads are detected (fixes #976)
2018-05-05geod usage: remove non-exist 'T', add 'l'mwtoews
2018-05-05cct usage: add 'I' to docs, re-order usage to same as docsmwtoews
2018-05-05proj usage: remove unused 'c', add 'vV' to invprojmwtoews
2018-05-04Add documentation to pj_phi2 by cffk@Kurt Schwehr
2018-05-04Fix C89 build failure with dphi.Kurt Schwehr
error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
2018-05-04Merge pull request #969 from Geomatys/masterKristian Evers
Update documentation and modularize the Java bindings
2018-05-04cmake: fix build with msys where both pthread and win32 threads are detected ↵Even Rouault
(fixes #976)
2018-05-04Convert errno literals to corresponding PJD symbolKurt Schwehr
2018-05-03Minor cleanup of pj_phi2.cKurt Schwehr
- tabs -> spaces - IWYU - #define -> static const typed - Combine definition and initialization - Define one var per statement - Use the defined symbol rather than embedding bare literals -18 -> PJD_ERR_NON_CON_INV_PHI2 Subset of fixes discussed in #971
2018-05-02Rename "Proj" as "PROJ" for the library name.Martin Desruisseaux
2018-05-02Use the #define constant generated by javac instead than a constant ↵Martin Desruisseaux
maintained manually.
2018-04-30Merge pull request #958 from rouault/safe_creation_of_pj_lockKristian Evers
Implement thread-safe creation of proj mutex (fixes #954)
2018-04-30Merge pull request #965 from schwehr/proj_mathKristian Evers
Move include of math.h inside include guard.
2018-04-30Move include of math.h inside include guard.Kurt Schwehr
No reason to include math.h more times. And balance whitespace a bit