Hi, I'm using TextSymbolizer to render country names in various languages from a point shapefile. The country names are displayed properly in QGIS, but I'm not able to display special characters like æ,ø,å with Mapnik.
-------------
tilecache.cfg
[country_labels]
type=Mapnik
mapfile=C:\EarthAtlas\maps\merc_country_labels.xml
spherical_mercator=true
metaTile=true
metaBuffer=50
metaSize=2,2
-------------
merc_country_labels.xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0
+y_0=0 +k=1.0 +units=m +nadgri...@null">
<Style name="Countries 50m Style">
<Rule>
<TextSymbolizer name="nor" face_name="DejaVu Sans Book" size="11"
fill="black" halo_fill="white" halo_radius="1" dy="0" dx="0"
vertical_alignment="middle" allow_overlap="false"/>
</Rule>
</Style>
<Layer name="Countries 50m" srs="+proj=latlong +datum=WGS84">
<StyleName>Countries 50m Style</StyleName>
<Datasource>
<Parameter name="type">shape</Parameter>
<Parameter
name="file">originals/countries_point_lonlat_sorted/countries_point_lonlat_sorted</Parameter>
</Datasource>
</Layer>
</Map>
-------------
Have you been able to display special characters from shapefiles with
Mapnik?
Cheers,
Bjørn
http://blog.thematicmapping.org
<<attachment: 8.png>>
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

