Re: [OSM-dev] OSM Database schema

2020-01-14 Thread Lorenzo Stucchi
Hi all, I have almost complete the explanation of the schema regarding the element (node, way and relation) I have just one last element to be understood. The “tile” in the node table. I found in the code a function called “public.tile_for_point” [1] and seems that should be the one that do thi

Re: [OSM-dev] OSM Database schema

2020-01-14 Thread Martin Raifer
I believe the formula just implements the interleaving of the X and Y coordinates used in the QuadTiles[1] indexing schema in an efficient way by using some clever bit operations. [1] https://wiki.openstreetmap.org/wiki/QuadTiles#Quadtile_implementation On Tue, Jan 14, 2020 at 11:11 AM Lorenzo St