Ticket #319 (new enhancement)

Opened 17 months ago

Last modified 14 months ago

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

Changed 17 months ago by springmeyer

essentially, implementing symbolizers as 'property maps'

Changed 16 months ago by springmeyer

for context see #190

Changed 15 months ago by springmeyer

  • milestone changed from 0.6.1 to 0.7.0

pushing to 0.7.0 milestone

Changed 14 months ago by springmeyer

  • type changed from defect to enhancement
Note: See TracTickets for help on using tickets.