Hello, <br><br>I have this error too, generating ANY tile:<br><br>$ ./tilesGen.pl <br>Downloading: Request from server done, 23 bytes<br>OK, got something... (from the "grow" server module)<br>Doing zoom level 12, location 3772, 1621
<br>Doing area around 35.065908,151.567383<br>Downloading: Map data done, 333 bytes<br>012 3772,1621: 35.03 - 35.10, 151.52 - 151.61<br>Transforming nice xmlstarlet tr osmarender.xsl osm-map-features.xml > output.svg..
. done<br>gfx/12_3772_1621.png: Lat 35.102,35.030, Long 151.523,151.611, X 0.0,878.8, Y 0.0,878.9<br>Rendering nice inkscape -w 256 -h 256 --export-area=0.000000:0.000000:878.819266:878.900000 --export-png=gfx/12_3772_1621.png
output.svg... done<br>gfx/13_7544_3242.png: Lat 35.102,35.066, Long 151.523,151.567, X 0.0,439.4, Y 439.4,878.9<br>Rendering nice inkscape -w 256 -h 256 --export-area=0.000000:439.450000:439.409633:878.900000 --export-png=gfx/13_7544_3242.png
output.svg... done<br>gfx/14_15088_6484.png: Lat 35.102,35.084, Long 151.523,151.545, X 0.0,219.7, Y 659.2,878.9<br>Rendering nice inkscape -w 256 -h 256 --export-area=0.000000:659.175000:219.704816:878.900000 --export-png=gfx/14_15088_6484.png
output.svg... done<br>gfx/15_30176_12968.png: Lat 35.102,35.093, Long 151.523,151.534, X 0.0,109.9, Y 769.0,878.9<br>Rendering nice inkscape -w 256 -h 256 --export-area=0.000000:769.037500:109.852408:878.900000 --export-png=gfx/15_30176_12968.png
output.svg... done<br>gfx/16_60352_25936.png: Lat 35.102,35.097, Long 151.523,151.529, X 0.0,54.9, Y 824.0,878.9<br>Rendering nice inkscape -w 256 -h 256 --export-area=0.000000:823.968750:54.926204:878.900000 --export-png=gfx/16_60352_25936.png
output.svg... done<br>gfx/17_120704_51872.png: Lat 35.102,35.100, Long 151.523,151.526, X 0.0,27.5, Y 851.4,878.9<br>Rendering nice inkscape -w 256 -h 256 --export-area=0.000000:851.434375:27.463102:878.900000 --export-png=gfx/17_120704_51872.png
output.svg... done<br>gfx/17_120705_51872.png: Lat 35.102,35.100, Long 151.526,151.529, X 27.5,54.9, Y 851.4,878.9<br>Rendering nice inkscape -w 256 -h 256 --export-area=27.463102:851.434375:54.926204:878.900000 --export-png=gfx/17_120705_51872.png
output.svg...<br>** (inkscape:11197): WARNING **: Export area '27.463102:851.434375:54.926204:878.900000' has negative width or height. Nothing exported.<br> done<br>Can't open file gfx/17_120705_51872.png: No existe el fichero ó directorio at /usr/share/perl5/LWP/UserAgent.pm line 427
<br><br><br><br>This is Ubuntu Edgy with InkScape (0.44-1ubuntu2) and xmlstarlet (1.0.1-2)<br><br><br><div><span class="gmail_quote">On 11/30/06, <b class="gmail_sendername">Oliver Reimann</b> <<a href="mailto:waschbaer42@gmx.de">
waschbaer42@gmx.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hallo,<br><br>ok, I changend this back and it was like before.
<br><br>./tilesGen.pl xy 2172 1396<br>.....<br>Rendering nice inkscape -w 256 -h<br>256 --export-area=0.000000:0.000000:878.118797:878.900000 --export-png=gfx/12_2172_1396.png<br>output.svg...<br>** (inkscape:11310): WARNING **: Export
<br>area '0.000000:0.000000:878.118797:878.900000' has negative width or height.<br>Nothing exported.<br><br>Then I started manuelly:<br><br><br>inkscape -w 256 -h<br>256 --export-area=0.000000:0.000000:878.118797:878.900000
--export-png=gfx/12_2172_1396.png<br>output.svg<br><br>** (inkscape:11493): WARNING **: Export<br>area '0.000000:0.000000:878.118797:878.900000' has negative width or height.<br>Nothing exported.<br><br>And It didnt. If I change the call to (please note the
0.000 -> 0)<br>inkscape -w 256 -h<br>256 --export-area=0:0:878.118797:878.900000 --export-png=gfx/12_2172_1396.png<br>output.svg<br>Background RRGGBBAA: ffffff00<br>Area 0:0:878:5,7716e-270 exported to 256 x 256 pixels (3,99196e+273 dpi)
<br>Bitmap saved as: gfx/12_2172_1396.png<br><br>Then it works. Im a little confused about this. Which version of inkscape do<br>you use? ( inkscape 0.44.1-1 )<br><br>Oliver<br><br><br><br><br>Am Donnerstag, 30. November 2006 20:23 schrieb OJW:
<br>> On Thursday 30 November 2006 18:41, Oliver Reimann wrote:<br>> > I changed one line and now it works:<br>> ><br>> > tilesGen.pl :<br>> ><br>> > my $Cmd = sprintf("%sinkscape -w %d -h %d --export-area=%d:%d:%d:
<br>> > %d --export-png=%s %s",<br>> ><br>> > I moved the %f to %d, so there is no more an fractional number in the<br>> > inkscape call.<br>><br>> I would expect that change to leave a gap around the edge of tiles you
<br>> generate, so that they don't exactly correspond with neighboring tiles.<br>> The width and height in mm of the SVG isn't exactly integer (and the<br>> precision becomes even more important as it recursively divides the image
<br>> into smaller chunks). So don't do that.<br>><br>> It looks like there's a space missing in front of the --export-png in your<br>> original script - the output you emailed [1] had the export area and export
<br>> png arguments joined together, which would probably confuse inkscape.<br>><br>> If you change your coordinates back to %f now it should work.<br>><br>> regards<br>><br>> OJW<br>><br>> [1] "--export-area=
0.000000:0.000000:866.216774:878.900000--export-png"<br>><br>> _______________________________________________<br>> talk mailing list<br>> <a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a>
<br>> <a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk</a><br><br>_______________________________________________<br>talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk</a><br></blockquote>
</div><br>