Skip to content

Loading…

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

Closed
artemp opened this Issue · 2 comments

2 participants

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

should be 123

@springmeyer
Mapnik member

I must have broken this. Will take a look.

@springmeyer
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
  val: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.