I’m trying to use overpass turbo to extract data from OSM so that I can feed it to leaflet.js for display on a map. I’m exporting the data from overpass turbo as geojson. This does exactly what I want where the relation does not contain any members of type ‘point’:
// Comrie to Saline Link
rel(18276419);
out geom;
However, if there are points in the relation, as well as ways, then it outputs extra 'feature’s for each point, as returned by:
// Fife Coastal Path
rel(7776868);
out geom;
How can I stop the points being output?