aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-09-10Regenerate src/proj_config.h.inEven Rouault
2015-09-10Merge pull request #304 from mraspaud/masterHoward Butler
Don't return values when doing inverse projections outside of the mollweide map
2015-09-09Don't return values when doing inverse projections outside of the mollweide map.Martin Raspaud
Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>
2015-09-09Move #include "proj_config.h" inside #ifndef _WIN32Ture Pålsson
2015-09-09Use autoconf for PTHREAD_MUTEX_RECURSIVE (#302)Ture Pålsson
On FreeBSD 10, PTHREAD_MUTEX_RECURSIVE exists, but as an enum constant, not a #define macro, so it cannot be detected using #ifdef.
2015-09-08autogen'd stuffHoward Butler
2015-09-08Increment version to 4.9.2 in preparation for releaseHoward Butler
2015-09-08Merge pull request #290 from cffk/geod-1.44Charles Karney
Drop in the latest geodesic library from GeographicLib (version 1.44).
2015-08-25pj_transform(): fix crash with z == NULL if vertical grid shift is required ↵Even Rouault
(#292)
2015-08-16Drop in the latest geodesic library from GeographicLib (version 1.44).Charles Karney
http://geographiclib.sourceforge.net/1.44/C/index.html The changes are: - Improve accuracy of calculations by evaluating trigonometric functions more carefully and replacing the series for the reduced length with one with a smaller truncation error. - The allowed ranges for longitudes and azimuths is now unlimited; it used to be [-540d, 540d). - Enforce the restriction of latitude to [-90d, 90d] by returning NaNs if the latitude is outside this range. - The inverse calculation sets s12 to zero for coincident points at pole (instead of returning a tiny quantity). This commit also includes a work-around for an inaccurate value for pi/180 in dmstor.c (see the definitions of DEG_IN and DEG_OUT in geod_interface.c).
2015-07-09Improve multistresstest.c (and run it with Travis) and test228.cEven Rouault
2015-07-09Make multistresstext.exe compile, and work, with mingw cross compiler ↵Even Rouault
(autoconf build)
2015-07-09Add multistresstest.exe target to makefile.vcEven Rouault
2015-07-07Make pj_init() locale safe and no longer modify locale (#226)Even Rouault
Remove setlocale() use in pj_init_ctx(), and replace uses of atof() & strtod() by their locale safe variants pj_atof() and pj_strtod(). Proj versions from now advertize #define PJ_LOCALE_SAFE 1 in proj_api.h and export pj_atof() & pj_strtod()
2015-06-28pj_mutex.c: avoid warning about pthread_mutexattr_settype being undefinedEven Rouault
2015-06-28PJ_cea.c: initialize variable that wasn't initialized when lat_ts is not definedEven Rouault
2015-06-28geodesic.c: Fix 'ISO C90 forbids mixed declarations and code' warning in GCC ↵Even Rouault
< 4.6 case
2015-06-28Merge branch '4-warning-fixes' of github.com:QuLogic/proj.4Even Rouault
2015-06-21PJ_krovak.c: remove LATIN1 characters to please coverallsEven Rouault
2015-06-20Remove dead assignments.Elliott Sales de Andrade
These variables are re-written immediately after.
2015-06-20Fix possibly-uninitialized variable warnings.Elliott Sales de Andrade
Some of these should be false positives, but I re-wrote them anyway because they were unclear.
2015-06-20Merge branch '266-inverse-stereographic-fix'Even Rouault
2015-06-20Merge branch '149_memory_leak'Even Rouault
2015-06-20Remove extraneous ; in #define of RHO and remove no longer used vars (#281)Even Rouault
2015-06-01fix (for bernhard.bauer-marschallinger@geo.tuwien.ac.at) so thatCharles Karney
PJ_aeqd.c uses geodesics for inverse and forward projection + modification so that the geodesic structure is not global.
2015-05-31Fix extraneous parentheses warning.Elliott Sales de Andrade
This warning indicates maybe we wanted to use assignment and added the extra parentheses to silence that *other* warning about assignment in a conditional. However, we really want a conditional, and the parentheses are due to it being in a macro, so using a yoda conditional avoids the ambiguity and silences the warning.
2015-05-31Fix uninitialized variable warning.Elliott Sales de Andrade
2015-05-31Remove unused $Id$ keywords.Elliott Sales de Andrade
2015-05-30Fix signed/unsigned comparison warnings.Elliott Sales de Andrade
2015-05-30Fix warning about reversed declaration.Elliott Sales de Andrade
2015-05-30Remove unused function.Elliott Sales de Andrade
2015-05-30Remove unused variables.Elliott Sales de Andrade
2015-05-30Fix warnings about structure initializers.Elliott Sales de Andrade
2015-05-30Fix unused function argument warnings.Elliott Sales de Andrade
2015-05-29Fix small memory leak in pj_init.Didier Richard
2015-05-29Fix inverse stereo projection on an ellipsoid.Glynn Clements
The problem is that the setup function doesn't initialise all of the values that it needs for the ellipsoid, inverse, equatorial case. In the forward and spherical inverse cases, the equatorial case (|phi0| < 1e-10) is a simplification of the oblique case, and requires fewer parameters. However, for the ellipsoid inverse case (e_inverse), the oblique calculation is used, but the setup function doesn't initialise all of the parameters.
2015-05-20Update to version 1.43 of the geodesic routines. This fixes twoCharles Karney
relatively obscure problems. (1) The business of returning an unrolled longitude with the solution to the direct problem was broken for west-going geodesics. (2) For flattening > 1/100, a slight inaccurate result was returned for a12 in the direct calculation. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2656 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-05-20apply patch from #271 to use GTX null value 88.88880f for vertical shiftsHoward Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2655 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-03-04update release date to todayHoward Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2647 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-03-03Append _d to debug versions of library and tools so that release and debug ↵Charles Karney
versions can be installed together git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2645 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-22More CMake churn #264Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2632 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21autogen'd stuff in preparation for 4.9.1RC3Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2631 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21align CMake SOVERSION with autotools #263Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2629 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21clean up include installation for CMake #262Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2628 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21define default PROJ_LIB location for CMake build #261Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2626 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21cmake build: install nad.lst, geodesic.h. But not emess.h and pj_list.h ↵Even Rouault
(from Charles Karney) git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2625 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21src/pj_gridinfo.c: remove trailing / from preprocessor line (from Charles ↵Even Rouault
Karney) git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2624 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21src/PJ_aitoff.c: define M_PI and M_PI_2 (needed for Windows) (from Charles ↵Even Rouault
Karney) git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2623 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21src/lib_proj.cmake: remove space from variable name to suppress policy ↵Even Rouault
warning. (from Charles Karney) git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2622 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21src/bin_nad2bin.cmake: backward test for nad2nad warning. bad directory ↵Even Rouault
specified for emess (from Charles Karney) git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2621 4e78687f-474d-0410-85f9-8d5e500ac6b2