aboutsummaryrefslogtreecommitdiff
path: root/src/apps
AgeCommit message (Collapse)Author
2019-09-15cs2cs: autopromote CRS to 3D when there's a mix of 2D and 3D (fixes #1563)Even Rouault
2019-08-26Add a proj_cleanup() function to free global resources, typically at process ↵Even Rouault
termination
2019-08-20Merge pull request #1547 from rouault/json_exportEven Rouault
Add CRS JSON export (refs #1545)
2019-08-09projinfo: document PROJJSON output, and add single-line output capabilityEven Rouault
2019-08-09createFromUserInput(): add capability to import PROJJSONEven Rouault
2019-08-09projinfo: rename JSON to PROJJSONEven Rouault
2019-07-18Remove obsolete Solaris defineedechaux
sys_errlist has been remove from Solaris 8 and after and is replaced by strerror
2019-07-08CRS JSON: export GeographicCRS and Projected CRSEven Rouault
2019-05-05geos: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14602 Credit to OSS Fuzz
2019-05-03cs2cs: set time value to HUGE_VAL if not explicitly specifiedEven Rouault
2019-04-20proj/cs2cs: validate value of -f parameter to avoid potential crashes (fixes ↵Even Rouault
#124)
2019-04-04Reject negative e parameter to avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14044 Credit to OSS Fuzz
2019-04-03Merge pull request #1408 from rouault/ossfuzz_14015Kristian Evers
Fixes Ossfuzz 14015 and gie bug
2019-04-02gie: fix tolerance checkingEven Rouault
When comparing expected result with got result, in the case the distance computation returns NaN, gie incorrectly considered the test to be OK. Adapt / comment out a few broken tests revealed after that fix.
2019-04-02Make sure that ISO19111 C++ code sets pj_errno on errorsKristian Evers
2019-03-29Remove duplicate instances of #include "proj_internal.h"Chris Mayo
Introduced by "Merge projects.h into proj_internal.h" 8ab6f683.
2019-03-27projinfo: caught uncaught exception. Coverity CID 193527Even Rouault
2019-03-27optargpm.h: fix remaining memleak in error code path. Coverity CID 193537Even Rouault
2019-03-27Merge pull request #1373 from rouault/coverity_fixesKristian Evers
Coverity fixes
2019-03-26Merge pull request #1349 from cjmayo/manoptsKristian Evers
Doc: Be consistent in use of +opts
2019-03-26cct.cpp: silence Coverity CID 193526Even Rouault
2019-03-26cct.cpp: silence Coverity CID 193536Even Rouault
2019-03-26cs2cs: remove dead code that would leak memory. Coverity CID 193534Even Rouault
2019-03-26proj/emess: fix null pointer dereference. CID 193533Even Rouault
2019-03-26gie.cpp: silence Coverity CID 193520Even Rouault
2019-03-26optargpm.h: fix memory leaks in error code paths. Coverity CID 193537Even Rouault
2019-03-26projinfo: catch potentially uncaugh exception. Coverity CID 193527Even Rouault
2019-03-25projinfo.cpp: formatting fixEven Rouault
2019-03-24Doc: consistently use +opt and bracketsChris Mayo
+opt represents one parameter. An ellipsis indicates additional instances of the previous parameter may be given. Spaces are used between parameters and before an ellipsis, not purely to format brackets. See man(1) SYNOPSIS conventions.
2019-03-24Make cs2cs support 4D coordinates.Kristian Evers
This is a bit of a hack, 4D coordinates *will* be written to STDOUT but the output format speficied with -f is not respected for the t component, rather it is forward verbatim from the input. Fixes #1354
2019-03-22Merge pull request #1336 from cjmayo/strerrorKristian Evers
Build: automatically enable system error messages
2019-03-21Build: automatically enable system error messagesChris Mayo
Define HAVE_STRERROR during configuration. Before: $ cs2cs +proj=latlong +to +proj=latlong dummy <cs2cs>: Sys errno: 2: <system mess. texts unavail.> dummy After: $ cs2cs +proj=latlong +to +proj=latlong dummy <cs2cs>: Sys errno: 2: No such file or directory dummy
2019-03-21Add -k ellipsoid option to projinfo (#1338)Nyall Dawson
Allows querying of ellipsoid definitions by auth:code lookup
2019-03-17Fix some issues raised by latest cppcheckEven Rouault
- coordinateoperation_internal.hpp: missing 'explicit' keyword - proj.cpp: unused 'generic' member in enumeration - init.cpp: useless assignment to a_orig and es_orig, because done again a few lines below. - crs.cpp: unused variable - datum.cpp: inefficient use of find() function - io.cpp: * missing 'static' qualifier for method * useles ternary test (left and right have same value) - aeqd.cpp: useless assignment of inv and fwd, snice done again a few lines below - isea.cpp: useless assignment of resolution and aperture since done again a few lines below, and with default values when params are absent - mod_ster.cpp: useless assignment of lp.lam, overriden in below code paths. - stere.cpp: false positive, but better not modify another variable than the iterator in a for() loop.
2019-03-09Allow gie to use proj_create_crs_to_crs (#1314)Kristian Evers
The commands crs_src and crs_dst are introduced to allow operation initialization with proj_create_crs_to_crs. This has the benefit of using proj.db to select the proper operation. Additionally axis order is respected for the coordinate systems that are tested. This is beneficial when running the GIGS test suite for instance.
2019-03-06Make gie return non-zero exit code when file can't be openedKristian Evers
2019-02-26Fix build issues on SolarisEven Rouault
2019-02-21projinfo: add information about missing gridsEven Rouault
2019-02-20typo fixes: s/Explictly/Explicitly/ and s/instanciat/instantiat/Even Rouault
2019-02-20CoordinateOperation: add a hasBallparkTransformation() method that can be ↵Even Rouault
used to know if it includes a very approximative transformation term
2019-02-20projinfo: advertize the use of '--spatial-test intersects' when it can bring ↵Even Rouault
more results
2019-02-17Modify the default strategy of researching intermediate CRS to do it only if ↵Even Rouault
there is no direct transformation
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-11cct: fix memory leakEven Rouault
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-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-01-22cs2cs: improve detection of 'cs2cs [-....] SRC DST' syntaxEven Rouault
2019-01-19Doc: add doc for projinfo (fixes #1183)Even 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