The advantage is that you can use a styled marker as a label. I wonder what the
use-case was for the change. Again, will dig and make sure this is resolved one
way or the other for the 6.2 release.

Steve 

-----Original Message-----
From: Richard Greenwood [mailto:[email protected]] 
Sent: Tuesday, January 10, 2012 11:45 AM
To: Lime, Steve D (DNR)
Cc: mapserver
Subject: Re: [mapserver-users] mapserv 5.6 -> 6.0 label symbol change

Steve,

The 5.6 behavior was more user friendly, but the work around is simple
enough that I don't think the issue deserves much attention. I put a
FILTER on the label field and got back to where I wanted to be.
  LABELITEM "NUMBER"
  FILTER ([NUMBER])

As always, thanks for your knowledge and insight.

Rich

On Tue, Jan 10, 2012 at 8:30 AM, Lime, Steve D (DNR)
<[email protected]> wrote:
> I can verify the code in 6.0 that let's this happen- it's deliberate (in 
> msDrawLabelCache()). I have to do some more
> digging to understand the rationale. At first glance I prefer the 5.6 
> behavior as well.
>
> Steve
>
> ________________________________________
> From: [email protected] 
> [[email protected]] on behalf of Richard Greenwood 
> [[email protected]]
> Sent: Saturday, January 07, 2012 5:51 PM
> To: mapserver
> Subject: [mapserver-users] mapserv 5.6 -> 6.0 label symbol change
>
> I have an annotation layer with a class definition that puts a highway
> shield behind the highway number. In mapserver 5.6 if the number value
> is an empty string no shield symbol is drawn, but in 6.0 the shield is
> drawn. The data is coming from a shapefile. Two images are attached
> that illustrate the issue. The class definition is below. In my case
> the 5.6 behavior is preferable. So is this change deliberate, or a
> bug, or is my class definition incorrect for 6.0?
>
>  CLASS
>    STYLE
>      SYMBOL 'wyhwy'
>      SIZE 16
>    END
>    LABEL
>      TYPE truetype
>      FONT arial
>      SIZE 8
>      COLOR 0 0 0
>    END
>  END
>
> Thanks,
> Rich
>
> --
> Richard Greenwood
> [email protected]
> www.greenwoodmap.com
>



-- 
Richard Greenwood
[email protected]
www.greenwoodmap.com


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to