[mapserver-dev] Usage of wms_style_%s_title in Layer MetadataBlock

Tim Englich tim.englich at intevation.de
Tue Aug 25 08:44:37 EDT 2009


Hi,

I am trying to write a Mapfile including different Styles.
Now I am trying to include the Style Title into the Mapfile.
But it doesn't work

LAYER
        METADATA
         ....
          "wms_style_1_title"   "My first Title"
          "wms_style_2_title"   "My second Title"
        END
       
         .....
       
        CLASSGROUP     "1"
        CLASS
          NAME "Test"
          GROUP "1"
         ...
        END
        CLASS
          NAME "Test2"
          GROUP "2"
          ...
        END
END

Has anyone an Idea what's going wrong?

I am using the following Mapserver-Configuration:

<!-- MapServer version 5.4.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV 
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER 
SUPPORTS=WFS_CLIENT SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS 
INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->

thanks a lot
Tim




More information about the mapserver-dev mailing list