diff --git a/extractor/scripting_environment.cpp b/extractor/scripting_environment.cpp index 2b34b804754..972772246ae 100644 --- a/extractor/scripting_environment.cpp +++ b/extractor/scripting_environment.cpp @@ -91,8 +91,10 @@ void ScriptingEnvironment::init_lua_state(lua_State *lua_state) luabind::class_("Node") // .def("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), + .def("get_value_by_key", &get_value_by_key) + .def("id", &osmium::Node::id), luabind::class_("ResultNode") .def_readwrite("traffic_lights", &ExtractionNode::traffic_lights)