On Nov 7, 2010, at 12:41 PM, Aníbal Pacheco wrote: > Hi, > > I have configured the OGC server with apache and wsgi, it works fine, I can > render an overlay by WMS using OpenLayers over OSM base layer, all ok. But > can't render labels :( I'm using XML and the TextSymbolizer node, I can see > error messages if something is wrong like the name (field name) or the > face_name (font), but when this two fields are ok, the map is rendered > *without* lables, I was expecting the map with labels or an error message, > how I can debug that? any ideas?
TextSymbolizer should work fine with just 'name' and 'face_name' supplied as long as the value for 'name' exists as an attribute. If you are rendering from shapefiles beware that fields are often UPPERCASE. In latest Mapnik trunk we throw an error if the name does not match an attribute exactly, but previously did not. Also, you can try adding allow_overlap="true" to your symbolizer to ensure that collision is not suppressing all your labels. Dane > > thanks. > anibal.- > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

