Skip to content


python to/from mapnik::value converters are broken #1659

artemp opened this Issue · 2 comments

2 participants

Mapnik member
import mapnik; ctx=mapnik.Context(); f = mapnik.Feature(ctx,1); f["val"]=123; f["val"]

should be 123

Mapnik member

I must have broken this. Will take a look.

Mapnik member

missed getting to this, will tomorrow. btw, when I broke this in 9abcda5 I "fixed" this problem:

>>> import mapnik;
>>> ctx=mapnik.Context()
>>> f = mapnik.Feature(ctx,1)
>>> f["val"]=True
>>> f["val"]
1 # should print True
>>> print f
Feature ( id=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.