Skip to content

Relation in multiple way #376

Answered by mytracks
mytracks asked this question in Q&A
Feb 6, 2022 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

Here is the Lua code:

-- nodes to be processed
node_keys = { "highway", "railway" }

-- node attributes to be copied
node_attributes = { "name", "bicycle", "foot", "access", "smoothness", "surface", "type", "bridge", "tunnel", "route", "network", "cycle_network", "roundtrip", "icn_ref", "lcn_ref", "rcn_ref", "ncn_ref" }

-- way attributes to be copied
way_attributes = { "name", "bicycle", "foot", "access", "smoothness", "surface", "type", "bridge", "tunnel" }

-- route attributes to be copied
route_attributes = { "name", "colour", "operator", "lcn", "lcn_ref", "icn", "icn_ref", "rcn", "rcn_ref", "ncn", "ncn_ref", "ref" }

function init_function()
end

function exit_function()
end

function 

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@mytracks
Comment options

@mytracks
Comment options

@systemed
Comment options

@mytracks
Comment options

@systemed
Comment options

Answer selected by mytracks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants