Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#10758 closed enhancement (fixed)

Add changeset attributes in remote control

Reported by: pyrog Owned by: team
Priority: normal Milestone:
Component: Trac Version:
Keywords: Cc:

Description

From HOT Task manager, it could be usefull to send changeset attributes (eg. source=Bing ; comment=#hotosm-task-755 ; hotosm-task=755…).

Actually, HOT TM could do this with iD editor (&comment= parameter is passed to the URL), but passing more parameters will be more flexible.
I don't know if the changeset parameters should passed to the load_and_zoom handler or a new handler changeset or save ?

In the second or third case, comments could be typed once in HOT TM and send to JOSM with other usefull parameters.

Thanks.

See :
https://github.com/hotosm/osm-tasking-manager2/blob/master/osmtm/static/js/project.js#L405

Attachments (0)

Change History (6)

comment:2 Changed 6 years ago by pyrog

The job is already done (but undocumented) for adding changeset comment and changeset source.
See : http://127.0.0.1:8111

/zoom — download a bounding box from the API, zoom to the downloaded area and optionally select one or more objects
/load_and_zoom — download a bounding box from the API, zoom to the downloaded area and optionally select one or more objects
optional parameters: new_layer, addtags, select, zoom_mode, changeset_comment, changeset_source, search

comment:3 Changed 6 years ago by stoecker

Feel free to update documentation. It's a wiki.

comment:5 Changed 6 years ago by stoecker

Resolution: fixed
Status: newclosed

comment:6 Changed 6 years ago by Don-vip

Component: CoreTrac

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.