From 547db300a06e71cb107bc8cb9f3341a1c0b83440 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 15 Sep 2011 20:09:28 +0000 Subject: [PATCH] match nodejs bindings for kwarg args when encoding grids --- bindings/python/mapnik_grid.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bindings/python/mapnik_grid.cpp b/bindings/python/mapnik_grid.cpp index 7a55060fb..0a5f3b80a 100644 --- a/bindings/python/mapnik_grid.cpp +++ b/bindings/python/mapnik_grid.cpp @@ -54,7 +54,7 @@ void export_grid() .def("height",&mapnik::grid::height) .def("view",&mapnik::grid::get_view) .def("encode",encode, - ( arg("encoding")="utf",arg("add_features")=true,arg("resolution")=4 ), + ( arg("encoding")="utf",arg("features")=true,arg("resolution")=4 ), "Encode the grid as as optimized json\n" ) .add_property("key", @@ -64,11 +64,6 @@ void export_grid() "The value should either be __id__ to refer to the feature.id()\n" "or some globally unique integer or string attribute field\n" ) -/* - // TODO - will require json generator - .def("save", save_to_file1) - .def("save", save_to_file2) -*/ ; }