[Tilesathome] Broken lowzoom tile

Patrick Petschge Kilian osm at petschge.de
Fri Feb 26 06:46:19 GMT 2010


Hi all,

>> with these settings a 1.6 GB osm file is generated (mainly
>> boundary=administrative data) which needs in excess of 8 GB RAM to even
>> transform to svg, so I was not able to render it yet.
> I'll try with a machine that has 48 GB of Ram.
Transforming to SVG fails, but I have trouble rasterizing it. Normally I
use inkscape but that box doesn't have the xlibs installed (and I'm not
going to do that as it would get me tarred and feathered). I tried with
batik but I got the following output. Help with setting up batik would be
highly appreciated.

[#1   0% caption-z6] SVG done
[#1   0% caption-z6] Rendering...
SVG::Rasterize::Engine::Batik: About to run: /usr/bin/java -Xms256M
-Xmx1536M -classpath
/usr/share/java/xercesImpl.jar:/usr/share/java/batik.jar
org.apache.batik.apps.rasterizer.Main -scriptSecurityOff -w 256 -h 256 -a
0.000000,0.000000,56250.000000,56250.000000 -d
/tmp/tah3/6_34_21_ZQONr/caption-z6-s0.png
/tmp/tah3/6_34_21_ZQONr/caption-z6.svg
SVG::Rasterize::Engine::BatikReturned code .
SVG::Rasterize::Engine::BatikBatik STDOUT:
About to transcode 1 SVG file(s)

Converting caption-z6.svg to /tmp/tah3/6_34_21_ZQONr/caption-z6-s0.png ...
SVG::Rasterize::Engine::BatikBatik STDERR:
About to transcode 1 SVG file(s)

Converting caption-z6.svg to /tmp/tah3/6_34_21_ZQONr/caption-z6-s0.png ...
[#1   0% caption-z6] Rasterizing failed with runtime exception: Error
running "/usr/bin/java": exited with value 1 at
lib/SVG/Rasterize/Engine/Batik.pm line 338.

Rasterize command: "/usr/bin/java", "-Xms256M", "-Xmx1536M", "-classpath",
"/usr/share/java/xercesImpl.jar:/usr/share/java/batik.jar",
"org.apache.batik.apps.rasterizer.Main", "-scriptSecurityOff", "-w",
"256", "-h", "256", "-a", "0.000000,0.000000,56250.000000,56250.000000",
"-d", "/tmp/tah3/6_34_21_ZQONr/caption-z6-s0.png",
"/tmp/tah3/6_34_21_ZQONr/caption-z6.svg"
Rasterize engine STDOUT:About to transcode 1 SVG file(s)

Converting caption-z6.svg to /tmp/tah3/6_34_21_ZQONr/caption-z6-s0.png ...
Rasterize engine STDERR:
(.:16282): Gtk-WARNING **: cannot open display:

Exception in RenderSVG: Error running "/usr/bin/java": exited with value 1
at lib/SVG/Rasterize/Engine/Batik.pm line 338.
removing job dir /tmp/tah3/6_34_21_ZQONr


Patrick "Petschge" Kilian





More information about the Tilesathome mailing list