This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Possibility of download public GPS trace by user

1

Hi all, I'm trying to do some data analysis and would like to know the historical data of each individual. I understand OSM now provides API to download GPS traces in a specific area by using

GET /api/0.6/trackpoints?bbox=left,bottom,right,top&page=pageNumber

I wonder if there is any similar function to download GPS trace of a specific user ID? Thanks in advance.

asked 03 Jul '19, 15:47

stormzhou's gravatar image

stormzhou
26112
accept rate: 0%


One Answer:

3

No, this is not possible, for privacy reasons. You will notice that the "trackpoints" API does not give you user names or user IDs either.

answered 03 Jul '19, 16:13

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Thanks for your answer. That's what confuses me because in the raw data I downloaded each trace started with a string like <url>https://api.openstreetmap.org/user/ABCD/traces/3026889</url> , which gives the user name of each GPS trace. But if there is no such API call existing, I'll just try to parse the URL in the raw data instead.

(03 Jul '19, 16:27) stormzhou

Users have the option of making their traces public so that they can be associated with the user ID but this is true only for a fraction of traces.

(03 Jul '19, 16:39) Frederik Ramm ♦

Thank you, that explains a lot. I'll download all data to see how I can clean and categorize them.

(10 Jul '19, 22:20) stormzhou