artemp/mapnik — Issue #28: Implement expected interface for Feature.properties
Author: artemp
Created: 2011-10-11 15:52:43+00:00
State: open
Labels: Boost_Python_Binding

for f in ds.features_at_point(merc):
print f

on that, I'd expect to be able to call:
for (k,v) in f.properties:

but I can't. Also, if I do:
f.properties['type']
I get back a mapnik._mapnik.Value object, and not a native python object as I'd expect

Also, if I do
for prop in f.properties:
you have to call key() and value(), it'd be good if there were python attributes for them

Nick