<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>On 2020-02-14 10:18, Martin Koppenhoefer wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div dir="ltr">
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">Am Do., 13. Feb. 2020 um 08:41 Uhr schrieb Colin Smale <<a href="mailto:colin.smale@xs4all.nl">colin.smale@xs4all.nl</a>>:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">Locations are stored in OSM as pairs of {lat,lon} and I assume these are both 64-bit floats in the database.
<blockquote style="padding: 0px 0.4em; border-left: 2px solid #1010ff; margin: 0px;">
<div style="margin: 0px; padding: 0px; font-family: monospace;"><br /> AFAIK they are stored as integers (shifting the decimals)<br /><br /></div>
</blockquote>
<div style="margin: 0px; padding: 0px; font-family: monospace;">If so then then my comments about preserving precision still apply to all "client" software and I bet the majority uses float. Then an innocent update to a tag on a node can end up unintentionally moving the location slightly, losing precision.</div>
</div>
</blockquote>
</div>
<div>My comment about precision lost through conversion was not about missing floating point digits, but about conversions from one CRS to another, where you may need additional (proprietary) grid parameters to do a high precision conversion.</div>
<div> </div>
</div>
</blockquote>
<div dir="ltr">
<div>Yes I realise that but attention must be paid to all possible sources of precision leakage.</div>
<div> </div>
<div>What use would proprietary parameters be? If they were used, are relevant and kept private, this would impede the consumption of the data by any clients. All GIS files must include, by value or by reference, the relevant CRS, otherwise the contents can not be interpreted properly, can they? Or are you thinking of the situation in China where they have a state-controlled/licenced transformation?</div>
<div> </div>
<div> </div>
</div>
</body></html>