aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-09-27 19:15:13 +0200
committerEven Rouault <even.rouault@spatialys.com>2018-09-28 13:53:02 +0200
commitb693d210fac7617d94e120e9803079d33c29cac9 (patch)
treeb9a041fb9ff4bcc7c96a929d7358e1b842ef852a /docs/source
parent15edf4c41bea992c032736149d4a3c1c8aafdc7c (diff)
downloadPROJ-b693d210fac7617d94e120e9803079d33c29cac9.tar.gz
PROJ-b693d210fac7617d94e120e9803079d33c29cac9.zip
cs2cs_emulation_setup: fix issue with non C-locale
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.
Diffstat (limited to 'docs/source')
0 files changed, 0 insertions, 0 deletions