1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
// Query settings
[out:json][timeout:25];
 
// Get the relation that interests us
relation["name"="S8: Wiesbaden => Mainz Hbf => Hanau"];
 
// Recurse down and get all info from all members and sub-members
>> -> .s8_all;
 
// Filter out all members outside of bbox
nwr.s8_all(49.987325, 8.237257, 50.035367, 8.318367) -> .s8_bbox;
 
// Return all details
.s8_bbox out;
30 m
Leaflet © OpenStreetMap contributors
1