[OSM-dev] More responsive T at H performance
Jon Schlueter
jonschl at iriscorp.org
Thu Apr 19 21:18:50 BST 2007
I was wondering if it might be possible to improve the responsiveness
of looping clients. such that they would upload things when they got
layers complete.
Essentially it might be possible to add an upload call after each
layer has been completed in GenerateTileset
the possible patch would look like this. Any thoughts or problems
that I didn't think of?
Jon
--- tilesGen.pl 2007-04-16 09:39:16.000000000 -0400
+++ TestTilesGen.pl 2007-04-19 16:14:13.000000000 -0400
@@ -516,6 +516,9 @@
# Render it as loads of recursive tiles
RenderTile($layer, $X, $Y, $Y, $Zoom, $N, $S, $W, $E,
0,0,$ImgW,$ImgH,$ImgH,0);
+ # Upload completed tiles here
+ upload();
+
# Clean-up the SVG files
for (my $i = $Zoom ; $i <= $maxzoom; $i++)
{
More information about the dev
mailing list