File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727#include < mapnik/projection.hpp>
2828// pybind11
2929#include < pybind11/pybind11.h>
30+ #include < pybind11/stl.h>
3031
3132using mapnik::projection;
3233
@@ -107,11 +108,13 @@ void export_projection (py::module& m)
107108 .def_property_readonly (" geographic" , &projection::is_geographic,
108109 " This property is True if the projection is a geographic projection\n "
109110 " (i.e. it uses lon/lat coordinates)\n " )
111+ .def_property_readonly (" area_of_use" , &projection::area_of_use,
112+ " This property returns projection area of use in lonlat WGS84\n " )
110113 ;
111114
112- m.def (" forward_" ,&forward_pt);
113- m.def (" inverse_" ,&inverse_pt);
114- m.def (" forward_" ,&forward_env);
115- m.def (" inverse_" ,&inverse_env);
115+ m.def (" forward_" , &forward_pt);
116+ m.def (" inverse_" , &inverse_pt);
117+ m.def (" forward_" , &forward_env);
118+ m.def (" inverse_" , &inverse_env);
116119
117120}
You can’t perform that action at this time.
0 commit comments