Hi
I’m struggling to understand Overpass API
I’m trying to download a relation by it’s name & a bounding box in geojson format. I don’t want any meta data such as ‘version’ or ‘timestamp’ etc.
I also don’t want any nodes/points:'“id”: “node/xxxxx”.
Using this query in the Turbo front end, this query does what I require except it returns the nodes:
relation
[“name”=“Cycle route”]
[“ref”=“213”];
out skel;
._;
;
out;
Is there way to remove the nodes?
Second question:
Instead of using Overpass Turbo, I want to use my query in a windows script file (,bat)
From searching on the web I notice there are at least two ‘versions’ of overpass api: interpreter & xapi. I’ve read all the info about them but I’m still unclear what there differences are. Can anyone explain, in simple terms, what they each do & which is best to use?
Third question:
As said earlier I need the data in geojson format so I can use it in in my Leaflet JavaScript derived map. Within Turbo there’s an option to convert to geojson, but from reading the web page, it appears there are only three direct output formats ie [out:josn]. Is there a way to perform the conversion in my script?
Hope I’ve been clear.
Cheers
Dave F.