[OSM-dev] spatial reference

Martijn van Oosterhout kleptog at gmail.com
Mon Jul 2 17:44:32 BST 2007


On 7/2/07, Artem Pavlenko <artem at mapnik.org> wrote:
>
> Hello,
>
> I had a chance to go through tile.openstreetmap.org implementation and I'd
> like to suggest some improvements.
>
> At the moment we store x,y,z and there is a key(x,y,z). I think we can
> improve by introducing spatial reference (also known as quad key etc) and
> this is exactly what MS VE, Oracle and others are using. There are a few
> benefits but the main one is
> that standard b-tree index will  'cluster' tiles spatially, resulting in
> better I/O.  It will also simplify and reduce table size a little bit.

Look in the wiki for quadtiles, I think it resembles your proposal a lot.

As for speed inprovement, do think it will speed it up or have you tested it?

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the dev mailing list