grid output - only serialize requested fields (and not fields potentially collected in expressions

This commit is contained in:
Dane Springmeyer 2011-04-27 19:53:56 +00:00
parent 9548492036
commit dffe53036e

View file

@ -122,7 +122,7 @@ void write_features(mapnik::grid::feature_type const& g_features,
it->second.base()))); it->second.base())));
} }
} }
else else if ( (attributes.find(key) != attributes.end()) )
{ {
found = true; found = true;
feat[it->first] = boost::python::object( feat[it->first] = boost::python::object(