No luck with How can I download programmatically a GPS trace file which is available at
i.e. how can I do this with a script? I presume the answer is somewhere in the API wiki documentation , but it's outside of my zone of familiarity (e.g. Note: I don't want to download bulk data, I simply want to be able to automate the download of, say, a dozen GPS trace files. Edit: The reason of my failure was that I had made a mistake in constructing the URL... For the record, the following python code snippet works just fine: asked 29 Sep '19, 16:44 Antoine C |
The top public trace at the moment just happens to be this one. On that page is a download link, which is https://www.openstreetmap.org/trace/3116621/data. If you get that (via e.g. "wget" or within your programming language of choice) I'd expect that you'll get that trace. I've just done this:
and what I get looks like a GPX file to me. You could do that as part of a script. Does this answer the question, or do you need to know how to find out the trace ID, or something else?
permanent link
This answer is marked "community wiki".
answered 29 Sep '19, 17:08 SomeoneElse ♦ Yes that answers my question! I was not able to do this in To answer your question, I am fine finding trace id (in python using an html parser).
(29 Sep '19, 17:16)
Antoine C
|