mapnik-org/mapnik — Issue #270: Mapnik Featureset.properies (Feature::props) returns fishy unicode in Python
Author: artemp
Created: 2011-10-11 07:45:55+00:00
State: closed
Labels: Boost_Python_Binding

Perhaps related to this ? http://bugs.python.org/issue4474

or can we just wrap 'props()' a bit more in the python bindings?

no clue what is going on here (is that truly a unicode string that I just need to figure out how to decode?):

{{{
>>> print features[0]
feature (
STATE:Alaska
)

>>> for x in features[0].properties: print x
...
('STATE', u'Aak\x07\x00\x00')
}}}