[Tilesathome] patch for MaxTilesetComplexity handling (_unstable)
Lennard
ldp at xs4all.nl
Tue Sep 16 11:59:09 BST 2008
Could the following patch be added to _unstable, so it won't exit loop
mode with an error when it encounters a tileset going over the
maxcomplexity setting?
Index: tilesGen.pl
===================================================================
--- tilesGen.pl (revision 10723)
+++ tilesGen.pl (working copy)
@@ -536,7 +536,7 @@
}
}
# and now check whether we found it unrenderable before
- if ($req->is_unrenderable()) {
+ if (defined $req and $req->is_unrenderable()) {
statusMessage("Ignoring unrenderable tile (" .
$req->ZXY_str . ')', 1, 3);
eval {
$Server->putRequestBack($req, "Unrenderable");
--
Lennard
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: is_unrenderable.patch.txt
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080916/b850569e/attachment.txt>
More information about the Tilesathome
mailing list