aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-02-03init(): repair to_meter=num/denom that was broken in the general case in ↵Even Rouault
PROJ 5; repair vto_meter=num/denom that was broken, and avoid division by zero, which fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12869. Credit to OSS Fuzz
2019-02-03Avoid division by zero in Ellipsoid::computeSemiMinorAxis(). Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12867. Credit to OSS Fuzz. master only
2019-02-03WKT1 export: avoid division by zero. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12854. Credit to OSS Fuzz
2019-02-03labrd: avoid floating point division by zero. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12849. Credit to OSS Fuzz
2019-02-02pj_ellipsoid(): avoid division by zero when R=0. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12843. Credit to OSS Fuzz
2019-02-02createFromUserInput(): fix infinite recursion. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12842. Credit to OSS Fuzz
2019-02-02PROJStringSyntaxParser: avoid assertion on illegal input. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12837. Credit to OSS Fuzz
2019-02-01Remove +t_obs parameter from helmert operationKristian Evers
2019-02-01Remove extreaneous semicolonEven Rouault
2019-01-31exportToWKT(): restrict a8e7ef45d132b44dd4096c6fe3703fe92b390d1e to TOWGS84 ↵Even Rouault
only to avoid breaking other use cases
2019-01-26proj_trans_generic(): make it work with multiple internal coordinate ↵Even Rouault
operations (fixes #1237)
2019-01-25exportToWKT(): avoid excessive numeric precision (especially when ↵gdalbarnEven Rouault
roundtripping TOWGS84 scale difference)
2019-01-25wkt2_grammar: update to changes of 19162_draft_2019-01-23Even Rouault
2019-01-22cs2cs: improve detection of 'cs2cs [-....] SRC DST' syntaxEven Rouault
2019-01-22Merge pull request #1233 from rouault/fix_1232Kristian Evers
Coordinate operation computation with boundcrs / wktext: drop useless early bindins terms in generated pipeline (fixes #1232)
2019-01-22Coordinate operation computation with CRS with extension string: replace ↵Even Rouault
datum by ellps
2019-01-22Merge pull request #1231 from rouault/fix_1229Even Rouault
proj_create_crs_to_crs(): defer selection of actual coordinate operation until proj_trans() is called (fixes #1229)
2019-01-22ISO19111 PROJ string parser: discard parameters not recognized by PROJEven Rouault
2019-01-22exportToWKT: use upper-case exponent (E) to conform to WKT-2 EBNFEven Rouault
2019-01-22Coordinate operation computation with boundcrs / wktext: drop useless early ↵Even Rouault
bindins terms in generated pipeline (fixes #1232)
2019-01-22proj_create_crs_to_crs(): defer selection of actual coordinate operation ↵Even Rouault
until proj_trans() is called (fixes #1229)
2019-01-22ISO19111: clean interface of DataEpoch classEven Rouault
2019-01-20Merge pull request #1230 from rouault/space_in_grid_namesKristian Evers
Add support for spaces in grid name parameters (fixes #1152)
2019-01-19Doc: add doc for projinfo (fixes #1183)Even Rouault
2019-01-19Add support for spaces in grid name parameters (fixes #1152)Even Rouault
2019-01-19typo fixesEven Rouault
2019-01-19Merge pull request #1226 from kbevers/remove-chebyshevKristian Evers
Remove Chebyshev polynomials from proj
2019-01-18Remove Chebyshev polynomials from projKristian Evers
2019-01-18Merge pull request #1225 from aaronpuchert/add-null-checkKristian Evers
Handle allocation failure in pj_trim_argv
2019-01-18Merge pull request #1223 from rouault/unify_proj_createKristian Evers
Unify proj_create(), proj_create_from_user_input() and proj_create_from_proj_string() (fixes #1214)
2019-01-17Remove proj_create_from_proj_string() and proj_create_from_user_input(), and ↵Even Rouault
make proj_create() do more or less what proj_create_from_user_input() did before (fixes #1214)
2019-01-17Handle allocation failure in pj_trim_argvAaron Puchert
The function can return nullptr, if calloc fails. If we then use that nullptr in pj_init_ctx_with_allow_init_epsg, we get a crash.
2019-01-17Remove wrong use of PROJ_CONST_DECL and replace it with PROJ_PURE_DECL ↵Even Rouault
(fixes #1224)
2019-01-17import/export PROJ strings from ISO19111 code: require/output +type=crs for ↵Even Rouault
CRS objects (refs #1214)
2019-01-16PROJBasedOperation: write it as a conformant CONVERSION WKT, and make it ↵Even Rouault
parsed appropriately on the reading side
2019-01-16wkt2_grammar: update to changes of 19162_draft_2019-01-16Even Rouault
2019-01-15projinfo: output WKT2_2018 by default (fixes #1187)Even Rouault
2019-01-10wkt2_grammar: update to changes of 19162_draft_2019-01-09Even Rouault
2019-01-10proj_info(): report the hardcoded PROJ_LIB path in info.searchpath (if the ↵Even Rouault
env variable is not defined), and no longer report HOME that is only used for files starting with '~'
2019-01-10Doc: document interaction issues between objects create with proj_create() ↵Even Rouault
vs the ones of the C++ API (fixes #1213) (#1215)
2019-01-09Merge pull request #1218 from rouault/search_pathKristian Evers
Add API in proj.h to set a file finder callback and search paths; support multiple directories in PROJ_LIB
2019-01-09createOperations(): fix a particular case of boundcrs to boundcrs ↵Even Rouault
transformation (fixes #1220)
2019-01-09PROJ_LIB: support multiple paths supported by colon on Unix and semi-colon ↵Even Rouault
on Windows (fixes #1150)
2019-01-09proj.h: add proj_context_set_file_finder() and ↵Even Rouault
proj_context_set_search_paths() (refs #1150)
2019-01-09Allocate projCtx_t as a C++ objectEven Rouault
2019-01-09Merge pull request #1217 from rouault/remove_proj_5_crs_exportEven Rouault
ISO19111: remove PROJ.5 specific format for CRS (refs #1214)
2019-01-09proj.db search: use pj_find_file() mechanism instead of hand coded ↵Even Rouault
simplified version of it
2019-01-08projinfo: use PROJ.4 label for CRS, and PROJ otherwise. Add test case for ↵Even Rouault
CRS with towgs84 keyword
2019-01-08Fix export of BoundCRS as with PROJ_5 conventionEven Rouault
2019-01-08ISO19111: remove PROJ.5 specific format for CRS (refs #1214)Even Rouault
As discussed in https://github.com/OSGeo/proj.4/issues/1214#issuecomment-452084720, the introduction of a new PROJ.5 format to export CRS using pipeline/unitconvert/axisswap as an attempt of improving the PROJ.4 format used by GDAL and other products is likely a dead-end since it is still lossy in many aspects and can cause confusion with coodinate operations. Consequently the PROJ_5 convention will be identical to PROJ_4 for CRS export. Note: on the import side, I've kept the code that could parse unitconvert and axisswap when building a CRS definition from a pipeline. It is there as a hidden feature as it was kind of a tear to remove that code in case it might still be useful...