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

D Tucny d at tucny.com
Sun Apr 22 09:30:15 BST 2007


On 22/04/07, Kristian Thy <thy at 42.dk> wrote:
>
> 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.



I use the $Bin variable in here to fix mine...

> 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:


I got this using ppm too...

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.plline 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:



That's fixable by installing a more recent Math::Vec from
http://theoryx5.uwinnipeg.ca/ppms/
(add this as a repository in the ppm tool)

[#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.


What version of GD do you have installed?

d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070422/df2f04ad/attachment.html>


More information about the dev mailing list