From 2f7d85e6d83e8034b9fc15d8dd446cc07f031ffd Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sat, 22 Oct 2011 17:27:02 -0700 Subject: [PATCH] touchup feature.to_string() operator to display id differently than attributes --- include/mapnik/feature.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/feature.hpp b/include/mapnik/feature.hpp index 462733e3d..f36aa7d0e 100644 --- a/include/mapnik/feature.hpp +++ b/include/mapnik/feature.hpp @@ -160,8 +160,8 @@ public: std::string to_string() const { std::stringstream ss; - ss << "feature (" << std::endl; - ss << " id:" << id_ << std::endl; + ss << "feature " + << id_ << " (" << std::endl; for (std::map::const_iterator itr=props_.begin(); itr != props_.end();++itr) {