Hi Thomas,

I tested with changing the opacity to fill-opacity and am happy to report that the svgrasterizer works now A LOT faster. It is now around ten seconds, whereas it was 20 to 30 seconds before. Of course this depends on the complexity of the map.

I noticed that the landcover polygon now stays as vector whereas before it was rasterized because of the group opacity.

Next, I will try the Tomcat stuff. Will take longer than just fixing the opacity ...

Thanks again for your hint,
Andreas

  The short answer is that no setting the property on individual
elements is not more efficient. The big difference comes between using 'fill-opacity' and 'opacity'. You need to be aware that in some cases the rendering result can be quite different. If a group with 'opacity="0.5"' has two overlapping rectangles the overlap region will have the same opacity as the non-overlap regions of the rectangles. However a group with 'fill-opacity="0.5"' and the same two rectangles will have 75% opacity in the overlap region (the first rectangle will block 50% the second will block 50% of what's left).

--
----------------------------------------------
Andreas Neumann
Institute of Cartography
ETH Zurich
Wolfgang-Paulistrasse 15
CH-8093  Zurich, Switzerland

Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to