On Sep 30, 2008, at 5:09 AM, Tom Chance wrote:

> Hi,
>
> I'm designing some custom tiles for a recycling company that we run.  
> It's all going fine, except that text labels for stations and pubs  
> aren't showing very often. I'd guess that they're overlapping/ 
> conflicting with other features but I'm not sure why. I've basically  
> copied those portions from the SVN OpenStreetMap version.
>
> Can anyone have a look and help me out?
> http://tiles.thelaundry.biz/osm.xml
> http://tiles.thelaundry.biz/demo.html
>
> I want all the tube names to show up without fail, ideally.


Hi,

When I had this problem in the past, I learned that Mapnik's painter  
model rendering meant that if you wanted things to show up for-sure,  
they should be included in earlier layers (as in, nearer the start of  
the stylesheet XML file), and come out of the DB first (as in, use an  
ORDER BY clause in your SQL). In your case, it looks like all the text  
is coming from the "text" layer, so you may want to add some explicit  
ordering to the table parameter on that datasource.

I still get mysteriously-missing station names from time to time, but  
overall behavior is more predictable.

-mike.

----------------------------------------------------------------
michal migurski- [EMAIL PROTECTED]
                  415.558.1610



_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to