Right now we ask the user to manually adapt the overpass query for a cloned challenge. For example, the Overpass query for a clone of this challenge would start with
/*
THIS IS THE QUERY OF THE CHALLENGE YOU CLONED PLEASE ADAPT BEFORE USING TO AVOID CREATING DUPLICATE TASKS
rel(161993);map_to_area->.a; // state of utah
Now the user has to go to osm.org or nominatim.osm.org to look up the relation ID for the admin area they want to clone the challenge for, and go back in and insert that ID in the right place in the overpass Query input.
That's a lot to ask of someone who has no experience with Overpass and just wants a copy of an existing challenge for their own city / county / state / ...
Functional description of the feature
A link or (better) button "Clone For Area..." would pop up a modal with instructions (exact wording to be confirmed)
"You are about to create a clone of this challenge (). This means that that a copy of this Challenge will be created with all the same settings, but for the area you are interested in. The cloned challenge will have the same name, but with the added text "Clone for AREA". You can change this in the next screen. You can also change other settings, for example the preferred aerial imagery to use."
[NOMINATIM SEARCH BOX]
[Clone Challenge button]
MapRoulette creates a copy of the challenge and presents the user with the Challenge create screen. This is the same as the current clone implementation, except for the preset title and the adapted overpass query.
User confirms any changes and the challenge is populated.
Additional Requirements
Search should ideally be typeahead / auto-complete
Search should not return anything smaller than city and anything larger than country
Caveats
The area may overlap or lie within the area of the source challenge. We need to check for overlapping or containing geometry and disallow this to avoid creating duplicate tasks.
There is not a single way to limit an overpass query to an OSM boundary relation.
I've built some of the UI for this, but it's still not clear exactly how to handle different query formats from the parent/ancestor challenge. Currently this probably needs a bit more discussion.
Right now we ask the user to manually adapt the overpass query for a cloned challenge. For example, the Overpass query for a clone of this challenge would start with
Now the user has to go to osm.org or nominatim.osm.org to look up the relation ID for the admin area they want to clone the challenge for, and go back in and insert that ID in the right place in the overpass Query input.
That's a lot to ask of someone who has no experience with Overpass and just wants a copy of an existing challenge for their own city / county / state / ...
Functional description of the feature
Additional Requirements
Caveats