[mapserver-users] Show a raster layer with a text string in it.

Andrea Peri aperi2007 at gmail.com
Sun Mar 18 12:51:03 PDT 2012


Hi,
I need to add a text string to a raster layer (to report a disclaimer).
Is this possible ?

I try this:

  LAYER
    NAME "idraster"
    STATUS ON
    TYPE raster
    TILEINDEX 'index.shp'
    TILEITEM 'location'
    .....
    FEATURE
      POINTS
        450 15
      END
      TEXT 'Disclaimer for raster layer'
    END
    CLASS
      LABEL
        TYPE TRUETYPE
        FORCE true
        COLOR 0 0 0
        ANTIALIAS false
        OUTLINECOLOR 255 255 255
        OUTLINEWIDTH 2
        SIZE 8
        ANGLE 0
        FONT "LiberationSans-Regular"
        POSITION auto
      END
    END
  END

But the raster is showed without the string .

Thx,

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120318/92f61fb1/attachment.htm>


More information about the MapServer-users mailing list