[OSM-talk] solved - why does mapnik not display my circles?

Kenneth Gonsalves lawgon at au-kbc.org
Tue Nov 17 11:18:14 GMT 2009


On Tuesday 17 Nov 2009 1:48:34 pm Kenneth Gonsalves wrote:
> > > 3. use the "clear_label_cache='on'" attribute in your <Layer> tag.
> > > This  will clear the collision boxes for text (and possibly icons - try
> > > it out) and start as if the map was empty (so it also affects later
> > > layers). 
> > > One of these is bound to work ;-)
> > > 
> >
> > 
> > will try all these out and revert - thanks for the tips
> > 
> 
> allow_overlap="true" did not work - I tried 'generate_image.py' and got my 
> circles. So mapnik knows they are there. Putting it in an open area also
>  did  not work. I noticed that 'generate_image.py' also was leaving out a
>  bunch of things. "clear_label_cache is next.
> 

that did not work either - I started moving the code around the file. Then in 
generate_images, I saw one circle peeping out from behing a building. So I 
moved the layer *after* the building layer - and there are my circles in all 
their pristine glory.

-- 
regards
Kenneth Gonsalves
Senior Project Officer
NRC-FOSS
http://nrcfosshelpline.in/web/




More information about the talk mailing list