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

Ogmios
716192437
accept rate: 25%

2

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
1

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
6.4k35886
accept rate: 36%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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:

×355
×102

question asked: 17 Jun '13, 08:39

question was seen: 2,998 times

last updated: 18 Jun '13, 07:05

powered by OSQA