24
24
#include <boost/python.hpp>
25
25
#include <mapnik/query.hpp>
26
26
#include <mapnik/envelope.hpp>
30
41
using namespace boost::python;
35
43
class_<query>("Query", "a spatial query data object",
36
44
init<Envelope<double>,double>() )
37
46
.add_property("resolution", &query::resolution)
38
47
.add_property("bbox", make_function(&query::get_bbox,
39
48
return_value_policy<copy_const_reference>()) )