Make node location accessible
This commit is contained in:
parent
a4f31001e8
commit
405f08b807
@ -91,6 +91,7 @@ void ScriptingEnvironment::init_lua_state(lua_State *lua_state)
|
||||
|
||||
luabind::class_<osmium::Node>("Node")
|
||||
// .def<node_member_ptr_type>("tags", &osmium::Node::tags)
|
||||
.def("location", &osmium::Node::location)
|
||||
.def("get_value_by_key", &osmium::Node::get_value_by_key)
|
||||
.def("get_value_by_key", &get_value_by_key<osmium::Node>),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user