aboutsummaryrefslogtreecommitdiff
path: root/src/rtodms.c
AgeCommit message (Collapse)Author
2018-12-26cpp conversion: minimal steps to fix compilation errors, not warningsEven Rouault
2018-11-21rtodms(): make it output decimal point when locale has comma decimal insteadEven Rouault
2018-05-15IWYU: Partial PJ_natearth.c..rtodms.cKurt Schwehr
2018-03-11Remove angle brackets for proj headers (#849)Thomas Knudsen
* Avoid using angle brackets for PROJ headers. Switching from #include <proj.h> to #include "proj.h", and correspondingly for projects.h and proj_api.h, reduces the risk of accidentally picking up a system installed older version of the header while building a new version of PROJ. * Also handle geodesic.h
2017-02-26Recent clang (e.g MacOSX) warning fixes related to double to _Bool implicit ↵Even Rouault
conversions
2017-02-26Fix warnings related to -Wshadow -Wnull-dereference -Wfloat-conversionr ↵Even Rouault
-Wmissing-prototypes -Wmissing-declarations
2016-05-28Change math constants, similar to PR #372. Use M_ namespace with the de ↵Micah Cochran
facto standard M_PI and its ilk. Change names that are widely used in the project to be in the M_ namespace, so HALFPI becomes M_HALFPI. HALFPI is #defined as M_PI_2 (the defacto standard name). #defines _USE_MATH_DEFINES for MS Visual Studio (I didn't personally test this part, but Appveyor will not build otherwise).
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-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.
2009-01-26remove SCCSID and lint stuff from all source filesFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1515 4e78687f-474d-0410-85f9-8d5e500ac6b2
2006-11-02Fix computation of degree per bug described on the mailing list.Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1375 4e78687f-474d-0410-85f9-8d5e500ac6b2
1999-03-18NewFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@776 4e78687f-474d-0410-85f9-8d5e500ac6b2