aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2005-06-13 13:23:38 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2005-06-13 13:23:38 +0000
commitfc2a7618d354cd96d65bd466bf20a05e9e041c94 (patch)
tree17eb38a773cc7ecacb8ea4dc2e94c30f2a28311f
parent047c09db918337de9d30e11905de2252106b4d51 (diff)
downloadPROJ-fc2a7618d354cd96d65bd466bf20a05e9e041c94.tar.gz
PROJ-fc2a7618d354cd96d65bd466bf20a05e9e041c94.zip
Added FAQ about odd locales.
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1292 4e78687f-474d-0410-85f9-8d5e500ac6b2
-rw-r--r--html/faq.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/html/faq.html b/html/faq.html
index 27ce1db9..86cb3db4 100644
--- a/html/faq.html
+++ b/html/faq.html
@@ -153,6 +153,25 @@ Their use is more fully described in the
<!-------------------------------------------------------------------------->
+<h2>Does PROJ.4 work in different international numeric locales?</h2>
+
+No. PROJ.4 makes extensive use of sprintf() and atof() internally to translate
+numeric values. If a locale is in effect that modifies formatting of
+numbers, altering the role of commas and periods in numbers, then PROJ.4
+will not work. This problem is common in some European locales.<p>
+
+On unix-like platforms, this problem can be avoided by forcing the use
+of the default numeric locale by setting the LC_NUMERIC environment variable
+to C. <p>
+
+eg.
+<pre>
+$ export LC_NUMERIC=C
+$ proj ...
+</pre>
+
+<!-------------------------------------------------------------------------->
+
<hr>
Requests to add items to the frequently asked questions list