[mapserver-users] mapserv 5.6 -> 6.0 label symbol change
Richard Greenwood
richard.greenwood at gmail.com
Tue Jan 10 09:45:07 PST 2012
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)
<Steve.Lime at state.mn.us> 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: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Richard Greenwood [richard.greenwood at gmail.com]
> 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
> richard.greenwood at gmail.com
> www.greenwoodmap.com
>
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
More information about the MapServer-users
mailing list