aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-02-15Upgrade geodesic library from GeographicLib 1.46.Charles Karney
* upgrade geodesic.[ch3] * add test suite geodtest.c and invoke via cmake's add_test * increment version to 4.9.3 and library version to 11.0.0
2016-02-04fixed #347 - unnecessary assignment in Lambert Azimuthal Equal AreaPaul Hartmann
2016-02-02GTX grids: ignore shift values whose abs value is > 1000Even Rouault
This partially reverts https://github.com/OSGeo/proj.4/commit/338ea581 (#271) to solve issue with naptrans2008.gtx grid mentioned in http://lists.maptools.org/pipermail/proj/2016-February/007327.html
2016-01-26Use #define for max path lengthdrhaynes
2016-01-26Use const int for array sizedrhaynes
2016-01-26Increase maximum path size for grid shift loadingdrhaynes
On systems with long paths (e.g. iOS, which uses UUIDs for bundle directories), the existing maximum path length of 128 resulted in path truncation, and caused the grid shift file loading to fail. This change increases the buffer size for the path to 1024 chars, enabling the nadgrids file to be loaded on such systems.
2016-01-24Add support for big-endian NTv2 grids (#345)Even Rouault
2016-01-06adapt patch for #325 to fix static-only library buildingHoward Butler
2016-01-06#warning pragma fix for Visual C++Micah Cochran
This is to address PR #341 in which Visual C++ stops compile due to encountering a #warning.
2015-12-13fix typoJeff Whitaker
2015-12-13changed spaces to tabs (to match rest of code)Jeff Whitaker
2015-12-12inverse for hammer projectionJeff Whitaker
2015-10-30Order of lat/lon is interpreted correctly for SCHPiyush Agram
2015-10-27Fix compiler warnings with gcc 4.4Even Rouault
2015-10-27Merge branch 'master' of https://github.com/piyushrpt/proj.4Even Rouault
Conflicts: nad/tv_out.dist
2015-10-24Switch utm to use etmerc to address issue #316.Charles Karney
Add a test to check this. Output of an existing test changed in 7th decimal place.
2015-10-23- API Extension to include fwd3d / inv3dPiyush Agram
- New SCH coordinate system for radar imaging systems
2015-10-21Don't fail when reading small GTX files #269Howard Butler
2015-10-14Avoid strcpy of overlapping strings.Elliott Sales de Andrade
The source and destination for strcpy must not overlap, and failure to ensure that's true causes a crash on OS X. memmove does not have such a restriction.
2015-10-05avoid read failure for minimal GTX files #269Howard Butler
2015-10-01Take 2 of the fix to dmstor.Charles Karney
I'm making this pull request soon after the release of 4.9.2. It will cause the results that people get out of proj.4 to change very slightly. If there are problems, we'll get a chance to iron them out well before the next release. The important change is to use DEG_TO_RAD for degree to radian conversions in dmstor.c instead of the slightly inaccurate number used earlier. This necessitates a change to geod_interface.c (which previously had to work aroung the previous bad behavior). PJ_aeqd.c now does conversions in a compatible manner. In src/proj_api.h, DEG_TO_RAD and RAD_TO_DEG are both given to 17 significant figures (this is just a cosmetic change). I've "fixed" the testvarious tests so that they still pass (on my system at least). Everyone should be suitably skeptical of my fixes. (1) Minor changes to "Test bug 244" and only ask for nanometer (instead of picometer) accuracy on positions. (2) 2 lon_wrap tests now return 0dE instead of 360dE (now it's tight?) (3) The results for the forward healpix projection of (-180, +90) and (-180, -90) are now different. I have put the new values into tv_out.dist. I'm fairly confident that the new values are OK, since this projection has various cuts which meet at the poles. It would be good if someone who knows about this projection can verify this.
2015-10-01Merge branch 'master' into dmstor-fixCharles Karney
2015-09-10BLD: Remove proj_config.h.in.Elliott Sales de Andrade
It's generated by autoheader, which was mysteriously left out of autogen.sh.
2015-09-10BLD: Change INCLUDES to AM_CPPFLAGS.Elliott Sales de Andrade
The former is deprecated and automake emits a warning about it.
2015-09-10BLD: Remove Makefile.in.Elliott Sales de Andrade
These files are generated by automake.
2015-09-10increment libtool versioning to 10:0:0 to account for PVALUE symbol rename #273Howard Butler
2015-09-10Merge pull request #305 from sisyphus/win32-PVALUE-issue-ticket-#273Howard Butler
Win32 pvalue issue ticket #273
2015-09-10Regenerate src/proj_config.h.inEven Rouault
2015-09-11win32 PVALUE issuesisyphus
2015-09-11win32 PVALUE issuesisyphus
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-08-13Fix the constants used for degree/radian conversions.Charles Karney
In dmstor.c an inaccurate constant was used for pi/180. This meant that 90deg converted to radians and back to degrees gave a result which was larger than 90deg. The constant has been replaced by DEG_TO_RAD (defined in proj_api.h). In rtodms.c, the trailing digits in CONV were wrong; the constant has been truncated so that all the digits are corrent.
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.