aboutsummaryrefslogtreecommitdiff
path: root/src/pj_utils.c
AgeCommit message (Collapse)Author
2018-09-27cs2cs_emulation_setup: fix issue with non C-localeEven Rouault
in +towgs84 case, we use sprintf() with floating-point formatter to output the ellipsoid parameters. For a locale with decimal separtor != dot, the resulting string will not be parsed correctly by proj_atof(), leading to wrong numeric result. The fix is similar to the one done in pj_latlong_from_proj() Note for later: if using C++, we could use a locale-independent formatting solution to avoid such issue.
2018-05-15IWYU: Partial PJ_natearth.c..rtodms.cKurt Schwehr
2018-05-04Convert errno literals to corresponding PJD symbolKurt 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
2016-05-11Portability cleanups for the code in PR #6 (and a few additional source files)Thomas Knudsen
Eliminated mixed code and declarations, converted C++ style comments and probably did a few more things highlighted by running gcc with the "-W -Wall -Wextra -pedantic" flags
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-05-31Remove unused $Id$ keywords.Elliott Sales de Andrade
2012-02-15added pj_get_spheroid_defn() (#142)Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2160 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
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
2007-03-12Removed duplicate towgs84 definition code.Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1393 4e78687f-474d-0410-85f9-8d5e500ac6b2
2005-07-06Improved precision of es encoding for pj_latlong_from_proj() per:Frank Warmerdam
http://bugzilla.remotesensing.org/show_bug.cgi?id=881 git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1296 4e78687f-474d-0410-85f9-8d5e500ac6b2
2002-12-14added pj_is_geocent, added +pm support to pj_get_defFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1052 4e78687f-474d-0410-85f9-8d5e500ac6b2
2002-04-30Removed printf() statement.Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1012 4e78687f-474d-0410-85f9-8d5e500ac6b2
2001-04-05NewFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@927 4e78687f-474d-0410-85f9-8d5e500ac6b2