[mapserver-users] Displaying multiple labels with the same lat/long
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Tue Nov 13 06:14:57 PST 2012
Not sure about clustering, but there may be other options as well:
You might be able to simply use POSITION AUTO and give these labels a high priority. MapServer will place them. If you need markers in this case you'll need to draw those separately to avoid marker collisions. So, one layer for points and the other for high-priority labels.
Version 6.2 supports multiple labels per feature. If you can de-normalize your data so you have 1 point plus multiple columns of companies (e.g. company1, company2, etc...) then you can use this approach. There's also leader support when things get really tight.
Steve
________________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Ian Walberg [ian.walberg at airborne.aero]
Sent: Monday, November 12, 2012 12:11 PM
To: List (MapServer Users)
Subject: [mapserver-users] Displaying multiple labels with the same lat/long
Folks,
We have some data we need to display which has a number of companies in
the same city so the same lat/long.
So in these cases only one of the labels is displayed.
Can this be done using the cluster functionality and where do we find an
easy example?
Thanks
Ian
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list