aboutsummaryrefslogtreecommitdiff
path: root/docs/source/development/reference/cpp
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-27 20:24:05 +0200
commitb65cc5d50414212efa0029e7715c92e880967a4f (patch)
treebc139f6787ab6ce1820b78dce5175015180b75c6 /docs/source/development/reference/cpp
parent0b32b840d3161c64d8f1f487b153178528c8c124 (diff)
downloadPROJ-b65cc5d50414212efa0029e7715c92e880967a4f.tar.gz
PROJ-b65cc5d50414212efa0029e7715c92e880967a4f.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/development/reference/cpp')
0 files changed, 0 insertions, 0 deletions