From b62cebf9b5ed1b7e8dc89f9e097c3223658c40da Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sat, 17 Dec 2011 11:55:30 -0800 Subject: [PATCH] renable to_wkt after g++ compile fix in 0aef7cc55a9f560 --- include/mapnik/util/geometry_to_wkt.hpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/include/mapnik/util/geometry_to_wkt.hpp b/include/mapnik/util/geometry_to_wkt.hpp index 80c77fec1..42735c3a2 100644 --- a/include/mapnik/util/geometry_to_wkt.hpp +++ b/include/mapnik/util/geometry_to_wkt.hpp @@ -42,9 +42,8 @@ bool to_wkt(std::string & wkt, mapnik::geometry_type const& geom) { typedef std::back_insert_iterator sink_type; sink_type sink(wkt); - // disable temporarily until compile works with g++ - //wkt_generator generator(true); - bool result = false;//karma::generate(sink, generator, geom); + wkt_generator generator(true); + bool result = karma::generate(sink, generator, geom); return result; } @@ -52,9 +51,8 @@ bool to_wkt(std::string & wkt, mapnik::geometry_container const& geom) { typedef std::back_insert_iterator sink_type; sink_type sink(wkt); - // disable temporarily until compile works with g++ - //wkt_multi_generator generator; - bool result = false;//karma::generate(sink, generator, geom); + wkt_multi_generator generator; + bool result = karma::generate(sink, generator, geom); return result; }