[Talk-GB] MapRoulette challenge to add highways
Marjan Van de Kauter
Marjan.VanDeKauter at tomtom.com
Thu Jan 26 15:18:20 UTC 2023
Hi,
Thank you Paul for logging your changeset IDs, and thank you Kai for that tip about using OsmCha's API to get the changesets mentioning the challenge URL. I appreciate it! I've shared this input with my team and we'll see if we can retrieve some more detailed information about the edits made in our challenges in the future.
In the meantime, we have added 800 new tasks to the "Add Highways<https://maproulette.org/browse/challenges/37397>" challenge, located in Southern England. Enjoy and thanks for your enthusiasm!
Marjan
From: Kai Michael Poppe - OpenStreetMap <osm at poppe.dev>
Sent: Tuesday 24 January 2023 20:30
To: talk-gb at openstreetmap.org
Subject: Re: [Talk-GB] MapRoulette challenge to add highways
Hey Marjan,
thank you for the challenge, I had fun doing it ;-)
As MapRoulette adds the URL of the challenge to the comment of any changeset (given the mapper doesn't remove it), it is possible to request all the CSs using OsmCha's API:
curl -X GET "https://osmcha.org/api/v1/changesets/?comment=https%3A%2F%2Fmaproulette.org%2Fbrowse%2Fchallenges%2F37289&page_size=10000"<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fosmcha.org%2Fapi%2Fv1%2Fchangesets%2F%3Fcomment%3Dhttps%253A%252F%252Fmaproulette.org%252Fbrowse%252Fchallenges%252F37289%26page_size%3D10000&data=05%7C01%7Cmarjan.vandekauter%40tomtom.com%7Cb56ab352004246c3599d08dafe41af32%7C374f80267b544a3ab87d328fa26ec10d%7C0%7C0%7C638101855322234453%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=O%2B%2BL5%2BXnz1IFZxCZ2ZcI%2FyzvFLXHNpLo55mzDE5OIC0%3D&reserved=0> -H "accept: application/json" -H "Authorization: Token <<REDACTED>>"
will give you a json with all 56 CSs that contain the comment. As you said there were 88 cases and 64 cases where fixed, it's reasonable to assume that either 8 changes where fixed within one CS or someone removed the comment - but you've got 87,5% of changes available for you to analyze.
The Authorization Token, redacted here, can be retrieved when you're logged into OsmCha.org, click on your username, go to Account settings and copy the API key.
I have attached the result of the request for convenience.
Kai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20230126/5072f877/attachment.htm>
More information about the Talk-GB
mailing list