[OSM-dev] Problems with Tiles at Home under Windows

Kristian Thy thy at 42.dk
Sun Apr 22 01:51:44 BST 2007


On Sun, Apr 22, Hansen wrote:
> thank you for your help. 7-Zip is now working perfect! I only added
> "Zip=C:\7-Zip\7z.exe" to the tileAtHome.conf. But then I have two other
> problems. One is "pngcrush"

As far as I can tell pngcrush isn't mandatory, but you can just dump the
exe file from
http://mesh.dl.sourceforge.net/sourceforge/pmt/pngcrush-1.6.4-win32.zip
into your t at h folder to get it working. I also had to change line 802 in
tilesGen.pl from

	my $Cmd = sprintf("%s ./lines2curves.pl %s > %s",

to

	my $Cmd = sprintf("%s perl lines2curves.pl %s > %s",

in order to get t at h running.

> and the other one is "GD::Image".

I think I installed this using the ActiveState PPM, but I can't remember
to be honest :) At any rate, I still get a lot of errors as well:

This is version 2610 (Frederikssund) of tilesgen running on MSWin32
[#1   0% jobinit] Doing tileset 2185,1274 (area around 56.047421,12.084961)
[#1   0% default] Beziercurvehinting zoom level 12... ERROR
  The following command produced an error message:
   perl lines2curves.pl c:\temp\osm\output-3408-z12.svg-temp.svg > c:\temp\osm\output-3408-z12.svg
  Debug output follows:
  | "terse" is not defined in %Math::Vec::EXPORT_TAGS at lines2curves.pl line 47
  |     main::BEGIN() called at C:/Perl/site/lib/Math/Vec.pm line 47
  |     eval {...} called at C:/Perl/site/lib/Math/Vec.pm line 47
  | Can't continue after import errors at lines2curves.pl line 47
  | BEGIN failed--compilation aborted at lines2curves.pl line 47.
[#1   0% default] Error on Bezier Curve hinting, rendering without bezier curves

I get this for each zoom layer; it's rendered to SVG but without
Beziers. Then, when it comes to doing the PNGs:

[#1   0% default] Splitting c:\temp\osm\/3408.png_part (1 x 1)... Can't
use an undefined value as a symbol reference at C:/Perl/site/lib/GD/Image.pm
line 175.

... at which point it stops.

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«.




More information about the dev mailing list