aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-14Reverse direction of deformation operations/transformations/deformationKristian Evers
Changed the direction of dt-calculation to follow the same convention as helmert. Changed from dt = t_c - t_obs to dt = t_obs - t_c, which effectively reverses the direction of the operation. Existing projstrings using deformation can simply reverse the direction of the operation to achieve the same results as before this commit.
2019-02-14Merge pull request #1262 from mloskot/ml/require-cmake-cxx-standardKristian Evers
Set CMake variable CXX_STANDARD with C++11 as default
2019-02-14Merge pull request #1261 from rouault/make_iso19111_use_push_popKristian Evers
EPSG Helmert and Molodensky-Badekas methods in the Geographic 2D domain: use the push/pop v_3 operator to preserve the Z component
2019-02-13Set CMake variable CXX_STANDARD with C++11 as defaultMateusz Łoskot
Set required C++ standard version with CMake variable instead of hand-rolled compiler-specific flags. Allow user to override the default with -DCMAKE_CXX_STANDARD={98,11,14,17,20} Closes #1118
2019-02-13EPSG Helmert and Molodensky-Badekas methods in the Geographic 2D domain: use ↵Even Rouault
the push/pop v_3 operator to preserve the Z component
2019-02-13PROJ string parsing: no longer attempt to build a CoordinateOperation object ↵Even Rouault
from +proj=helmert/molodensky since there are ambiguities
2019-02-13Merge pull request #1260 from cffk/cmake-namespace-targetKristian Evers
Address issue #801: set CMake ${PROJ4_LIBRARIES} to PROJ4::proj
2019-02-13Merge pull request #1250 from kbevers/pipestackKristian Evers
Pipeline coordinate stack (push and pop operations)
2019-02-13Address issue #801: set CMake ${PROJ4_LIBRARIES} to PROJ4::projCharles Karney
2019-02-13Add push and pop operationsKristian Evers
This commit introduces the concept of a pipeline coordinate stack in which components of coordinates can be saved and loaded from. This makes it possible to moved values from one step of a pipeline to another, effectively overwriting parts of the output from a given step.
2019-02-12Merge remote-tracking branch 'osgeo/master' into pipestackKristian Evers
2019-02-12Merge pull request #1259 from kbevers/fix-testcctKristian Evers
Fix testcct and add new cli tests to CMake setup
2019-02-12Add testprojinfo and testcct to CMake setupKristian Evers
2019-02-12Fix typoEven Rouault
2019-02-12Fix build failureEven Rouault
2019-02-11Make tmerc an alias for etmerc. (#1234)Kristian Evers
* Make tmerc an alias for etmerc This switches the algorithm used in tmerc to the Poder/Engsager tmerc algorithm. The original tmerc algorithm of Evenden/Snyder origin can still be accessed by adding the +approx flag when initializing a tmerc projection. The +approx flag can also be used when initializing UTM projections, in which case the Evenden/Snyder algorithm is used as well. If a tmerc projection is instantiated on a spherical earth the Evenden/Snyder algorithm is used as well since the Poder/Engsager algorithm is only defined on the ellipsoid. +proj=etmerc can still be instantiated for backwards compatibility reasons. Co-authored-by: Kristian Evers <kristianevers@gmail.com> Co-authored-by: Even Rouault <even.rouault@spatialys.com>
2019-02-11test/cli/testcct: add minimalistic test of cctEven Rouault
2019-02-11cct: fix memory leakEven Rouault
2019-02-11Use pj_new()Even Rouault
2019-02-11Merge pull request #1254 from rouault/remove_bivevalKristian Evers
Completely remove Chebychev remains from codebase
2019-02-10Completely remove Chebychev remains from codebaseEven Rouault
c6ab83f5742bc5ac6f9cb9a8b2a4f1ea241b6f63 already removed their availability in user facing application, but the library code remained, and appeared to be unused by the rest of the library, and not available to library users, the API being only in proj_internal.h. So remove all remains.
2019-02-09Add m4/pkg.m4 to potential fix oss-fuzz build issue ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12964 / https://oss-fuzz-build-logs.storage.googleapis.com/log-6c3169d0-803f-4725-9308-ae9d7fe0df58.txt
2019-02-09Merge pull request #1253 from QuLogic/no-install.inKristian Evers
Remove data/install.in.
2019-02-08Remove data/install.in.Elliott Sales de Andrade
The files referenced in it (and more) are already installed by listing them in `pkgdata_DATA` (for autotools) and in the `install` command (for CMake).
2019-02-08Do not install non-existing proj_def.dat data fileKristian Evers
2019-02-07Rename proj_crs_list_destroy() to proj_crs_info_list_destroy()Even Rouault
2019-02-07Merge pull request #1251 from rouault/add_proj_get_crs_info_list_from_databaseEven Rouault
Add proj_get_crs_info_list_from_database()
2019-02-07Add proj_get_crs_info_list_from_database()Even Rouault
This method is intended to be used typically by GUI that lists all possible CRS. What is does could be done by previously existing functions, but it is much faster. It typically runs in less than 0.1s (hot run) versus ~0.5s with the method that consists in enumerating all codes and instanciating a PJ object for each of them.
2019-02-06Shut up pj_create_internal when varifying validity of generated proj-stringKristian Evers
2019-02-06ISO19111: Handle database area objects with no bounding boxEven Rouault
2019-02-05PROJStringParser::createFromPROJString(): avoid potential infinite loop. ↵Even Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12913. Credit to OSS Fuzz
2019-02-05Merge pull request #1248 from kbevers/remove-nad2binKristian Evers
Remove all traces of nad2bin and nad2nad
2019-02-05Merge pull request #1246 from QuLogic/external-depsKristian Evers
Improve checks for external deps
2019-02-04CI: Install cross-compiled sqlite3 to cross directory.Elliott Sales de Andrade
2019-02-04Remove all traces of nad2bin and nad2nadKristian Evers
The source material for the default grids used by PROJ has been moved to the proj-datumgrid repository. For that reason it is no longer necessary to include the nad2bin program in the PROJ repository and source distribution. From now on the nad2bin application will be kept in the proj-datumgrid repo. Previously the null grid was generated by running nad2bin on the null.lla file. Since nad2bin is no longer available null.lla has been replaced by its binary counterpart null. This file will be distributed and installed alongside PROJ. Build scripts and documenation has been adjusted so that nad2bin is not mentioned anywhere. Additionally all references to nad2nad has been removed as well. nad2nad has not been part of the PROJ distribution for quite some time so this has been long overdue.
2019-02-04Allow building against external GTest with CMake.Elliott Sales de Andrade
2019-02-04Allow building against external GTest with autotools.Elliott Sales de Andrade
2019-02-04Use pkgconfig to find sqlite3.Elliott Sales de Andrade
2019-02-03Merge pull request #1247 from jef-n/patch-1Even Rouault
typo fix
2019-02-03typo fixJürgen Fischer
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-02Merge pull request #1244 from rouault/ossfuzz_fixEven Rouault
Export class for 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-02Export class for oss-fuzzEven Rouault
2019-02-01Remove +t_obs parameter from helmert operationKristian Evers