aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2019-03-21aea: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13827 Credit to OSS Fuzz
2019-03-20lcc: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12935 Credit to OSS Fuzz
2019-03-20isea: detect various int overflows and div by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2199 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2241 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2390 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7674 Credit to OSS Fuzz
2019-03-20ob_tran: detect potential recursionEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12266 Credit to OSS Fuzz
2019-03-20pj_calc_ellipsoid_params(): reject f=1Even Rouault
To avoid division by zero of b. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13830 Credit to OSS Fuzz
2019-03-20laea: error out if |lat_0|>90Even Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13829 Credit to OSS Fuzz
2019-03-20sterea: prevent division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13790 Credit to OSS Fuzz
2019-03-19Merge pull request #1330 from mwtoews/cmakeKristian Evers
Normalize CMake with cmakelint, 2-space indent
2019-03-19proj_create_crs_to_crs: better deal with coordinates outside of bbox (fixes ↵Even Rouault
#1329) In case several coordinate operations are returned for a CRS to CRS transformation, we currently determine the one to use by selecting the first operation whose bounding box contains the input point. This commit adds a fallback case where after doing that first iteration and finding no appropriate candidate, we try again by selecting the first operation available that does not involve grid based transformations.
2019-03-19Normalize CMake with cmakelint, 2-space indentMike Taves
2019-03-17Merge pull request #1326 from rouault/fix_1323Kristian Evers
createOperation(): fix geocent <--> nadgrids+geoidgrids case (fixes #1323)
2019-03-16createOperations(): fix nadgrids -> nadgrids+geoidgridsEven Rouault
2019-03-16createOperations(): fix nadgrids+geoidgrids -> nadgrids+geoidgridsEven Rouault
2019-03-16createOperation(): fix geocent <--> nadgrids+geoidgrids case (fixes #1323)Even Rouault
2019-03-16Helmert: avoid potential division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11893 Credit to OSS Fuzz
2019-03-16sterea: fix lat_0 = -90Even Rouault
A division by zero caused NaN values to be returned. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12062 Credit to OSS Fuzz
2019-03-16Hammer: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12799 Credit to OSS Fuzz
2019-03-16ellps_spherification(): detect invalid semi-major axis valueEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12909 Credit to OSS Fuzz
2019-03-16aea: validate |lat_1| and |lat_2| <= 90Even Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13028 Credit to OSS Fuzz
2019-03-14Reject eccentricity values larger than oneEven Rouault
Valid eccentricity should be between 0 (included) or 1 (excluded) Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13665 Credit to OSS Fuzz
2019-02-26builtins.gie: relax toleranc on +proj=tpeqd for netBSD8/g++-5.5/amd64Even Rouault
2019-02-24Robinson: fix wrong values for forward path for latitudes >= 87.5 (fixes ↵Even Rouault
#1172), and fix inaccurate inverse method
2019-02-24Fix data path used by cli tests (#1288)Elliott Sales de Andrade
All other tests use PROJ_LIB, and allow it to be overridden from the command-line, so do the same here.
2019-02-22proj.db: tune so that 'NGF IGN69 height to RGF93' uses the RAF09.gtx gridEven Rouault
2019-02-21Transformation: reintroduce the term of 'Null geographic offset' for ↵Even Rouault
transformations between geographic CRS of same datum (typically 3D to 2D)
2019-02-21Geog2D+Height -> Geog3D of same datum: avoid inserting a useless ballpark ↵Even Rouault
horizontal transformation
2019-02-21projinfo: add information about missing gridsEven Rouault
2019-02-21proj.db: add custom entry for 'RH2000 height to SWEREF99'Even Rouault
2019-02-20typo fixes: s/Explictly/Explicitly/ and s/instanciat/instantiat/Even Rouault
2019-02-20CoordinateOperation: add a hasBallparkTransformation() method that can be ↵Even Rouault
used to know if it includes a very approximative transformation term
2019-02-20CompoundCRS to Geog3DCRS: in synthetised transformation, document in the ↵Even Rouault
name we are lacking an ellipsoid height to vertCRS height correction
2019-02-20PROJStringFormatting: change order of emission of push/pop w.r.t axis ↵Even Rouault
swap/unitconvert to avoid useless simplification rules
2019-02-20projinfo: advertize the use of '--spatial-test intersects' when it can bring ↵Even Rouault
more results
2019-02-20PROJStringFormatter: remove useless push/pop in another caseEven Rouault
2019-02-20Vertical CRS transformation: synthetize a vertical unit change ↵Even Rouault
transformation when needed, and also sort Null geographic offset transformation in last
2019-02-20compoundCRS to compoundCRS: avoid emitting dummy 'Null geographic offset ↵Even Rouault
from X to X' in transformation name
2019-02-20Add VERTCON grid name alternatives in database, and handle filename ↵Even Rouault
substitution for VERTCON method
2019-02-18Fix a few issues with i386 buildsEven Rouault
Relax tolerances in a few unit test, and in laea code. Seen with gcc 5.3 and also 7.1 Related to the use of the 387 floating-point math, since they disappear with gcc 7.1 if using non-default -mfpmath=sse -msse
2019-02-18Merge pull request #1276 from ↵Kristian Evers
rouault/intermediate_crs_use_only_if_no_direct_transformation Modify the default strategy of researching intermediate CRS to do it only if there is no direct transformation
2019-02-17tests: implement fuzzy proj string comparison in a few problematic test ↵Even Rouault
cases on non-x86 arch (fixes #1275)
2019-02-17Modify the default strategy of researching intermediate CRS to do it only if ↵Even Rouault
there is no direct transformation
2019-02-17Slack tolerance in deg->rad unitconvert testKristian Evers
2019-02-16Make sure proj_get_source_crs() and proj_get_target_crs() work on 'pseudo' ↵Even Rouault
PJ object returned by proj_create_crs_to_crs() when there are several alternatives
2019-02-16Make sure that the PJ object returned by proj_create_crs_to_crs() is a ↵Even Rouault
proper CoordinateOperation so that we can call proj_get_source_crs() on it for example
2019-02-15Merge pull request #1265 from dg0yt/gtest-mingwKristian Evers
Fix issues with Gtest and MinGW
2019-02-15Fix size_t comparisons in testsKai Pastor
2019-02-14Merge pull request #1264 from kbevers/remove-t_obsKristian Evers
Clean up time handling in helmert and deformation
2019-02-14Mark the external GTest package as requiredKai Pastor
GTest provides a configuration file, so we can disable the module mode. If the GTest package cannot be found, this shall be reported right here. (Note that while we specify a version, we do not require an EXACT match.)
2019-02-14Link gtest library with GTest:: prefixKai Pastor
GTest::gtest is the imported target supplied by find_package(GTest). For the internal build of GTest, this target is created as an alias for now: find_package cannot be used because the interal build does not get installed, and so a package config file is not available.
2019-02-14Remove legacy cmake commandsKai Pastor
PROJ requires CMake >= 3.5.