[Tilesathome] Cannot render a certain tile

Andreas Titz erddaten at fahrrad.streckenfun.de
Sun Apr 26 09:29:53 BST 2009


Hi,

I cannot render the tile at 2127 1372 in xy mode.

After doing the following modification I get an error "Split Tiles:
Missing File ~/render/12_2127_1372_dlPQK/tile-z17-s0.png encountered".
(without that modification I get only a fatal Perl-error in a *.pm-file)

The error is reproducable for that tile even with another 
t at h-installation for a different user on the same machine.

Does anyone have a clue for further investigation?

Andreas



--------------------------------->8-----------------------------------------
Index: lib/Tileset.pm
===================================================================
--- lib/Tileset.pm      (Revision 14556)
+++ lib/Tileset.pm      (Arbeitskopie)
@@ -1320,7 +1320,8 @@
          ::statusMessage("Splitting stripe $stripe",0,3);

          my $png_file =
File::Spec->join($self->{JobDir},"$layer-z$zoom-s$stripe.png");
-        my $Image = GD::Image->newFromPng($png_file);
+        my $Image;
+        eval { $Image = GD::Image->newFromPng($png_file) };

          if( not defined $Image ) {
              throw TilesetError "SplitTiles: Missing File $png_file
encountered", "fatal";
-----------------------------8<------------------------------------------------





More information about the Tilesathome mailing list