I'd like to
- export just the route from an Overpass Turbo query as GeoJson, and
- ideally just within a specified radius of a set of coordinates.
I have the query below, but this exports tags / waypoints along the way as shown. I want to use the route within leaflet (for which I know I need to Export to GeoJson).
[out:json][timeout:25];
// gather results
(
area[name="West Midlands"];
way[name ~"^(Bristol Road|Binley Road)"]({{bbox}});
);
// print results
out body;
>;
out geom qt;
This outputs the following map, where you can see the route and also the circles (its those I want to exclude) that may well be the nodes, but I'm not sure. They may also indicate parts of the route as I can see there are many Features defined as LineStrings. Basically, all I want is the LineStrings.
If anyone knows how to limit to a radius of a specified point for each road, that would be great, but if needs be I can use bbox.