springmeyer/geotools2mapnik — Issue #2: SLD to Mapnik <TextSymbolizer> 
Author: cschissler
Created: 2011-11-11 17:02:31+00:00
State: open

Hello Dane, thanks so much for your help with this. I was actually having an issue with the pointSymbolizer first, but I was able to work that one out. Now I am basically still getting hiccups with the TextSymbolizer. I posted the SLD in full in the closed issue.

The first error message from debug is:

m_text = mapnik.TextSymbolizer(mapnik.Expression(str(name)),str(face_name),int(size),color)
AttributeError: 'module' object has no attribute 'Expression'

Again the SLD that goes with the above error is posted. I played around with a few things but if you're able to fix it, I would love to see what you did and why if possible. I am just starting out coding and I need to learn.