Hi there. Can anyone tell me how to get all nodes from a relation by rel-id?

asked 17 Jun '13, 08:39

Ogmios's gravatar image

accept rate: 25%


Do you mean nodes directly in the relation, or all nodes recursively (the nodes in ways and relations that are member of the relation you want to fetch).

(17 Jun '13, 09:47) emj

Nodes directly in the relation

(17 Jun '13, 22:09) Ogmios

Please try

rel(ID_OF_RELATION);node(r);out meta;

An example.

permanent link

answered 18 Jun '13, 07:05

Roland%20Olbricht's gravatar image

Roland Olbricht
accept rate: 35%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 17 Jun '13, 08:39

question was seen: 4,266 times

last updated: 18 Jun '13, 07:05

powered by OSQA