AW: JOSM Plugin / Do something after upload of changed data

Gerd Petermann gpetermann_muenchen at hotmail.com
Fri May 8 21:28:08 UTC 2020


Hi Kai,

The cs id is returned by the api when the changeset is opened, but the hooks are called before that, so I see no way to get the cs id with the current code in core.

Gerd

________________________________________
Von: Kai Michael Poppe - OSM <osm at poppe.dev>
Gesendet: Freitag, 8. Mai 2020 23:05
An: josm-dev at openstreetmap.org
Betreff: JOSM Plugin / Do something after upload of changed data

Hi list,

I'm currently building a Plugin that's supposed resolve upload a note
with a reference to the changeset that was created through the upload.

I've successfully managed to get the UploadHook working and put the
reference to the Note in the Changeset comment, but I can't figure out
how to find the Changeset ID that was created. Is there any interface I
can implement to do this in the Plugin namespace?

Thanks for helping out a plugin noob!

Kai





More information about the josm-dev mailing list