Richard Greenwood wrote:
On 10/10/07, Daniel Morissette <[EMAIL PROTECTED]> 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:


OOpps.. sorry I was wrong. LABELITEM is still there. It's the following that are gone:

* Layer: LABELANGLEITEM, LABELSIZEITEM
* Style: ANGLEITEM, SIZEITEM

... and replaced by attribute binding, e.g.

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


Sorry about this.

Daniel
--
Daniel Morissette
http://www.mapgears.com/

Reply via email to