aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-20imw_p: prevent division by zero in inverse pathEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13828 Credit to OSS Fuzz
2019-03-20CI: avoid CI to run on backport branchesEven Rouault
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-19Merge pull request #1333 from rouault/fix_1329Kristian Evers
proj_create_crs_to_crs: better deal with coordinates outside of bbox (fixes #1329)
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-19Doc: impove doc about OGC URNEven Rouault
2019-03-19Normalize CMake with cmakelint, 2-space indentMike Taves
2019-03-18Merge pull request #1328 from rouault/cppcheck_fixesKristian Evers
Fix some issues raised by latest cppcheck
2019-03-18Database: fix import of deprecated ellipsoid and geodetic_datum from ESRI ↵Even Rouault
database
2019-03-17Fix some issues raised by latest cppcheckEven Rouault
- coordinateoperation_internal.hpp: missing 'explicit' keyword - proj.cpp: unused 'generic' member in enumeration - init.cpp: useless assignment to a_orig and es_orig, because done again a few lines below. - crs.cpp: unused variable - datum.cpp: inefficient use of find() function - io.cpp: * missing 'static' qualifier for method * useles ternary test (left and right have same value) - aeqd.cpp: useless assignment of inv and fwd, snice done again a few lines below - isea.cpp: useless assignment of resolution and aperture since done again a few lines below, and with default values when params are absent - mod_ster.cpp: useless assignment of lp.lam, overriden in below code paths. - stere.cpp: false positive, but better not modify another variable than the iterator in a for() loop.
2019-03-17Merge pull request #1326 from rouault/fix_1323Kristian Evers
createOperation(): fix geocent <--> nadgrids+geoidgrids case (fixes #1323)
2019-03-17Merge pull request #1309 from kbevers/update-docsKristian Evers
Doc updates, most notably rewrite of FAQ
2019-03-17Merge pull request #1322 from rouault/ossfuzz_fixesKristian Evers
Various ossfuzz fixes
2019-03-17Remove outdated questions from FAQKristian Evers
More or less all old questions from the FAQ has been removed and replaced by new questions that align better with the current state of the project.
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-16Merge pull request #1324 from kbevers/molodensky-eccentricityKristian Evers
Use 1st eccentricity instead of 2nd eccentricity
2019-03-16Run scripts/reformat_cpp.shEven Rouault
2019-03-16Merge pull request #1325 from rouault/fix_breathe_4_12_0Even Rouault
Fix doc generation with Breathe 4.12.0
2019-03-16Fix doc generation with Breathe 4.12.0Even Rouault
Breathe 4.12.0 (as pulled by MacOSX builds such as https://travis-ci.com/OSGeo/proj.4/jobs/185395222) does not seem to like default initialization in documented C++ structs (regression/bug) /Users/travis/build/OSGeo/proj.4/docs/source/development/reference/cpp/io.rst:6:Parsing of expression failed. Using fallback parser. Error was: Error in postfix expression, expected primary expression or type. If primary expression: Invalid definition: Expected identifier in nested name. [error at 67] std::string osgeo::proj::io::AuthorityFactory::CRSInfo::authName = {} -------------------------------------------------------------------^ If type: Invalid definition: Expected identifier in nested name. [error at 67] std::string osgeo::proj::io::AuthorityFactory::CRSInfo::authName = {} -------------------------------------------------------------------^
2019-03-16Use 1st eccentricity instead of 2nd eccentricityKristian Evers
By mistake the second eccentricity was used in a few places in the Molodensky transform. According to the literature the first eccentricity should always be used in the eccentricity. This only affects the output slightly. Reported test coordinates differed by less than a millimeter. Fixes #1321
2019-03-16ocea: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11699 Credit to OSS Fuzz
2019-03-16ocea: code cleanup to use Snyder's conventionsEven 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-15Merge pull request #1319 from rouault/div_by_zero_molodenskyKristian Evers
Molodensky: avoid division by zero
2019-03-15Molodensky: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13069 Credit to OSS Fuzz
2019-03-15Merge pull request #1318 from rouault/reject_ecc_larger_than_oneKristian Evers
Reject eccentricity values larger than one
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-03-14Doc: State that +n is a required for param for urm5Kristian Evers
2019-03-12Merge pull request #1316 from seanwarren/masterKristian Evers
Fix cross-compilation detection
2019-03-11Doc: fix typo in ob_tranEven Rouault
2019-03-11Fix cross-compilation detectionSean Warren
2019-03-09Allow gie to use proj_create_crs_to_crs (#1314)Kristian Evers
The commands crs_src and crs_dst are introduced to allow operation initialization with proj_create_crs_to_crs. This has the benefit of using proj.db to select the proper operation. Additionally axis order is respected for the coordinate systems that are tested. This is beneficial when running the GIGS test suite for instance.
2019-03-06Merge pull request #1312 from kbevers/gie-exit-codeKristian Evers
Make gie return non-zero exit code when file can't be opened
2019-03-06Make gie return non-zero exit code when file can't be openedKristian Evers
2019-03-06Make proper reference to 'gie --list'Kristian Evers
2019-03-06Fix bad rst formattingKristian Evers
2019-03-06Add projinfo description to READMEKristian Evers
2019-03-06Improve formatting of program references on apps indexKristian Evers