[Featureserver] Json: unrounding of coordinates
Josh Livni
josh at umbrellaconsulting.com
Wed Jan 20 14:34:21 EST 2010
Oh yeah, I didn't read down that far to his response. That should work...
feel free to send a patch.
-Josh
On Wed, Jan 20, 2010 at 11:18 AM, Peter Robins <fs at peterrobins.co.uk> wrote:
> 2010/1/20 Josh Livni <josh at umbrellaconsulting.com>:
> > It's quite possible someone is working on a project in a geographically
> > small area and needs/expects 10+ significant digits.
>
> um, that shouldn't matter, should it? I'm no great Python expert, but
> AIUI the "return '%.15g' % self" patch is giving you up to 15 decimal
> places if you need them - which should be enough for geo coords :-)
> _______________________________________________
> Featureserver mailing list
> Featureserver at openlayers.org
> http://featureserver.org/mailman/listinfo/featureserver
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/featureserver/attachments/20100120/001f0b86/attachment.html
More information about the Featureserver
mailing list