[OSM-dev] return multiple objects - api function?

Immanuel Scholz imi at eigenheimstrasse.de
Fri Jul 20 12:16:27 BST 2007


Hi,

I like to have an API-function which returns more than one specific object.

As example I want to provide a function in JOSM to recheck some specific
(currently selected) objects rather than a bounding box.

Another example for this would be the history function in JOSM (not
implemented yet), I need to download several object's history at once (I
plan to get history for the users selection).

I could start to repeatedly hit the server with single statements, as I
did with the "incomplete download" thingie, but I guess that would be
worse in speed and traffic that one function to call with a list of id's?

I would do the changes to the ruby code, no problem there.. Should I do
it as an RoR-Controller or hack the stuff into the existing code? What
do you say?


Ciao, Imi.

-- 
DF0E A04F 7063 69C5 A76B  7557 0A77 608F 9172 3535




More information about the dev mailing list