Re: [mapserver-users] Displaying multiple labels with the same lat/long

2012-11-13 Thread thomas bonfort
On Tue, Nov 13, 2012 at 3:18 PM, Ian Walberg wrote:

> Steve,
>
> I thought with a layer type of point or annotation with label mode as
> auto that if there were 2 points with same lat/long only 1 would be
> displayed.
>
Not if they don't have a marker symbol attached. (as in that case the
marker would collide, and second label would be rejected)


>
> Thanks
>
> Ian
>
> -Original Message-
> From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us]
> Sent: Tuesday, November 13, 2012 6:15 AM
> To: Ian Walberg; List (MapServer Users)
> Subject: RE: Displaying multiple labels with the same lat/long
>
> 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-boun...@lists.osgeo.org
> [mapserver-users-boun...@lists.osgeo.org] on behalf of Ian Walberg
> [ian.walb...@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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Displaying multiple labels with the same lat/long

2012-11-13 Thread Ian Walberg
Steve,

I thought with a layer type of point or annotation with label mode as
auto that if there were 2 points with same lat/long only 1 would be
displayed.

Thanks

Ian

-Original Message-
From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] 
Sent: Tuesday, November 13, 2012 6:15 AM
To: Ian Walberg; List (MapServer Users)
Subject: RE: Displaying multiple labels with the same lat/long

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-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Ian Walberg
[ian.walb...@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Displaying multiple labels with the same lat/long

2012-11-13 Thread Lime, Steve D (DNR)
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-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] on behalf of Ian Walberg 
[ian.walb...@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Displaying multiple labels with the same lat/long

2012-11-12 Thread Ian Walberg
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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users