Can be used as in: function way_function(way, result) for node in way:get_nodes() do local id = node:id() io.write(">>> " .. id .. "\n") end -- ... end Warning: we do not use libosmium's location cache, therefore .location() on the nodes will crash at runtime. Once we switch to using libosmium's cache this should work. Until then, you can use the node id now. |
||
---|---|---|
.. | ||
benchmarks | ||
contractor | ||
engine | ||
extractor | ||
osrm | ||
server | ||
storage | ||
tools | ||
util |