[OSM-talk] talk Digest, Vol 26, Issue 47
Etienne
80n80n at gmail.com
Thu Oct 19 19:17:21 BST 2006
Matthew
In that situation you have two separate ways.
The winding rule applies to an object that is a single (discontinuous) way.
So an island with a hole in the middle would show the underlying water
through the hole.
A better way for this particular situation (where the lake is a separate
object to the island) is to use the layer tag (that was introduced in
Osmarender 3) to render the water of the lake on top of the island.
Etienne
On 10/19/06, matthew-osm at newtoncomputing.co.uk <
matthew-osm at newtoncomputing.co.uk> wrote:
>
> On Thu, Oct 19, 2006 at 06:39:48PM +0100, Etienne wrote:
> > Since all of this is specified by the Osmarender rules file, it would be
> > true to say that Osmarender supports both winding rules. But the
> standard
> > rules file that ships with Osmarender uses the nonzero (directional)
> rule.
>
> A while ago I created a way that had two circles, one around the lake and
> another inside the lake (an island) in an attempt to see if it was filled
> correctly. At the time it wasn't (osmarender2). Maybe this is expected
> because
> of some other reason, though.
>
> --
> Matthew
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20061019/d30125a4/attachment.html>
More information about the talk
mailing list