On Aug 23, 2010, at 9:46 AM, Graham Jones <[email protected]> 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.

Yes.

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.

Okay. Points placed, in this case always represent single entities. Your assumption that they are grouped/multiple is reasonable if clustering were happening (combining of two features a given distance apart into one rendered point). But it is not as right now points that are placed simply exclude other points that might later overlap when rendered and thus the sorting of your data determines which will more likely show up.

I agree this would be a desirable feature (clustering) and I actually started scoping it for a client last week. I will reply to this thread when I have made progress.



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
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to