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

thomas bonfort thomas.bonfort at gmail.com
Sun Mar 18 12:58:07 PDT 2012


use a second point layer, with TRANSFORM FALSE and STATUS DEFAULT

--
thomas

On Sun, Mar 18, 2012 at 20:51, Andrea Peri <aperi2007 at gmail.com> wrote:
> 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 àèìòù
> -----------------
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the MapServer-users mailing list