Hello list,

I am working at a plugin called TrustOSM to digital sign OSM data with JOSM.

Now I have a fundamental problem, where you may help me to solve it.

I want to save the signatures separate (not in the OSM DB), so I keep the 
object ID to reference the right one and find it later.
When I load the signatures again I want to load the corresponding OsmPrimitives 
from the OSM Server, too. But I couldn't find a way to give just an ID and then 
load the corresponding object.
I have to know which API-Type the object is (Node, Way, Relation). Otherwise I 
couldn't instantiate an OsmPrimitive because it is abstract.

At this page:
http://josm.openstreetmap.de/wiki/Help/Concepts/Object#Objectids
I found the following todo:
TODO: download object you now the id of

Is that a missing feature in JOSM or is it not possible to find an osm object 
at the server just knowing the id?

Thank you
Christoph

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to