[OSM-dev] Support for multiple layers on the tiles at home server

Dirk-Lüder Kreie osm-list at deelkar.net
Wed Apr 4 02:08:00 BST 2007

Hash: SHA1

Frederik Ramm schrieb:

>> Frederik: I'm using the maplint styles you sent me some time ago, but my 
>> "empty" maplint tiles are 759 bytes. Can you give me some hint where to 
>> fix this? I'm not quite a XSL guru ;-)
> I think the "empty tile detection" that Deelkar provided for tilesGen.pl 
> relies on the background colour being #fcfcfc, and the style sheets I 
> sent you have #f0f0f0 (in the .map-background style). Try changing that.

Yes indeed, the "looks alike" function in libGD needs the exact same
background color. It was #f8f8f8 then became #fcfcfc. This breaks easily
as you can see, and I was planning on finding a more robust solution,
like taking a pixel, checking it was brighter than X, grey (no
forest/park), and then check if the whole tile was of this colour or a
similar algorithm.

> The maplint styles I did are very quick&dirty and I guess we'll see some 
> refinement here once the layer takes off. The same is valid for the 
> maplint checks themselves.
> I'll provide a modified tilesGen.pl to create and upload the new layers 
> tomorrow - or have you (Hakan) already tweaked my maplint tilesGen.pl to 
> re-enable t at h mode?

How are you handling the fact that maplint needs un-frolloized data? It
shouldn't be too difficult to backup the original osm data before frollo
runs on it, and I believe you already thought of that but wanted to
point that out anyway. :)

I'm really excited about this taking off so soon, I was half-expecting
to talk in Essen about the final stages of the implementation, but it
seems to go much faster than that.

Dirk-Lüder "Deelkar" Kreie
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the dev mailing list