<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Besides, the preprocessor<br>shuts out a whole lot of renderers that simply can't render any tiles
<br>that are a little more complete, London for instance is barely updated<br>anymore. In IRC there have been several mentions of tile areas that<br>simply don't render anymore on some clients because the preprocessor
<br>just fails.<br></blockquote></div><br><br>As frollo is not an essential step of the render perhaps we could do what we've done with lines2curves and make tiles@Home fall back to the original data if frollo dies.<br>
<br>Index: tilesGen.pl<br>===================================================================<br>--- tilesGen.pl (revision 2306)<br>+++ tilesGen.pl (working copy)<br>@@ -543,15 +543,25 @@<br> "frollo1.xsl",
<br> "$dataFile",<br> "temp-$PID.osm"); <br>- runCommand("Frolloizing (part I) ...", $Cmd);<br> <br>- my $Cmd = sprintf("%s \"%s\" tr %s %s > \"%s\"",
<br>- $Config{Niceness},<br>- $Config{XmlStarlet},<br>- "frollo2.xsl",<br>- "temp-$PID.osm",<br>- "$dataFile");<br>- runCommand("Frolloizing (part II) ...", $Cmd);<br>
+ if(runCommand("Frolloizing (part I) ...", $Cmd)){<br>+ my $Cmd = sprintf("%s \"%s\" tr %s %s > \"%s\"",<br>+ $Config{Niceness},<br>+ $Config{XmlStarlet},
<br>+ "frollo2.xsl",<br>+ "temp-$PID.osm",<br>+ "temp2-$PID.osm");<br>+ if(runCommand("Frolloizing (part II) ...", $Cmd)){<br>+ copy("temp2-$PID.osm","$dataFile");
<br>+ statusMessage("Frollification successful");<br>+ } else {<br>+ statusMessage("Frollotation failure (part II)");<br>+ killafile("temp2-$PID.osm");<br>+ }<br>+ } else {
<br>+ statusMessage("Failure of Frollotron (part I)");<br>+ killafile("temp-$PID.osm");<br>+ }<br> }<br> <br> #-----------------------------------------------------------------------------<br>
<br>