On 1/3/07, <b class="gmail_sendername">Jochen Topf</b> <<a href="mailto:jochen@remote.org">jochen@remote.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Jan 03, 2007 at 01:05:04PM +0100, bvh wrote:<br>> On Wed, Jan 03, 2007 at 10:59:36AM -0000, David Earl wrote:<br>> > OK, so you could have the area analogy of a group as well; but my point was<br>> > that it might be a good idea to distinguish areas from paths explicitly
<br>> > rather than implicitly.<br>><br>> Why? What problems would it solve?<br><br>As it is currently done you can't have areas with holes.</blockquote><div><br>Actually, you can. The hole should be drawn in an anti-clockwise direction and its segments should be part of the same way as the outer boundary.
<br><br>See <a href="http://www.w3.org/TR/SVG/painting.html#FillProperties">http://www.w3.org/TR/SVG/painting.html#FillProperties</a> for a description of how the nonzero rule works. Alternatively using the evenodd rule should work and not require the segments to be drawn in any particular direction, however I've never been able to make this work (it might be me or it might be a bug in the svg tools that I was using).
<br><br>For the nonzero approach to be realised in Osmarender, a change is required to the osmarender rules file (fill-rule='nonzero' needs to be added to the appropriate css styles).<br><br>I don't know whether Mapnik can cope with this, maybe someone can comment on this.
<br><br>80n<br><br><br><br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Jochen<br>--<br>Jochen Topf <a href="mailto:jochen@remote.org">
jochen@remote.org</a> <a href="http://www.remote.org/jochen/">http://www.remote.org/jochen/</a> +49-721-388298<br><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>