[Tilesathome] less inkscape runs
Dirk-Lüder Kreie
osm-list at deelkar.net
Thu Aug 21 10:17:05 BST 2008
spaetz schrieb:
> Render improvements:
>
> Somebody timed inkscape on a German forum and found that loading the
> SVG takes most of the time, and exporting to png is rather
> quick. Given that inkscape seems to render the whole SVG internally
> anyway, even if we export only a small excerpt to png, I was
> wondering if we should not make use of that fact, and simply export
> the whole svg to one png in one render go. It could then be split up
> into the tiles....
>
> Of course that doesn't help with memory consumption in Boston
> downtown, but it would save us:
> 1 render go at z13
> 3 at z14
> 7 at z15
> 15 at z16
> 31 at z17.
>
>
> So we'd need only 6 inkscape calls, rather than 63 now (if I haven't
> gotten that wrong). This could be quite a timesaver. Worthwhile
> exploring? It could also be done differently, depending on the tileset complexity
> measure we get from the server.
You are aware that the stripes are not equal in height, which is
precisely why there are 32 calls at z 17 (instead of 1024 as it used to
be, BTW)
However, the higher the zoom the less of an error there is.
It might very well be that this is at <1px at z12 already.
--
Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080821/54ed52fb/attachment.pgp>
More information about the Tilesathome
mailing list