This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Query to get all bus stations and sBhan station data for Berlin from openstreetmap

0

I am very new with openstreetmap and i am doing my university assignment. I am trying to get all bus station and sBhan data for Berlin in jsonform or any other useful form.

I tried following but its not looks correct. overpass-turbo

[out:json][timeout:25];
// gather results
(
// query part for: “bar”
node["amenity"="bus"]({{bbox}});
way["amenity"="bus"]({{bbox}});
relation["amenity"="bus"]({{bbox}});
);
// print results
out body;
>;
out skel qt;

I would be great if some guide me how correctly i can access for bus and sBhan.

asked 30 Aug '18, 12:58

sajjadmurtaza's gravatar image

sajjadmurtaza
1112
accept rate: 0%

edited 30 Aug '18, 13:15

Source code available on GitHub .