facebook / Rapid

The OpenStreetMap editor driven by open data, AI, and supercharged features
https://rapideditor.org
ISC License
524 stars 92 forks source link

Support Maproulette cooperative challenges #1340

Open Cj-Malone opened 9 months ago

Cj-Malone commented 9 months ago

Description

Maproulette cooperative challenges are special challenges that give the user data to work with, eg a new node.

@mvexel will be able to better explain, with JOSM it looks like there is an extra request, eg:

http://127.0.0.1:8111/import?new_layer=false&layer_name=MR%20Task%20215603166%20Changes&layer_locked=false&download_policy=&upload_policy=&url=https://maproulette.org/api/v2/task/215603166/cooperative/change/task_215603166_change.osc

Along with the load and zoom call.

Rapid would have to load that osc file.

tordans commented 8 months ago

A few additional notes

Maybe start with the Tag Fix Challenges (docs), which are a lot easier to prepare and easier to apply. Hey also fit neatly in what was talked about in https://github.com/facebook/Rapid/issues/585#issuecomment-1755434863 with an osm_tags object that might be applied / rejected based on an external source.

However, it might be worth considering if the tag fix challenge data model should be extended first, see https://github.com/maproulette/maproulette3/issues/2299

On the data format of cooperative challenges: If this format where to be used more, I think that would be a good time to also consider making the data format easier to access. The whole osc+base64 (see docs) create quite a big entrance barrier.

tordans commented 6 months ago

Here is a test case for a tag fix challenge https://learn.maproulette.org/en-us/documentation/tag-fix-challenges/

b1tw153 commented 6 months ago

If there's a desire to support Tag Fix challenges, maybe that should have it's own ticket. We wouldn't want to confuse closing that issue with full support for Cooperative challenges.