Hi, You can use ShieldSymbilizer with point_placement. Regards, -- Artem On 4 Dec 2009, at 11:10, Nicolas Gillet <[email protected]> wrote:
> > Hello, > > I would like to find a way to group two symbols in such a way that > if due to > collision one of the two symbol cannot be drawn, none of them will be. > > E.g. When drawing cities' names. I want to put a point on the > location and a > label above with the city name. > This can be done with two symbols. > <Rule> > <Filter>...</Filter> > <TextSymbolizer name="NAME" face_name="DejaVu Sans Book" size="11" > fill="#000000" dx="0" dy="-10" placement="point" halo_fill="#FFFFFF" > halo_radius="1" wrap_width="20" allow_overlap="0" /> > <PointSymbolizer file=".../city2.png" type="png" > allow_overlap="false" > width="5" height="5" /> > </Rule> > But like this, it happens (quite often) that a point becomes orphan > (with > non name above it) on the map. > So I would like to know if there is a way to "group" those two > symbols in > such a way that if one can't be drawn, none of them will be. > > Thank you =) > -- > View this message in context: > http://old.nabble.com/Point-labelling%2C-group-symbols-tp26635853p26635853.html > Sent from the Mapnik - Users mailing list archive at Nabble.com. > > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

