It sounds like clustering to me, I think it's not possible with Mapnik. However, this is the kind of thing you might be able to do in a more complicated Postgres query assuming that's where your data is coming from.
-mike. On Aug 23, 2010, at 8:46 AM, Graham Jones wrote: > Hi Dane, > > Sorry, I'll try to explain. > > I am using PointSymbolizer to put icons on a map. > If I add 'allowOverlap=false' (I may have got that wrong), mapnik only > displays a single icon in an area rather than multiple overlapping ones. > What I would like to do is use a different icon if it is a true single entity > (ie no other things near it) rather than an icon that represents multiple > entities. > > This may be 'clustering' - I'm not sure! I'll search for clustering when I > get home. > > Regards > > > Graham. > > On 23 August 2010 15:39, Dane Springmeyer <[email protected]> wrote: > Graham, > > Are you talking about clustering? If not, we might need a bit more > explanation to see exactly what you are trying to do? > > Dane > > > On Aug 22, 2010, at 3:38 PM, Graham Jones wrote: > >> Hi, >> Can anyone tell me if it is possible to use a different symbol for a >> PointSymbolizer or ShieldSymbolizer if it represents multiple entities (ie >> if you say 'overlap=false' so it does not draw all of the symbols)? >> Ideally I would like to add a 'x3' next to it if it represents 3 nearby >> features etc, but just a different symbol would do for starters. >> >> If it is possible, how do I do it? - I am struggling to find it in the >> documentation, so am not sure if it is possible or not. >> >> Thanks >> >> Graham. >> >> >> -- >> Dr. Graham Jones >> Hartlepool, UK >> email: [email protected] >> _______________________________________________ >> Mapnik-users mailing list >> [email protected] >> https://lists.berlios.de/mailman/listinfo/mapnik-users > > > > > -- > Dr. Graham Jones > Hartlepool, UK > email: [email protected] > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users ---------------------------------------------------------------- michal migurski- [email protected] 415.558.1610 _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

