<div class="gmail_quote">2009/3/9 Celso González <span dir="ltr"><<a href="mailto:celso@mitago.net">celso@mitago.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, Mar 09, 2009 at 08:01:42PM +0800, D Tucny wrote:<br>
> Hi folks,<br>
><br>
> I've been thinking about how it would be good to have the map available in<br>
> multiple languages... I think the easiest way to do this with what we have<br>
> is using a captionless base layer and transparent caption layers for each of<br>
> the languages... So... I put this thinking into practice and put together a<br>
> proof of concept at <a href="http://osm.newportcoastsoftware.com" target="_blank">http://osm.newportcoastsoftware.com</a><br>
<br>
</div><div class="im">> This is just a proof of concept, it will likely disappear at some point...<br>
><br>
> If anyone has any suggestions, or sees any problems, let me know...<br>
<br>
</div>Could you post some of the xml used to generate the tiles?<br>
<font color="#888888"></font></blockquote><div><br>I've put the files used to generate the tiles in <a href="http://osm.newportcoastsoftware.com/mapnik">http://osm.newportcoastsoftware.com/mapnik</a><br><br>osm-template-local-nocap.xml is the template for the captionless layer<br>
osm-template-local-caps.xml is the template for the captions layers<br>names-list is the list of names layers<br><br>osm-template-local-nocap.xml is turned into osm.xml using customize-mapnik-map-nocap, which is customize-mapnik-map with the source filename changed...<br>
osm.template-local-caps.xml is turned into all the osm.xml.*cap files using make-cap-osm-xml which is customize-mapnik-map changed to loop through the contents of names-list to generate the osm.xml.*cap files...<br><br>Anything else, let me know...<br>
<br>d<br></div></div><br>