diff --git a/include/mapnik/agg_renderer.hpp b/include/mapnik/agg_renderer.hpp index c82f57239..15ca8c2d5 100644 --- a/include/mapnik/agg_renderer.hpp +++ b/include/mapnik/agg_renderer.hpp @@ -123,6 +123,7 @@ protected: double x, double y, double angle = 0.0); void debug_draw_box(box2d const& extent, double x, double y, double angle = 0.0); + void draw_geo_extent(box2d const& extent,mapnik::color const& color); private: buffer_type & pixmap_; diff --git a/include/mapnik/box2d.hpp b/include/mapnik/box2d.hpp index fa52573fb..9f6bdb599 100644 --- a/include/mapnik/box2d.hpp +++ b/include/mapnik/box2d.hpp @@ -109,7 +109,7 @@ operator << (std::basic_ostream& out, std::basic_ostringstream s; s.copyfmt(out); s.width(0); - s << "box2d(" << std::setprecision(16) + s << "box2d(" << std::fixed << std::setprecision(16) << e.minx() << ',' << e.miny() << ',' << e.maxx() << ',' << e.maxy() << ')'; out << s.str();