[OSM-dev] Quadtile Info and Planet dump

Dave Stubbs osm.list at randomjunk.co.uk
Sat Sep 22 17:03:24 BST 2007

On 22/09/2007, Ray Booysen <raybooysen at rjb.za.net> wrote:
> Tom Hughes wrote:
> > In message <46F4FF40.7040607 at rjb.za.net>
> >           Ray Booysen <raybooysen at rjb.za.net> wrote:
> >
> >
> >> Will the new quadtile information be part of planet dumps?  Would make
> >> my testing a lot easier. ;)
> >>
> >
> > What information? The tile number? What use is that to anybody? It can
> > be easily computed from the latitude and longitude anyway.
> >
> > Tom
> >
> >
> Well, it would mean we don't have to calculate it when parsing the
> planet file.  When importing a 12GB file, it would be helpful to spend
> the CPU power on the import and not a tile calculation.

I wonder which is faster:

a) calculating the tile from a couple of doubles

b) bunziping a text representation of an int, and parsing that

I don't know the answer to that question, but it's probably not so clear cut.
It would also make the planet bigger.

More information about the dev mailing list