Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle relation in XML #17

Merged
merged 1 commit into from
May 21, 2014
Merged

Handle relation in XML #17

merged 1 commit into from
May 21, 2014

Conversation

BinaryBrain
Copy link
Contributor

Hi,
Since I really needed relations for my project, I did it myself.

Every relation has this form:

{
"tags": {
    "except":"bicycle",
    "restriction":"only_straight_on",
    "type":"restriction"
},
"members":{
    "nodes":[],
    "ways":[
        {"ref":"238239023","role":"to"},
        {"ref":"8019802","role":"from"},
        {"ref":"35297466","role":"via"}
    ]
},
"id":"105752",
"visible":true,
"version":3,
"changeset":19774307,
"user":"Xinfe",
"uid":"167945"
}

Hope you enjoy it!

marook added a commit that referenced this pull request May 21, 2014
@marook marook merged commit 4f698e2 into marook:master May 21, 2014
@marook marook mentioned this pull request May 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants