MAP

EXTENT 1 1 10 10
SIZE 300 300

#
# http://sb1/cgi-bin/mapserv_43?map=/tmp/testlegend.map&request=getLegendGraphic&VERSION=1.1.1&LAYER=poi&FORMAT=text/html
#
# Start of legend
#
LEGEND
  STATUS ON
  KEYSIZE 40 20
  KEYSPACING 10 10
  IMAGECOLOR 128 128 128
  #OUTLINECOLOR 0 0 0
  LABEL
      COLOR 120 120 120
#      TYPE TRUETYPE
#      FONT "arial"
#      SIZE 12
       TYPE BITMAP
       SIZE MEDIUM
  END # END LABEL
END   #LEGEND

 LAYER
    NAME 'poi'
    STATUS ON
    CONNECTIONTYPE postgis
    CONNECTION 'user=pgsql dbname=test host=localhost'
    DATA "the_geom from poi"
    TYPE POINT
    PROJECTION
        'init=epsg:31494'
    END

    METADATA
      'WMS_SRS'    'epsg:31494'
      'WMS_TITLE'    'test'
      'WMS_FEATURE_INFO_MIME_TYPE'    'text/html'
    END

  CLASSITEM "symbol"
  CLASS
     NAME "Geldautomat"
     EXPRESSION /./
   MINSCALE 0
   MAXSCALE 1000
   STYLE
#      SYMBOL "geldautomat_50"
      SYMBOL 0
      SIZE 10
   END
  END

END #LAYER

END #MAP
