Comment 5 for bug 87009

Revision history for this message
Deelkar (deelkar) wrote :

example command lines run on a tileset:

...at zoom level 12 (squere png as mentioned above)

nice "inkscape" -w 256 -h 256 --export-area=0.000000:0.000000:878.910000:877.628239 --export-png="./tile_12_2148_1332.png" "./output-27352-z12.svg"

...at zoom level 14 (the script renders map tiles from z=12 to z=17)

nice "inkscape" -w 1024 -h 256 --export-area=0.000000:658.221179:878.910000:877.628239 --export-png="./tile_14_2148_5328.png_part" "./output-27352-z14.svg"

the png_part is then cut up to 256x256 px pngs by libgd.

I included the zoom 12 call so you can see better that there is some (intended) deformation going on (getting square tiles with simple mercator projection from rectangular svg area).