NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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%


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.

permanent link

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×290
×275
×22

question asked: 03 Jul '19, 15:47

question was seen: 1,429 times

last updated: 10 Jul '19, 22:20

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum