aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-15Fix size_t comparisons in testsKai Pastor
2019-02-14Bump ABI version numberKristian Evers
2019-02-14Merge pull request #1264 from kbevers/remove-t_obsKristian Evers
Clean up time handling in helmert and deformation
2019-02-14Mark the external GTest package as requiredKai Pastor
GTest provides a configuration file, so we can disable the module mode. If the GTest package cannot be found, this shall be reported right here. (Note that while we specify a version, we do not require an EXACT match.)
2019-02-14Link gtest library with GTest:: prefixKai Pastor
GTest::gtest is the imported target supplied by find_package(GTest). For the internal build of GTest, this target is created as an alias for now: find_package cannot be used because the interal build does not get installed, and so a package config file is not available.
2019-02-14Remove legacy cmake commandsKai Pastor
PROJ requires CMake >= 3.5.
2019-02-14Use GTest 1.8.1Kai Pastor
This fixes issues with MinGW when threads are used.
2019-02-14Coordinate operations where a grid is present, but not in grid_alternatives ↵Even Rouault
table, should be considered as known to be sorted first
2019-02-14deformation: Replace +t_obs with +dtKristian Evers
The +t_obs parameter was confusing for users since it effectively overwrote the observation time in input coordinates. To make it more clear what is the operation is doing, users are now required to directly specify the time span for which they wish to apply a given deformation. The parameter +dt has been added for that purpose. The new parameter is mutually exclusive with +t_epoch. +dt is used when deformation for a set amount of time is needed and +t_epoch is used (in conjunction with the observation time of the input coordinate) when deformation from a specific epoch to the observation time is needed.
2019-02-14Merge remote-tracking branch 'osgeo/master' into remove-t_obsKristian Evers
2019-02-14Cosmetical changes to differences.rstKristian Evers
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