That would make sense indeed.<br><br>But then if this is confirmed to be a wanted behavior, then we should document it explicitely somewhere<br><br>Thanks to all for your help and advice!<br><br>Stéphane<br><br clear="all">
--<br>"Le mot progrès n'aura aucun sens tant qu'il y aura des enfants malheureux" -- Albert Einstein<br><br>"A journey does not need reasons. Before long, it proves to be reason enough in itself. One thinks that one is going to make a journey, yet soon it is the journey that makes or unmakes you." -- Nicolas Bouvier<br>
<br>Photos de voyages, photos de montagne: <a href="http://www.henriod.info/" target="_blank">http://www.henriod.info</a><span dir="ltr"><span dir="ltr" title="Appeler ce numéro de téléphone en/au(x) Tadjikistan avec Skype : +992934624662"><span>  </span></span> <br>
</span><br>
<br><br><div class="gmail_quote">On Thu, Sep 6, 2012 at 11:33 AM, sly (sylvain letuffe) <span dir="ltr"><<a href="mailto:liste@letuffe.org" target="_blank">liste@letuffe.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi,<br>
<br>
> but is it a bug? or am I missing the good reason why there is this factor<br>
> 100?<br>
<br>
I searched the source code to find the reason why there is a x100 on<br>
coordinate, but couldn't find where it's done.<br>
But my guess is that for performance reasons, the field to store x/y was<br>
chosen to be an integer instead of a float. And because rounding a spherical<br>
mercator to the unit would loose sub meter precision, it was stored as<br>
multiplied by 100 for ~cm accuracy<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
sly<br>
qui suis-je : <a href="http://sly.letuffe.org" target="_blank">http://sly.letuffe.org</a><br>
email perso : sylvain chez letuffe un point org<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</font></span></blockquote></div><br>