[openstreetmap/openstreetmap-website] Hello, no matter how I calculate the tile according to the official method, it is always incorrect. Can someone help explain? (Issue #6099)
    mmd 
    notifications at github.com
       
    Sat Jun 14 18:43:02 UTC 2025
    
    
  
mmd-osm left a comment (openstreetmap/openstreetmap-website#6099)
By the way, calling the original Rails code returns the following result:
```
QuadTile.tile_for_point(35.2000381, 114.6629926)
=> 3875963095
```
This matches:
```
     id      | latitude  | longitude  | changeset_id | visible |         timestamp          |    tile    | version 
-------------+-----------+------------+--------------+---------+----------------------------+------------+---------
 12394725448 | 352000381 | 1146629926 |    159556585 | t       | 2025-06-14 18:37:20.996467 | 3875963095 |       1
```
-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6099#issuecomment-2972998990
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6099/2972998990 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250614/db7809a3/attachment.htm>
    
    
More information about the rails-dev
mailing list