Skip to content
Browse files

new features_at_point tolerance should be optional - make it so in py…

…thon to avoid test failures after #1499/#503
  • Loading branch information...
1 parent 8f997d5 commit e6f04fd40236f62fe9e8f78cce271f4f98ebd2e1 @springmeyer springmeyer committed Oct 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bindings/python/mapnik_datasource.cpp
View
2 bindings/python/mapnik_datasource.cpp
@@ -172,7 +172,7 @@ void export_datasource()
.def("bind",&datasource::bind)
.def("fields",&fields)
.def("field_types",&field_types)
- .def("features_at_point",&datasource::features_at_point)
+ .def("features_at_point",&datasource::features_at_point, (arg("coord"),arg("tolerance")=0))
.def("params",&datasource::params,return_value_policy<copy_const_reference>(),
"The configuration parameters of the data source. "
"These vary depending on the type of data source.")

0 comments on commit e6f04fd

Please sign in to comment.
Something went wrong with that request. Please try again.