Plugin translation

2020-07-12 Thread Kai Michael Poppe - OSM
Good afternoon list! I was trying to get translation for my plugins started but I seem to be unable to perform the most basic task of creating a .pot :/ Going by https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins#Translatingaplugin I thought of using option b) and use ant in jos

Re: Get values from OsmPrimitive

2020-07-10 Thread Kai Michael Poppe - OSM
Hi Oliver, when OsmPrimitive p; then p.getId() gives you the LONG Id that corresponds to p.getType() that could be OsmPrimitiveType.NODE, OsmPrimitiveType.WAY or OsmPrimitiveType.RELATION p.getKeys() gives you a TagMap of all Keys in p where p.getKeys().containsKeys(String

New JOSM Plugin noteSolver - Issue with pop-up (was: Do something after upload of changed data)

2020-06-09 Thread Kai Michael Poppe - OSM
thing? Any help would be appreciated! K On 08.05.2020 23:28, Gerd Petermann wrote: > 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 >

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

2020-05-08 Thread Kai Michael Poppe - OSM
, > > 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 > Ges

JOSM Plugin / Do something after upload of changed data

2020-05-08 Thread Kai Michael Poppe - OSM
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 f