[Openstreetmap-dev] Returning the whole data instead of the id.

SteveC steve at asklater.com
Wed Feb 1 15:45:55 GMT 2006


* @ 31/01/06 11:05:41 PM immanuel.scholz at gmx.de wrote:
> Hi,
> 
> > > This would break code that read the current id out of the answer stream
> > > (which would need to be changed to read the id attribute from the xml
> > > answer). It is cool for all offline editors, since the lat/lon may have
> > > been changed (due rounding). This could also enable the server to do some
> > > filtering or processing on all change inputs and have the clients to
> > > update their view of the data without the need of an additional
> > > GET-request.
> >
> > Breaks the applet.
> 
> Damn, thought it would be.
> 
> Would you change the applet? I could try (but never hacked within the applet 
> before).

Yeah as time permits.

> Does speak anything against this?
> 
> > JOSM and the applet should use the same parser anbyay.
> 
> Hm... JOSM uses Java 1.5. And JOSM uses JDOM. And finally, JOSM has a 
> different internal data structure. So I don't see many common things to 
> reuse.

But that doesn't mean it *should* be like that. Maintaining multiple
Java parsers seems silly.

The 1.5 thing is a bit spurious...

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the dev mailing list