On 9/20/07, <b class="gmail_sendername">spaetz</b> <<a href="mailto:osm@sspaeth.de">osm@sspaeth.de</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>I added amenity=restaurant icons to z17 and ivansanchez told me the inner city of Madrid is all cluttered up now :-).<br>So I tried a first hack cut at a POI layer which could be used to turn on/off those icons. My experimental version can be seen here:
<br><a href="http://dev.openstreetmap.org/~spaetz/?lat=6024010.44819&lon=971678.04193&zoom=17&layers=00BFFFT">http://dev.openstreetmap.org/~spaetz/?lat=6024010.44819&lon=971678.04193&zoom=17&layers=00BFFFT
</a><br><br>(It's the regular mapnik layer plus a selectable POI layer for now and only that excerpt has been rendered). This could be rendered as a selectable layer with t@h without having to download additional data from the API. The drawbacks are a) more disk space on the dev server side. b) more IO as it needs to be downloaded as extra files and c) downloaded tiles for mapping will not contain those POI by default anymore.
<br><br>What do you think? Should we use that?</blockquote><div><br><br>It would be quite easy to separate out all this stuff from the Osmarender rules files to create a number of layers. All captions are now grouped into a single block so the rule file can just be chopped in half.
<br><br>As I understand it, the size of the png files is somewhat proportional to the content. So removing POIs from one tileset and creating a second tileset probably wouldn't make much net difference to the overall disk space or bandwidth usage.
<br><br>I've been thinking about doing something similar for the text caption layer so that the use can choose whether to view, say, english street names or arabic street names.<br><br>There could potentially be a need for a lot of different layers, but if the space consumption is not great then I don't really see any problem with this - lets have lots and lots of layers :)
<br><br>80n<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">For now there is one modification to tilesGen needed as it ususally aborts rendering of higher zoomlevels when a lower zoomlevel is all blank (which doesn't work here as z12-16 are empty while z17 is not).
<br><br>spaetz<br><br>_______________________________________________<br>Tilesathome mailing list<br><a href="mailto:Tilesathome@openstreetmap.org">Tilesathome@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome">
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome</a><br><br><br></blockquote></div><br>