Re: [OSM-talk] Halcyon/MapCSS question

2009-12-06 Thread Eugene Alvin Villar
On Fri, Dec 4, 2009 at 1:10 AM, Martin Koppenhoefer dieterdre...@gmail.comwrote: 2009/12/2 Richard Fairhurst rich...@systemed.net You shouldn't need to add :area for it to render. :area just means only use this rule if the way is closed (i.e. start and end points are the same). So you

Re: [OSM-talk] Halcyon/MapCSS question

2009-12-03 Thread Martin Koppenhoefer
2009/12/2 Richard Fairhurst rich...@systemed.net You shouldn't need to add :area for it to render. :area just means only use this rule if the way is closed (i.e. start and end points are the same). So you might do: way [highway] [!junction] :area { fill-color: grey; } which would

Re: [OSM-talk] Halcyon/MapCSS question

2009-12-02 Thread Steve Bennett
Also, what's the difference between z-index: 0; and not specifying z-index at all? I ask, because I tested it on the lake at about -37.845, 144.97. By default, the water is green, and the islands in the lake are dark green. If I add way[natural=water] { fill-color: blue; }, the water is dark

Re: [OSM-talk] Halcyon/MapCSS question

2009-12-02 Thread Richard Fairhurst
Steve Bennett wrote: How do you make a style that depends on two attributes? Eg, highway=residential *and* cycleway=lane? Simply: way[highway=residential][cycleway=lane] { ...} cheers Richard -- View this message in context:

Re: [OSM-talk] Halcyon/MapCSS question

2009-12-02 Thread Steve Bennett
On Wed, Dec 2, 2009 at 9:10 PM, Richard Fairhurst rich...@systemed.net wrote: Steve Bennett wrote: How do you make a style that depends on two attributes? Eg, highway=residential *and* cycleway=lane? Simply: way[highway=residential][cycleway=lane] { ...} Thanks, I tried every

Re: [OSM-talk] Halcyon/MapCSS question

2009-12-02 Thread Richard Fairhurst
Steve Bennett wrote: Next question: when and why do you need to add :area to be able to tag areas? way[landuse=commercial] { fill-color: purple; } worked. But this: way[building=yes] { fill-color: black; } didn't. And this: way:area[building=yes] { fill-color: black; } Did. ? You