add 'unknown' geometry type

This commit is contained in:
artemp 2015-03-23 11:57:40 +01:00
parent 9f04e2317a
commit 36e9525a49

View File

@ -189,6 +189,7 @@ void export_geometry()
implicitly_convertible<mapnik::new_geometry::line_string, mapnik::new_geometry::geometry>();
implicitly_convertible<mapnik::new_geometry::polygon, mapnik::new_geometry::geometry>();
enum_<mapnik::new_geometry::geometry_types>("GeometryType")
.value("Unknown",mapnik::new_geometry::geometry_types::Unknown)
.value("Point",mapnik::new_geometry::geometry_types::Point)
.value("LineString",mapnik::new_geometry::geometry_types::LineString)
.value("Polygon",mapnik::new_geometry::geometry_types::Polygon)