[OSM-dev] Mapnik style broken?

Artem Pavlenko artem at mapnik.org
Mon May 14 21:33:54 BST 2007


On 14 May 2007, at 21:24, Jon Burgess wrote:

> On Mon, 2007-05-14 at 12:58 +0200, Sebastian Spaeth wrote:
>
>> This should theoretically be ok, I think, but it might also break the
>> things mentioned. Could you, or somebody who actually can render  
>> mapnik
>> (haven't installed all dependencies here) try if removing that  
>> commented
>> out thing helps? A simple test might be the wedge of forest which  
>> shows
>> in osmarender, but not mapnik:
>> http://www.openstreetmap.org/index.html? 
>> lat=51.7648494192975&lon=-0.308752428412556&zoom=15
>>
>
> I guess you mean the way(id=4372580, natural=wood). That is being  
> hidden
> by way(id=4044516, landuse=residential). The reason is pretty
> straightforward -- neither area has a layer= attribute so the  
> rendering
> order of these two features is currently undefined.
>
> I have just set layer=-1 on the large landuse area which should ensure
> that any other object will be rendered over the top of this.
>
> Is setting landuse to layer=-1 a generally acceptable solution?
>

I can not think of any cases when 'landuse' should be on top of other  
area. Yes, sounds good to me.

Cheers,
Artem


> 	Jon
>
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>

Artem Pavlenko
http://mapnik.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070514/9ae2b31a/attachment.html>


More information about the dev mailing list