forked from MapComplete/MapComplete
Docs: maproulette now supports BBoxes, see https://github.com/maproulette/maproulette-backend/issues/1037#issuecomment-3358179536
This commit is contained in:
parent
3f9bb752cc
commit
c02ec2435c
2 changed files with 2 additions and 1 deletions
|
@ -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/<challenge-id>` with your
|
||||
browser.
|
||||
The API endpoint for a single challenge is `https://maproulette.org/api/v2/challenge/view/<challenge-id>` 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/<challenge-id>?bbox=west,south,east,north`
|
||||
|
||||
Override the geojson-source in order to use the challenge:
|
||||
|
||||
|
|
|
@ -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 <id> in the next string: `https://maproulette.org/api/v2/challenge/view/<id>?bbox={x_min},{y_max},{x_max},{y_min}`",
|
||||
"geoJson": "https://maproulette.org/api/v2/challenge/view/27971",
|
||||
"osmTags": "mr_taskId~*"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue