Using Mapnik 3.0.13 + bindings 3.0.13. There is no current documentation (#184) on how to use ShieldSymbolizer in the bindings, and no way to really inspect the objects in a Python shell. I tried the commented out code in object_test.py and got this:
symbolizer = mapnik.ShieldSymbolizer(mapnik.Expression('[label]'), 'Open Sans', 16, mapnik.Color('#000000'), mapnik.PathExpression(shield_svg))
Exception: Python argument types in
ShieldSymbolizer.__init__(ShieldSymbolizer, Expression, str, int, Color, PathExpression)
did not match C++ signature:
__init__(_object*)
Which isn't helpful at all. I was able to initialise a PointSymbolizer like this:
Using Mapnik 3.0.13 + bindings 3.0.13. There is no current documentation (#184) on how to use
ShieldSymbolizer
in the bindings, and no way to really inspect the objects in a Python shell. I tried the commented out code inobject_test.py
and got this:Which isn't helpful at all. I was able to initialise a
PointSymbolizer
like this:But that doesn't work for
ShieldSymbolizer
. Is it even supported? If so, how do I initialise it?