[OSM-dev] [OSM-talk] donating read-only api-mirrors

Matt Amos zerebubuth at gmail.com
Fri Feb 6 23:18:13 GMT 2009


On Fri, Feb 6, 2009 at 8:32 PM, Stefan de Konink <stefan at konink.de> wrote:
> Matthias Julius wrote:
>> Is anyone relying on the ascending ID order?
>
> Even then; the ordering can be done in SQL.

not in the two-step scheme that Matthias was suggesting. it might be
possible using temporary tables, but care would be necessary to work
around mysql's horrible "can't re-open table" brokenness.

>> To be able to send proper error codes to the client when something
>> goes wrong halfway down the path the data could be cached on disk and
>> sent out once it is complete.
>
> This is significant overhead. Just stream out, if there is really a
> problem; just close the current open tag {node,way,relation} and append
> <error>Whatever</error> after it.

adding an error element would require a (small) change to all clients
to support it, which is fine if all the tool authors are willing to
make the change (or accept a patch).

cheers,

matt




More information about the dev mailing list