[OSM-talk] SVG output

SteveC steve at asklater.com
Sat May 27 12:23:56 BST 2006


* @ 27/05/06 01:19:22 AM 80n80n at gmail.com wrote:
> On 5/26/06, Richard Fairhurst <richard at systemed.net> wrote:
> >Quoting Etienne <80n80n at gmail.com>:
> >
> >> The API serves very small numbers up with unnecessary precision as
> >> using exponential format.  For example:
> >>
> >>  <node id='646217' lat='51.4337983632484' lon='9.48436500038951E-4' />
> >
> >Etienne, have you reported this in trac?
> 
> No, I had been meaning to ask here whether this was intentional
> behaviour or not, but then I forgot all about it until Steve's post
> reminded me.
> 
> Is it a bug or is this intentional?  I can't see any good reason to
> use exponential format here but maybe it's difficult not to.

It's just what ruby does by default.. 9 * 10^-4 ... that's a few meters?

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the talk mailing list