aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-04-01paths set by user take priority over PROJ_LIB for search pathssnowman2
2019-04-01bonne: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14010 Credit to OSS Fuzz
2019-04-01pj_gauss_ini(): fix division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14003 Credit to OSS Fuzz
2019-04-01Merge pull request #1396 from rouault/ossfuzz_13947_13948Even Rouault
Ossfuzz 13947 13948
2019-04-01Merge pull request #1394 from rouault/improve_createoperations_missing_idsEven Rouault
createOperations(): improve behaviour with input CRS from WKT that lacks intermediate IDs (fixes #1343)
2019-03-30affine: remove duplicate #include "proj_internal.h"Chris Mayo
Introduced by "Merge projects.h into proj_internal.h" 8ab6f68.
2019-03-29tpeqd: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13948 Credit to OSS Fuzz
2019-03-29unitconvert: prevent division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13947 Credit to OSS Fuzz
2019-03-29Remove duplicate instances of #include "proj_internal.h"Chris Mayo
Introduced by "Merge projects.h into proj_internal.h" 8ab6f683.
2019-03-29createOperations(): improve behaviour with input CRS from WKT that lacks ↵Even Rouault
intermediate IDs (fixes #1343)
2019-03-29Adopt use of the noop conversion in ISO19111 codeKristian Evers
2019-03-29Merge pull request #1390 from rouault/createoperation_boundcrs_more_aggresiveEven Rouault
createOperations(): improve BoundCRS<-->non-bound-CRS case
2019-03-29Add proj_normalize_for_visualization()Even Rouault
Fixes #1301 This function takes the output PJ from proj_create_crs_to_crs(), and add (or undo) the needed axis swap operations so that the object returned by proj_normalize_for_visualization() has the usual GIS axis order. In this implementation, this does something only if the coordinate system of the source or target CRS, geographic or projected, has NORTH, EAST ordering. CompoundCRS wrapping those objects are also handled.
2019-03-28Add no-op operation. It does nothing.Kristian Evers
2019-03-28createOperations(): improve BoundCRS<-->non-bound-CRS caseEven Rouault
Fixes #1388 Typically helps for projinfo -s "+proj=longlat +ellps=GRS80 +towgs84=1,2,3 +type=crs" -t EPSG:4258 by researching operations from the pivot WGS84 implied by the towgs84 clause to EPSG:4258.
2019-03-28Merge pull request #1380 from rouault/fix_ocea_one_pointKristian Evers
ocea: fix behaviour when +alpha is specified
2019-03-28ocea: fix behaviour when +alpha is specifiedEven Rouault
The one-point case was completely broken with lat_0 being ignored. I've fixed that, and also modified the alpha orientation, so that the angle corresponds to the one of the 2 point case when going from point 1 to point 2, similarly to what omerc does. This was found rather experimentaly with the added test cases that try to find equivalence between 1-point and 2-point cases. Fixes #1379 and adresses https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13930
2019-03-28Objet -> ObjectNyall Dawson
2019-03-27factory.cpp: silence false positive warning. Coverity CID 193544Even Rouault
2019-03-27projinfo: caught uncaught exception. Coverity CID 193527Even Rouault
2019-03-27optargpm.h: fix remaining memleak in error code path. Coverity CID 193537Even Rouault
2019-03-27Merge pull request #1376 from rouault/ossfuzz_13894_follow_upKristian Evers
Ossfuzz 13894 follow up
2019-03-27Merge pull request #1373 from rouault/coverity_fixesKristian Evers
Coverity fixes
2019-03-26misrsom inverse: avoid division by zeroEven Rouault
Fixes testcase https://oss-fuzz.com/testcase-detail/5768588923764736 of https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13894
2019-03-26Merge pull request #1356 from cjmayo/pj_strerrnoKristian Evers
pj_strerrno: enable system error messages
2019-03-26Merge pull request #1349 from cjmayo/manoptsKristian Evers
Doc: Be consistent in use of +opts
2019-03-26omerc inverse: fix divisionEven Rouault
Test case https://oss-fuzz.com/testcase-detail/5739351578771456 of https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13894 Credit to OSS Fuzz
2019-03-26path_append(): make it clear that nullptr deref cannot happen. Coverity CID ↵Even Rouault
193530
2019-03-26pj_apply_gridshift(): make it obvious there is no memory leak. Coverity CID ↵Even Rouault
193535
2019-03-26read_vgrid_value(): make it clear that nullptr deref of ct->cvs cannot ↵Even Rouault
happen. Coverity CID 193525
2019-03-26cct.cpp: silence Coverity CID 193526Even Rouault
2019-03-26cct.cpp: silence Coverity CID 193536Even Rouault
2019-03-26cs2cs: remove dead code that would leak memory. Coverity CID 193534Even Rouault
2019-03-26proj/emess: fix null pointer dereference. CID 193533Even Rouault
2019-03-26gie.cpp: silence Coverity CID 193520Even Rouault
2019-03-26optargpm.h: fix memory leaks in error code paths. Coverity CID 193537Even Rouault
2019-03-26projinfo: catch potentially uncaugh exception. Coverity CID 193527Even Rouault
2019-03-26pj_gc_findgrid(): annotate likely memory leak. Coverity CID 193539Even Rouault
2019-03-26pj_gridinfo_init(): remove useless string copy. Coverity CID 193529Even Rouault
2019-03-26nad_init(): remove useless string copy. Coverity CID 193531Even Rouault
2019-03-26io.cpp: avoid error about unchecked return value. Coverity CID 193541Even Rouault
2019-03-26io.cpp: make it obvious that nullptr deref cannot happen. Coverity CID 193523Even Rouault
2019-03-26factory.cpp: make closeDB() noexcept so that DatabaseContext::Private ↵Even Rouault
destructor cannot throw. Coverity CID 193518
2019-03-26crs.cpp: make it clear to analyzer that buffer will not overflow. Coverity ↵Even Rouault
CID 193528 and 193540
2019-03-26coordinateoperation.cpp: remove dead code. Coverity CID 193522Even Rouault
2019-03-26coordinateoperation.cpp: silent false positive about copy paste error. ↵Even Rouault
Coverity CID 193519
2019-03-26c_api.cpp: avoid mixing enum types. Coverity CID 193542Even Rouault
2019-03-26factory.cpp: avoid warning about int truncation. Coverity CID 193544Even Rouault
2019-03-26Merge pull request #1369 from rouault/grid_fixesEven Rouault
Grid related fixes
2019-03-25lookForGridInfo(): correctly return that a grid is present, if present on ↵Even Rouault
the file system, but not in the database