Labels in 5.0 was: Can I export MapInfo "styleitem" info to PostGIS?

Richard Greenwood richard.greenwood at GMAIL.COM
Wed Oct 10 15:08:02 EDT 2007


On 10/10/07, Daniel Morissette <dmorissette at mapgears.com> wrote:

> That is the reason why LABELITEM, ANGLEITEM, etc were dropped in 5.0.
> e.g. LABELITEM was replaced by "LABEL [mylabelitem]", etc.

The above doesn't work for me. My layer definition is:

LAYER
   NAME "water"
   STATUS ON
   DATA "Hydro/Water"
   TYPE LINE
   #LABELITEM "Name"
   LABEL [Name]
   LABELMAXSCALE 50000
   CLASS
      COLOR 0 0 255
      SYMBOL 'solid'
      SIZE 1
      LABEL
         ANGLE AUTO
         TYPE truetype
         antialias true
         POSITION CC
         SIZE 8
         COLOR 0 0 255
         FONT arial
         OUTLINECOLOR 255 255 255
      END # label
   END # class
END # water layer

Am I putting LABEL [Name] in the wrong place?

Thanks,
Rich

-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com



More information about the mapserver-users mailing list