maproulette / maproulette/maproulette-backend
clicking on edit (for ID) should open OSM-node in ID-editor
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 53
- Forks
- 39
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 12
Description
Current behavior:
when doing a maproulette challenge and clicking edit the ID-editor is openend and the map section, where the point to edit is, is selected. But if a single point (node etc) is being edited, it is not selected automatically.
expected behavior: when editing OSM through the ID-editor the node, way, relation that is being edited should be selected. this enables the edit feature side menu and speeds up the edit process.
an example of a working URL would be: https://www.openstreetmap.org/edit?editor=id&node=299587851. in this case node is passed as parameter and the edit feature side menu is active from the start. for ways or relations the parameter needs to be adapted. eg. https://www.openstreetmap.org/edit?editor=id&way=123082389
this is especially useful if the section of the map is crowded.
I don't know if this behavior is useful for all challenges, but when editing single nodes or elements it could accelerate the editing process. One could require a parameter in the geo-json file to activate the behavior.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the edit action that builds the OpenStreetMap ID-editor URL, then trace how single nodes, ways, and relations are represented in the challenge GeoJSON. Confirm how an optional parameter could select the edited element, and validate that the resulting URL activates the matching ID feature side menu for each element type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100