add geometry_collection type

This commit is contained in:
artemp 2015-02-20 17:21:17 +01:00
parent c5c5fc9e62
commit 30da25a9c7

View file

@ -205,7 +205,10 @@ struct polygon : vertex_sequence
}
};
typedef mapnik::util::variant< point,line_string, polygon3, multi_point, multi_line_string, multi_polygon> geometry;
struct geometry_collection;
typedef mapnik::util::variant< point,line_string, polygon3, multi_point, multi_line_string, multi_polygon, mapnik::util::recursive_wrapper<geometry_collection> > geometry;
struct geometry_collection : std::vector<geometry> {};
struct point_vertex_adapter
{