aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pj_utils.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pj_utils.c b/src/pj_utils.c
index a3293b61..9b5c55f6 100644
--- a/src/pj_utils.c
+++ b/src/pj_utils.c
@@ -29,6 +29,10 @@
******************************************************************************
*
* $Log$
+ * Revision 1.4 2005/07/06 14:04:09 fwarmerdam
+ * Improved precision of es encoding for pj_latlong_from_proj() per:
+ * http://bugzilla.remotesensing.org/show_bug.cgi?id=881
+ *
* Revision 1.3 2002/12/14 20:14:00 warmerda
* added pj_is_geocent, added +pm support to pj_get_def
*
@@ -115,7 +119,7 @@ PJ *pj_latlong_from_proj( PJ *pj_in )
sprintf( defn+strlen(defn), " +f=%s",
pj_param(pj_in->params,"sf").s );
else
- sprintf( defn+strlen(defn), " +es=%.4f",
+ sprintf( defn+strlen(defn), " +es=%.16g",
pj_in->es );
}
else