[OSM-talk] why does mapnik not display my circles?
Kenneth Gonsalves
lawgon at au-kbc.org
Tue Nov 17 02:21:04 GMT 2009
On Tuesday 17 Nov 2009 6:50:16 am Frederik Ramm wrote:
> > all that is done, there is a food column and there are returns as to
> > 'select where food is nveg'
>
> Then maybe you really want to play with what Richard Mann hinted at -
> perhaps your circles are overlapping other stuff and that's why Mapnik
> chooses to omit them (easy to test it - put a node tagged food=nveg
> somewhere in the desert!).
already did that - soon as I get the updated data I will check if it works -
only do not blame me if you look for sausage there and and find nothing ;-)
>
> Maybe you even have a problem where the circle conflicts with the
> restaurant/shop icon itself, then it might never get drawn at all.
>
> If that's the problem, there are three things you can do -
>
> 1. change the order in which things are drawn (circles first, then rest
> of map?)
>
> 2. use "allow_overlap='yes'" in your <BlahSymbolizer> tag. Not all
> Symbolizers have it I believe but PointSymbolizer definitely has it.
>
> 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
--
regards
Kenneth Gonsalves
Senior Project Officer
NRC-FOSS
http://nrcfosshelpline.in/web/
More information about the talk
mailing list