On 3/29/07, <b class="gmail_sendername"><a href="mailto:firstname.lastname@example.org">email@example.com</a></b> <<a href="mailto:firstname.lastname@example.org">email@example.com</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;">Hi Etienne,<br><br>On Thu, Mar 29, 2007 at 03:40:26PM +0100, 80n wrote:
<br>> On 3/29/07, Abigail Brady <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> wrote:<br>> >without the courtyards shown. How should these be tagged?<br>> ><br>> >(and then how do you mark the buildings inside the courtyard, and then
<br>> >any courtyards inside those buildings, down to Little Cat Z. we<br>><br>> Courtyards within buildings and islands in lakes can be represented by<br>> making the segments go in a clockwise direction for the main outline and in
<br>> an anti-clockwise direction for the inner part. All the segments, both for<br>> the inner and outer parts need to belong to the same way.<br><br>Have you thought about changing osmarender to use the even-odd fill
<br>rule, rather than non-zero? That would then mean that people don't<br>need to worry about segment direction.<br><br>The only case where it would break stuff is if there are ways that are<br>not planar (i.e. the way crosses itself, maybe like a figure of
<br>eight). I can't see any reason why there would be ways like this, but<br>maybe there are situations that I have not thought of.</blockquote><div><br><br>I did try even-odd. It didn't work at the time so I opted for the non-zero method.
<br><br>Not sure why even-odd didn't work, might have been a problem with the SVG viewer or something wrong with what I was generating, didn't take any time to investigate. In theory it should be just a matter of changing the style specification in the rules file - there is nothing specific or hard-coded about it in the core of Osmarender.
<br><br>80n<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;">Thanks,<br><br>--<br>Matthew<br><br></blockquote></div><br>