But the map is not rendering tiles in Gurmukhi language.
Please help me.
the FontSet settings are just used to select the right ttf-file that contains the glyphs to render.

To get a language special map, you'll first need to import the name:xx tags (where xx is the language code used in the osm keys) by modifying the osm2pgsql style-file.

You'll then need to modify all *.xml and *.inc files that makes up the osm mapnik-render-style and replace all occurences of the name comumn with a COALESCE statement:

SELECT name from planet_osm_point WHERE ...

becomes

SELECT COALESCE("name:xx", name) AS name from planet_osm_point WHERE ...

to make sure that the special characters are rendered properly, you'll need the unifont ttf installed to mapniks font-path (which is not necessarily your systems' default font-path). Check the mapnik-wiki for this.

Peter

_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to