From c02ec2435c0321898c0917f56ae82a0269afcb8b Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 2 Oct 2025 18:19:55 +0200 Subject: [PATCH] Docs: maproulette now supports BBoxes, see https://github.com/maproulette/maproulette-backend/issues/1037#issuecomment-3358179536 --- Docs/Studio/Integrating_Maproulette.md | 2 +- assets/layers/maproulette_challenge/maproulette_challenge.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Docs/Studio/Integrating_Maproulette.md b/Docs/Studio/Integrating_Maproulette.md index 44f00e36f..0ba1bfcf0 100644 --- a/Docs/Studio/Integrating_Maproulette.md +++ b/Docs/Studio/Integrating_Maproulette.md @@ -28,7 +28,7 @@ use [the maproulette theme in debug mode](https://mapcomplete.org/maproulette?de To view the overview a single challenge, visit `https://maproulette.org/browse/challenges/` with your browser. The API endpoint for a single challenge is `https://maproulette.org/api/v2/challenge/view/` which returns a -geojson. +geojson. This endpoint supports a bbox to only return a part of the challenge: `https://maproulette.org/api/v2/challenge/view/?bbox=west,south,east,north` Override the geojson-source in order to use the challenge: diff --git a/assets/layers/maproulette_challenge/maproulette_challenge.json b/assets/layers/maproulette_challenge/maproulette_challenge.json index a6bb24d64..1d5a38870 100644 --- a/assets/layers/maproulette_challenge/maproulette_challenge.json +++ b/assets/layers/maproulette_challenge/maproulette_challenge.json @@ -11,6 +11,7 @@ "nl": "Laag met taken van een MapRoulette uitdaging" }, "source": { + "#": "Alternatively, if combined with `geojsonZoomLevel`, use geoJson with {y_min}, {y_max}, {x_min} and {x_max}. Only replace in the next string: `https://maproulette.org/api/v2/challenge/view/?bbox={x_min},{y_max},{x_max},{y_min}`", "geoJson": "https://maproulette.org/api/v2/challenge/view/27971", "osmTags": "mr_taskId~*" },