aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-28Add PJD_ERR_* aliases for error numbers without oneKristian Evers
2017-09-28Support a default destructor for PJ objectsThomas Knudsen
2017-09-25fix #560 install cmake config file to lib and use GNUInstallDirs on Unix (#561)Nicolas David
* fix #560 install proj4-config.cmake to defaut path * add some variable and cmake option to specify where the cmake config file should be installed. * change project_root_dir use in project-config.cmake.in variable from hard coded path to computed path with file(RELATIVE_PATH) function. * Still use the old project-config.cmake/configure_file way of generate config file. A cleaner way could be to use the modern cmake export(target ..) * use GNUInstallDirs for default unix install path
2017-09-25Merge pull request #570 from kbevers/api-streamliningKristian Evers
Streamlining the proj.h API
2017-09-22Add 'expected accuracy' member to PJ_PROJ_INFO struct.Kristian Evers
2017-09-21Changed a few occurences of 'const PJ*' to just 'PJ*' since they were making ↵Kristian Evers
promises that couldn't be kept
2017-09-21Use FACTORS and DERIVS structs from projects.h instead of duplicating them ↵Kristian Evers
in proj.h
2017-09-21Use Python2 in favour of Python3 which behaves inconsistenly on Travis (#573)Kristian Evers
2017-09-20Revert to using pip3Kristian Evers
2017-09-20Use python 3.5 with pyenvKristian Evers
2017-09-20Use pip instead of pip3. pyevn should enforce usage of python3-compatible ↵Kristian Evers
version of pip.
2017-09-13Make proj_destroy and proj_context_destroy behave in the same way.Kristian Evers
2017-09-13Introduce PJ_DEFAULT_CTX constant that improves code readabilityKristian Evers
2017-09-13make PJ* P argument of proj_lp_dist constKristian Evers
2017-09-13Add typedef for transformation direction enumKristian Evers
2017-09-13Change how existance of strings in info-structs are checked. Before this ↵Kristian Evers
commit they always evaluated as true. Fixes #568.
2017-09-12Merge pull request #564 from kbevers/proj-respect-input-output-unitsKristian Evers
proj: Do rad->deg conversion if output units warrants it
2017-09-12Merge pull request #567 from kbevers/issue-566Even Rouault
Fix for #566.
2017-09-12Make sure all platform specific before_install scripts call the global ↵Kristian Evers
before_install script. Python version setup moved to global before_install script.
2017-09-12Move python version setup to build matrix. Different Travis platforms seem ↵Kristian Evers
to have different setups. This *should* take care of the differing python setups between linux and osx.
2017-09-11Set python version to 3.6 with pyenvKristian Evers
2017-09-11Select python version via travis setup instead of using pyenv (which is not ↵Kristian Evers
consistent across platforms)
2017-09-09Potential fix for pip3 failure on travis, as suggested in ↵Kristian Evers
https://github.com/travis-ci/travis-ci/issues/8363
2017-09-09Tested for wrong indices before array lookup. Fixes #566.Kristian Evers
2017-09-07PJ_ob_tran: fix potential memory leak. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3321. Credit to OSS Fuzz
2017-09-06Add PJ_FACTORS bit flags to proj.hKristian Evers
2017-09-05proj: Do rad->deg conversion if output units warrants it.Kristian Evers
With the introduction of transformation pipelines it is possible to create a pipeline that has degrees as it's output unit. If that is the case the output coordinate will be in radians internally. This commit makes sure that a conversion to degrees is applied before printing to stdout.
2017-09-05PJ_unitconvert: fix memory leak. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3288. Credit to OSS Fuzz
2017-09-05Reformat proj.c before making functional changes.Kristian Evers
Mixed usage of tabs and spaces replaced with spaces. Code slightly reformatted to present a consistent style from top to bottom.
2017-09-04PJ_hgridshift.c: fix memleak in initialization if grid loading fail. Same ↵Even Rouault
fix as commit e1ad1046873056ab3bfc3262bd343e8c874f395c. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3276. Credit to OSS Fuzz
2017-09-03PJ_goode: fix memory leak. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3274. Credit to OSS Fuzz
2017-08-30Merge pull request #562 from cffk/geod-1.49Charles Karney
Release candidate for geodesic library version 1.49.
2017-08-30Empty commit -- Correction to log message for previous commit:Charles Karney
coverage of geodesic.c is good (88%).
2017-08-30Back out of previous change. Coverage stats are still wrong. geodtestCharles Karney
should have included geodesic.c and not geod.c and yet I'm not allowed to use geodesic.c except through the library and then the coverage of geodesic.c seems to be wildly wrong.
2017-08-30Rejig how geodtest is specified in automake to make coverage stats accurate??Charles Karney
2017-08-30Add geodtest to autoconf's 'make check' suite.Charles Karney
It's already including in cmake's test suite.
2017-08-30urm5: fix memory leaks in error code paths of initialization. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3235. Credit to OSS Fuzz
2017-08-29Release candidate for geodesic library version 1.49.Charles Karney
Only substantial changes are (1) testing the HAVE_C99_MATH flag and acting accordingly and (2) adding a couple of tests.
2017-08-29Add myself to AUTHORSEven Rouault
2017-08-29PJ_horner.c: fix memory leaks. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3204. Credit to OSS Fuzz
2017-08-21Added myself and Kristian Evers to AUTHORS file; Removed attribution … (#558)Thomas Knudsen
* Added myself and Kristian Evers to AUTHORS file; Removed attribution for my 1999 contribution from proj.c * Add missing lf before eof
2017-08-20Merge pull request #553 from edechaux/masterEven Rouault
Fix the Solaris 11.3 compilation error
2017-08-20PJ_aea.c: fix memory leak in error code path. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2723. Credit to OSS Fuzz
2017-08-14Merge pull request #556 from lukecampbell/masterKristian Evers
Uses the mathjax formatting for geodesic equations
2017-08-14Merge pull request #557 from mwtoews/patch-1Kristian Evers
Fix ITRF2014
2017-08-14Fix ITRF2014Mike Toews
2017-08-13Merge pull request #555 from cffk/c99-math-testCharles Karney
Add tests for C99 math functions, hypot, atanh, cbrt, etc. -DHAVE_C99_MATH=1 is provided if these functions are available. This will be used by the next release of geodesic.c.
2017-08-11Uses the mathjax formatting for geodesic equationsLuke Campbell
The equations on the documentation page for geodesics were plaintext formatting and also contained a typo. This patch updates the formatting to use the sphinx supported MathJax syntax and corrects the typo.
2017-08-07Add ITRF init files (#552)Kristian Evers
* Add ITRF init files, that makes it easy to use ITRF transformations in pipelines * Added ITRF* files to the build systems
2017-08-07Adding info functions to proj.h API. (#551)Kristian Evers
* Adding info functions to proj.h API. Four new functions are added with this commit: proj_info(), proj_pj_info(), proj_grid_info() and proj_init_info(). Additionally four new data types are added: PJ_INFO, PJ_PROJ_INFO, PJ_GRID_INFO and PJ_INIT_INFO. The functions return the corresponding data types. These functions allows users of the PROJ.4 library to get information about various PROJ.4 entities and the library itself. The new data types are structs that contain specific information about either the library instance, a PJ instance, a grid or an init file. Together the four new functions cover a big part of the functionality in the semi-public projects.h API and should hopefully make it easier for user to migrate their code to the proj.h API in the future. Besides covering already existing functionality in the old API, this commit introduces the ability to add metadata to init-files. This is primarily added to give users a way of knowing which version of the EPSG database they are using, but it also comes in handy for other init-files. The init-file metadata is added directly to the init-file as a special "projection" called "metadata". The info projection of the epsg init-file is thus described as: <metadata> +version=9.0.0 +origin=EPSG +lastupdate=2017-01-10 The proj_init_info() function uses the internal pj_param() to read the metadata. As a consequence, "metadata" will not be available as a the name of a projection in the future. This is a reasonable price to pay considering the ease of the implementation of adding metadata to init-files this way, and of course that "metadata" is a very unlikely name for a projection in any case. A metadata tag has been added to all init-files in the nad-directory. For most only a subset of the possible parameters has been added. * Replaced calls to sprintf and strncpy with safer options. Added pj_strlcpy for internal use. * Fail gracefully when getting non-initialized PJ in proj_pj_info() * Change length of filename member in PJ_INIT_INFO and PJ_GRID_INFO to 260 (MAX_PATH)