[OSM-talk] API Stalement
Etienne
80n80n at gmail.com
Thu Jun 8 15:04:24 BST 2006
What kind of algorithm is being used that is non-linear?
Having got all the segments within a bbox it should be a very simple
matter to collect all the ways that contain any of the segments. I
assume there is an index for this.
Etienne
On 6/8/06, Immanuel Scholz <immanuel.scholz at gmx.de> wrote:
> Hi,
>
>
> > What happens on the server if an API call fails? Does it try to close
> > the connection? Does it log anything anywhere? Can anyone see those
> > logs?
>
> Steve mentioned memory shortage before. If this is the case, you usually
> don't see much in the logs. Other problems are that the data collection
> can just take a very long time. For the current algorithm, the processing
> time increases more than linear with the number of nodes and segments to
> be delivered (only a problem for larger requests). This, combined with
> memory shortage can lead to swap activity, which lead to times like "2
> days" to complete the request.
>
>
> It is not uncommon that connections does not get resetted in case of
> errors (although it would be good if they were, of course), especally
> things like out of memory.
>
>
> Ciao, Imi
>
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
More information about the talk
mailing list