I want to get the data for a relation from the overpass turbo API, convert it to GeoJSON and get the LineString. What script/library should I use? I am using the query below to get the data.
[out:json][timeout:300];
(
relation(19763);
<;
);
out geom;
I have tried using osmtogejosn.js but it doesn't return the same result as the overpass-turbo.eu export function.