I think it&#39;s fair to say that for most purposes FeatureServer users don&#39;t mind to lose the extra decimal places, but this is not necessarily true:  It&#39;s quite possible someone is working on a project in a geographically small area and needs/expects 10+ significant digits.  I&#39;d accept a patch where this could be defined in featureserver.cfg, for example.<div>
<br></div><div><br clear="all">  -Josh<br>
<br><br><div class="gmail_quote">On Wed, Jan 20, 2010 at 10:19 AM, Peter Robins <span dir="ltr">&lt;<a href="mailto:fs@peterrobins.co.uk">fs@peterrobins.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2010/1/20 Josh Livni &lt;<a href="mailto:josh@umbrellaconsulting.com">josh@umbrellaconsulting.com</a>&gt;:<br>
<div class="im">&gt; Workaround for<br>
&gt; simplejson: <a href="http://code.google.com/p/simplejson/issues/detail?id=34" target="_blank">http://code.google.com/p/simplejson/issues/detail?id=34</a> (near<br>
&gt; the end)<br>
&gt; Or, if using py26&#39;s<br>
&gt; json: <a href="http://stackoverflow.com/questions/1447287/format-floats-with-standard-json-module" target="_blank">http://stackoverflow.com/questions/1447287/format-floats-with-standard-json-module</a><br>
<br>
</div>does that mean that Formats/GeoJSON.py should be changed to<br>
incorporate one of those patches, in encode.feature()? I tried Tom<br>
Wuttke&#39;s answer at<br>
<div class="im"><a href="http://stackoverflow.com/questions/1447287/format-floats-with-standard-json-module" target="_blank">http://stackoverflow.com/questions/1447287/format-floats-with-standard-json-module</a><br>
</div>and that seems to do the trick. I assume nobody actually wants all<br>
those extra decimal places? Problem is GeoJSON.py uses cjson if<br>
present, and AIUI that works w/o this problem.<br>
<div><div></div><div class="h5">_______________________________________________<br>
Featureserver mailing list<br>
<a href="mailto:Featureserver@openlayers.org">Featureserver@openlayers.org</a><br>
<a href="http://featureserver.org/mailman/listinfo/featureserver" target="_blank">http://featureserver.org/mailman/listinfo/featureserver</a><br>
</div></div></blockquote></div><br></div>