[Tilesathome] Using Batik to render tiles instead of Inkscape
Dirk-Lüder Kreie
osm-list at deelkar.net
Sun Oct 7 23:49:48 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brent Easton schrieb:
>> Hey that sounds really cool. I tried batik once and aborted the run after
>> like 30 minutes with 100% CPU utilization and no output. Seems like batik
>> is really strict on errors, but the cases you report sound fixable.
>
> Could you just run through the algorithm tilesgen.pl is using when rendering with Inkscape? I don't really follow how it is doing it.
>
> I am thinking of using Batik to just create large images from the zooms (ie 512,512 form z13, 1024x1024 from z14) and then using Image-magick to cut them. I think it is going to be way faster.
This will not work as expected, and introduce projection errors. You
need to cut the image asymmetrically. This will of course enter all
sorts of ugly pixelation if you do this on a rastered image version
instead of on the svg.
Currently the process uses the middle way between rendering each
individual tile from svg and rendering one big file for every zoom which
is then cut up:
the process exports 256 px high pngs, which are then cut up horizontally
into 256 px wide tiles. (No projection error there).
- --
Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHCWKMFUbODdpRVDwRAmR3AKDQLRPGE0Q7P9KAQbwcXKqgJWTwUQCgmYaN
ClAHTymsCGh8vM4DoWGnXKc=
=/CrJ
-----END PGP SIGNATURE-----
More information about the Tilesathome
mailing list