return geometry_type(geom)
This commit is contained in:
parent
f627b8ace3
commit
f54eb68063
1 changed files with 2 additions and 12 deletions
|
@ -26,7 +26,7 @@
|
|||
// mapnik
|
||||
#include <mapnik/value_types.hpp>
|
||||
#include <mapnik/value.hpp>
|
||||
|
||||
#include <mapnik/geometry_type.hpp>
|
||||
// stl
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
@ -53,17 +53,7 @@ struct geometry_type_attribute
|
|||
template <typename V, typename F>
|
||||
V value(F const& f) const
|
||||
{
|
||||
mapnik::value_integer type = 0;
|
||||
//for (auto const& geom : f.paths())
|
||||
//{
|
||||
// if (type != 0 && geom.type() != type)
|
||||
// {
|
||||
// return value_integer(4); // Collection
|
||||
// }
|
||||
// type = geom.type();
|
||||
//}
|
||||
// FIXME
|
||||
return type;
|
||||
return new_geometry::geometry_type(f.get_geometry());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue