[Featureserver] Json: unrounding of coordinates
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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Featureserver