mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
renable to_wkt after g++ compile fix in 0aef7cc55a9f560
This commit is contained in:
parent
365e42cd0e
commit
d940a7cc52
@ -42,9 +42,8 @@ bool to_wkt(std::string & wkt, mapnik::geometry_type const& geom)
|
||||
{
|
||||
typedef std::back_insert_iterator<std::string> sink_type;
|
||||
sink_type sink(wkt);
|
||||
// disable temporarily until compile works with g++
|
||||
//wkt_generator<sink_type> generator(true);
|
||||
bool result = false;//karma::generate(sink, generator, geom);
|
||||
wkt_generator<sink_type> 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<std::string> sink_type;
|
||||
sink_type sink(wkt);
|
||||
// disable temporarily until compile works with g++
|
||||
//wkt_multi_generator<sink_type> generator;
|
||||
bool result = false;//karma::generate(sink, generator, geom);
|
||||
wkt_multi_generator<sink_type> generator;
|
||||
bool result = karma::generate(sink, generator, geom);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user