Ticket #319 (new enhancement)
Symbolizers via python accepting **kwargs in constructor
| Reported by: | springmeyer | Owned by: | artem |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.8.0 |
| Component: | Boost.Python Binding | Version: | 0.6.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Patch Needs Improvement: | no | |
| Needs Docmentation: | no | Has Patch?: | no |
| Design Decision Needed: | no |
Description
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....)
Change History
Note: See
TracTickets for help on using
tickets.
