aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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...
2019-01-08pj_ell_set(): remove memset() illegal on C++ object, as pointed by cppcheckEven Rouault
2019-01-07Update wkt2_grammar.py according to the latest draft of WKT2:2018Even Rouault
2019-01-05Merge remote-tracking branch 'rouault/gdalbarn'Even Rouault
2019-01-04WKT export: no longer export Geographic 3D CRS in WKT1, unless strict mode ↵Even Rouault
is disabled
2019-01-04Merge pull request #1205 from kbevers/masterKristian Evers
Better handling of pipelines including step with PJ_IO_UNITS_WHATEVER operations
2019-01-04Replace PJ_IO_UNITS_WHATEVER with units from neighbour stepsKristian Evers
With this commit we make sure that proj_angular_input() and proj_angular_output return the correct result for any given pipeline.
2019-01-04Fix use-after-free in debug logging of pj_ellipsoid() (probably caused by a ↵Even Rouault
recent master commit)
2019-01-03Rename PJ_IO_UNITS_ANGULAR to PJ_IO_UNITS_RADIANSKristian Evers
This communicates better what the unit actually is. It also opens the door for potentially adding PJ_IO_UNITS_DEGREES in the future in order to coordinates in degrees correctly as well.
2019-01-02WKT CONCATENATEDOPERATION parsing: allow CONVERSION steps and reverse ↵Even Rouault
operations when neededs (fixes #1197)
2019-01-02Typo fixesEven Rouault
2019-01-01Split ISO19111 C API docs into functions and typesKristian Evers
The rest of the C API is structured such that type definitions goes into one page and functions to another. This commit makes sure the same is done for the C bindings to the ISO19111 C++ API by defining two doxygen groups in proj.h, which is then organized into the proper pages with Sphinx and breathe.