[mapserver-users] mapserv 5.6 -> 6.0 label symbol change

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Jan 10 10:30:21 EST 2012


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



More information about the mapserver-users mailing list