aboutsummaryrefslogtreecommitdiff
path: root/src/pj_apply_gridshift.c
AgeCommit message (Collapse)Author
2018-12-26cpp conversion: minimal steps to fix compilation errors, not warningsEven Rouault
2018-11-29cs2cs: upgrade to use proj_create_crs_to_crs()Even Rouault
2018-05-15IWYU: Partial PJ_natearth.c..rtodms.cKurt Schwehr
2018-05-07Clean readability-inconsistent-declaration-parameter-name clang-tidy warningsKristian Evers
2018-04-13Fix segfault in deformationKristian Evers
When transforming coordinates outside the grid model the deformation operation failed spectatularly. This is now fixed by checking that the coordinate is inside the grid. If it isn't an error is returned and a debugging log message is issued. Closes #934
2018-03-14Workaround false positive older cppcheck warning about null pointer dereferenceEven Rouault
2017-11-11pj_apply_gridshift_3(): avoid illegal read access with point outside any ↵Even Rouault
grid area. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3960. Credit to OSS Fuzz. master only
2017-10-31Fix heap-buffer-overflow in proj_hgrid_init.Kristian Evers
Resolves https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3940 Credit to OSS-Fuzz.
2017-10-29Refactor grid shift functions.Kristian Evers
This refactoring of the grid shift functions allows for easier access to the actual grid values, as well as making it possible to perform horizontal grid shift on a single coordinate without using the pj_apply_gridshift* functions. The latter simplifies the execution path of the forward and inverse functions in PJ_hgridshift.c. This commit introduces proj_*grid_init, proj_*grid_value and proj_hgrid_apply. The init functions initialises horizontal and vertical grids respectivelive (wrappers for pj_gridlist_from_nadgrids with simpler parameters). The proj_*grid_value functions returns the specific grid value at coordinate lp. The proj_hgrid_apply function applies the grid offset to the input coordinate and outputs the adjusted coordinate.
2017-02-26Fix warnings related to -Wshadow -Wnull-dereference -Wfloat-conversionr ↵Even Rouault
-Wmissing-prototypes -Wmissing-declarations
2016-12-12Add a scripts/fix_typos.sh script and correct reported errorsEven Rouault
2015-05-31Remove unused $Id$ keywords.Elliott Sales de Andrade
2015-05-30Fix unused function argument warnings.Elliott Sales de Andrade
2014-09-17fix NTv2 parent relationship problems (#177)Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2548 4e78687f-474d-0410-85f9-8d5e500ac6b2
2012-06-19first nearly working grid catalog implementationFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2219 4e78687f-474d-0410-85f9-8d5e500ac6b2
2012-02-09reformat commentFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2154 4e78687f-474d-0410-85f9-8d5e500ac6b2
2012-02-09do not let one point falling out of the datum shift grid area to cause the ↵Frank Warmerdam
remainder to not be transformed (#45) git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2153 4e78687f-474d-0410-85f9-8d5e500ac6b2
2012-02-01ensure pj_apply_gridshift() supports points up to epsilon outside mesh (#141)Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2152 4e78687f-474d-0410-85f9-8d5e500ac6b2
2010-06-11roll projCtx through various other low level functionsFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1856 4e78687f-474d-0410-85f9-8d5e500ac6b2
2010-06-11preliminary implementation of projCtx APIFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1854 4e78687f-474d-0410-85f9-8d5e500ac6b2
2010-03-16Rework the translation of nadgrids parameters into a list of gridshift files Frank Warmerdam
to avoid use of static "lastnadgrids" information which screws up multithreading. Changes the PJ structure. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1831 4e78687f-474d-0410-85f9-8d5e500ac6b2
2010-03-03various improvements to error handling so corrupt grids are reported (#66)Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1828 4e78687f-474d-0410-85f9-8d5e500ac6b2
2009-01-06removed CVS log messages since they are not maintained by subversionFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1504 4e78687f-474d-0410-85f9-8d5e500ac6b2
2003-03-20Fixed bug in checking against grid bounds.Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1116 4e78687f-474d-0410-85f9-8d5e500ac6b2
2003-03-17improved error handlingFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1102 4e78687f-474d-0410-85f9-8d5e500ac6b2
2003-03-17implement heirarchical NTv2 gridinfosFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1097 4e78687f-474d-0410-85f9-8d5e500ac6b2
2003-03-15preliminary NTv2 support, major restructure of datum shiftingFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1091 4e78687f-474d-0410-85f9-8d5e500ac6b2
2002-07-08ensure clean C++ buildsFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1025 4e78687f-474d-0410-85f9-8d5e500ac6b2
2002-04-30improve debug outputFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1009 4e78687f-474d-0410-85f9-8d5e500ac6b2
2001-03-15fixed intermittent problem in pj_load_nadgrids()Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@912 4e78687f-474d-0410-85f9-8d5e500ac6b2
2000-07-06NewFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@848 4e78687f-474d-0410-85f9-8d5e500ac6b2