From f897a54445fe73e4558fe286459d8635c6d8e955 Mon Sep 17 00:00:00 2001 From: artemp Date: Tue, 23 Apr 2013 15:10:06 +0100 Subject: [PATCH] + reflect wkt_parser in python ```python import mapnik reader = mapnik.WKTReader() geometry = reader.read("Point(123 123)") ``` --- bindings/python/mapnik_python.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/python/mapnik_python.cpp b/bindings/python/mapnik_python.cpp index 4ef560c23..9caf993c5 100644 --- a/bindings/python/mapnik_python.cpp +++ b/bindings/python/mapnik_python.cpp @@ -69,6 +69,7 @@ void export_view_transform(); void export_raster_colorizer(); void export_label_collision_detector(); void export_logger(); +void export_wkt_reader(); #include #include @@ -479,6 +480,7 @@ BOOST_PYTHON_MODULE(_mapnik) export_raster_colorizer(); export_label_collision_detector(); export_logger(); + export_wkt_reader(); def("clear_cache", &clear_cache, "\n"