artemp/trac2github — Issue #320: Symbolizers via python accepting **kwargs in constructor
Author: artemp
Created: 2011-10-09 20:27:03+00:00
State: open
Labels: Boost_Python_Binding

It would be nice, via python to be able to create new symbolizers in the same fashion as datasources.

So you could either do:

{{{
params = {}
params['type'] = text
params['file'] = 'symbol.png'
params['width'] = 10
params['height'] = 10
text_sym = Symbolizer(**params)
}}}

or
{{{
TextSymbolizer(file='symbol.png',width....)
}}}