<p></p>
<p>I believe <code>tile_for_point</code> is the only function that has been used for back-filling data as part of a migration. A "grep" shows 3 occurrences of that function, all of them are older than 3 years.</p>
<pre><code>$ grep -rin "tile_for_point"
006_tile_nodes.rb:16:             tile_for_point(CAST(ROUND(latitude * 10000000) AS INTEGER),
005_tile_tracepoints.rb:12:      Tracepoint.update_all("latitude = latitude * 10, longitude = longitude * 10, tile = tile_for_point(latitude * 10, longitude * 10)")
20180204153242_tile_users.rb:10:      User.update_all("home_tile = tile_for_point(cast(round(home_lat * #{GeoRecord::SCALE}) as integer), cast(round(home_lon * #{GeoRecord::SCALE}) as integer))")
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3110#issuecomment-792302628">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLP3JZYF7UV7BIXEW6LTCOQK3ANCNFSM4YFH7W4A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLONM6O2P6IKKRLIM6DTCOQK3A5CNFSM4YFH7W4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF44ZIJA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3110#issuecomment-792302628",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3110#issuecomment-792302628",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>