Hi there. Can anyone tell me how to get all nodes from a relation by rel-id?
asked 17 Jun '13, 08:39
Ogmios 751●20●26●39 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).
Nodes directly in the relation
Please try
rel(ID_OF_RELATION);node(r);out meta;
An example.
answered 18 Jun '13, 07:05
Roland Olbricht 6.6k●3●64●88 accept rate: 35%
Once you sign in you will be able to subscribe for any updates here
Answers
Answers and Comments
Markdown Basics
learn more about Markdown
This is the support site for OpenStreetMap.
Question tags:
overpass ×459 relation ×124
question asked: 17 Jun '13, 08:39
question was seen: 3,992 times
last updated: 18 Jun '13, 07:05
Overpass API query question
Overpass: Is it possible to use it as an alternative to the API relation /full call?
Get bus stops by given area and relation.
Which possibilities do I have to check relations for errors?
Структура OSM файла / Structure of the OSM file
What is a "role" in a relation?
Does it make sense to create relations for very large objects - say: the Mediterranean Sea?
[closed] Relation 317450 is deleted - Please help to recover
Is it possible to lock/protect some content (nodes, ways, relations)?
Selecting an inner relation
powered by OSQA
First time here? Check out the FAQ!
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).
Nodes directly in the relation