aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-04-12Add --skip-lines option to cctKristian Evers
With this it is possible to skip the header when transforming coordinates from a file.
2018-04-12Use log1p in forward spherical mercatorJavier Goizueta
2018-04-12Fix: use proper double epsilon declarationJavier Goizueta
2018-04-12Enhance the precision of Spherical Mercator projection near the equatorJavier Goizueta
This uses a linear approximation of tan(x+pi/4) for better precision at small latitudes. As a result points of latitude 0 maintain a 0 Y coordinate and 0,0 is transformed to 0,0
2018-04-12Add webmerc projectionEven Rouault
2018-04-12Pipeline: make sure geocentric/cartesian space transform is done with ↵Even Rouault
original ellipsoid parameters (before any projection mess with them)
2018-04-12Merge pull request #923 from kbevers/cct-skip-n-linesKristian Evers
Add --skip-lines option to cct
2018-04-12Use log1p in forward spherical mercatorJavier Goizueta
2018-04-12Fix: use proper double epsilon declarationJavier Goizueta
2018-04-11Enhance the precision of Spherical Mercator projection near the equatorJavier Goizueta
This uses a linear approximation of tan(x+pi/4) for better precision at small latitudes. As a result points of latitude 0 maintain a 0 Y coordinate and 0,0 is transformed to 0,0
2018-04-09Add webmerc projectionEven Rouault
2018-04-07Pipeline: make sure geocentric/cartesian space transform is done with ↵Even Rouault
original ellipsoid parameters (before any projection mess with them)
2018-04-03Add --skip-lines option to cctKristian Evers
With this it is possible to skip the header when transforming coordinates from a file.
2018-03-30Improve log and documentation regarding t_obs in helmert and deformation ↵Even Rouault
operations
2018-03-30Return HUGE_VAL when errors are encounteredKristian Evers
2018-03-27Check for sweep_axis being an empty string in PJ_geos. (#908)Kurt Schwehr
Check for sweep_axis being an empty string in PJ_geos
2018-03-27Merge pull request #901 from mwtoews/dot4Kristian Evers
Rename CMake infrastructure to remove 4
2018-03-27Merge pull request #907 from kbevers/print-helpKristian Evers
Print help
2018-03-27Merge pull request #906 from kbevers/validate-pipeline-unitsKristian Evers
Validate pipeline units
2018-03-27Print help text when callin gie without argumentsKristian Evers
Previously gie would return "Nothing to do" when called without arguments. With this change the help text is returned instead.
2018-03-27Free memory on exitKristian Evers
2018-03-27Print help when calling cct without argumentsKristian Evers
Previously when calling cct without any arguments the following message would be presented to the user: cct: Bad transformation arguments - ((null)) 'cct -h' for help With this change the help instructions are returned instead.
2018-03-27Document --version option in cct and gieKristian Evers
2018-03-27Change units of axisswap to 'whatever'Kristian Evers
Since units are validated during pipeline setup we need to make sure that axisswap can be used for more than just projected outputs.
2018-03-27Validate that units match between pipeline stepsKristian Evers
As suggested in [0], steps in a pipeline are now checked for compliance. If the right side units in step n differ from the left side units in step n+1 the pipeline can't be constructed and an error is raised. [0] https://lists.osgeo.org/pipermail/grass-dev/2018-March/088123.html
2018-03-26Merge pull request #902 from schwehr/gie-timeKristian Evers
gie.c: Initialize test_time other fields.
2018-03-26Initialize test_time other fields.Kurt Schwehr
Leaving x, y, z fields unset triggers an MSAN failure. fwd_prepare pj_fwd.c:40:9 pj_fwd4d pj_fwd.c:260:15 proj_trans proj_4D_api.c:166:20 test_time gie.c:1955:11
2018-03-26Tidy soci/proj4 referencesMike Toews
2018-03-25Merge pull request #899 from schwehr/proj_etmerc-inf-zone-b76304619Kristian Evers
Catch over range lam0 in proj_etmerc.c
2018-03-25Catch over range lam0 in proj_etmerc.cKurt Schwehr
lam0 of inf caused a nan in the cast to int. Picked +/-1000 for lam0 as a guess for what constitutes reduculously large values. proj_etmerc.c:361:16: runtime error: nan is outside the range of representable values of type 'int' Found with autofuzz: UndefinedBehaviorSanitizer: float-cast-overflow
2018-03-25Merge pull request #893 from schwehr/horner-overflowKristian Evers
horner: Fail if the order is unreasonably large.
2018-03-24Merge pull request #896 from cffk/assertNaNKristian Evers
geodtest: introduce assertNaN. geodesic: comment on non-use of pj_is_nan.
2018-03-24Merge pull request #895 from schwehr/use-pj-is-nanKristian Evers
Use pj_is_nan rather than x == x or x != x (#894)
2018-03-23Use pj_is_nan rather than x == x or x != x in pj_apply_vgridshift.c (#894)Kurt Schwehr
2018-03-23geodtest.c, checkNaN: print arg on failure.Charles Karney
2018-03-23assertEquals -> checkEquals, assertNaN -> checkNaN.Charles Karney
2018-03-23geodtest: introduce assertNaN. geodesic: comment on non-use of pj_is_nan.Charles Karney
2018-03-23horner: Fail if the order is unreasonably large.Kurt Schwehr
Overflow in horner_alloc with "2*(int)order" Found with autofuzz with UndefinedBehaviorSanitizer: signed-integer-overflow
2018-03-23If HAVE_C99_MATH, define pj_is_nan as isnan.Charles Karney
Extend HAVE_C99_MATH checks in CMakeLists.txt and configure.ac to include test for C99 function isnan.
2018-03-23Undo mistaken push to master.Charles Karney
2018-03-23If HAVE_C99_MATH, then pj_is_nan is defined as isnan.Charles Karney
This required extending the HAVE_C99_MATH checks in CMakeLists.txt and configure.ac to include a test for the C99 function isnan.
2018-03-22Merge pull request #887 from schwehr/float-cast-overflowKristian Evers
Handle nan float cast overflow in PJ_robin.c and nad_intr.c
2018-03-22Handle nan float cast overflow in PJ_robin.c and nad_intr.cKurt Schwehr
Uses the new pj_is_nan to avoid x == x checks. Removes an assignment from an arg list
2018-03-22Add a simple implementation of pj_is_nan() to proj_internal.hKurt Schwehr
2018-03-22Merge pull request #886 from schwehr/log-levelKristian Evers
3 -> PJ_LOG_TRACE for pj_log level in pj_init.c
2018-03-22proj.h: update PROJ_VERSION_MAJOR.PROJ_VERSION_MINOR to 5.1Even Rouault
This will help avoiding issues for people tracking proj master and GDAL See https://lists.osgeo.org/pipermail/gdal-dev/2018-March/048285.html
2018-03-213 -> PJ_LOG_TRACE for pj_log level in pj_init.cKurt Schwehr
Bare literals are hard to follow and inconsisten with the rest of proj.
2018-03-21Merge pull request #882 from rouault/fix_881Kristian Evers
Take into account +towgs84=0,0,0 in pipeline to still imply geodetic->cartesian->geodetic (fixes #881)
2018-03-21Take into account +towgs84=0,0,0 in pipeline to still imply ↵Even Rouault
geodetic->cartesian->geodetic (fixes #881)
2018-03-21Merge pull request #883 from schwehr/ctable-nullKristian Evers
Handle the case where nad_ctable2_init returns NULL.