Layer on/off - Legend line/polygon

Leopold Schefcik (MULTIMEDIAPLAN.AT) leopold.schefcik at MULTIMEDIAPLAN.AT
Mon Aug 22 05:54:38 EDT 2005


Hi list,

2 questions:

1. Below there are the definitions of two layers. I want the second one to
be shown at start, the first not.
So I put once STATUS OFF and once STATUS ON. But both layers are shown.

2. In the legend there are the polygon layers shown correctly (if they have
a fill color). But the TYPE LINE layers-signature aren't shown in the
legend. Why?3

thx Leopold


the user-interface:
http://213.47.127.15:8081/mapbender/frames/login.php?&gui_id=centrope_test&n
ame=centrope_test_user&password=test

--------------------------------------
the layers:

 LAYER
    NAME "gewaesser_noe"
    STATUS OFF
    DATA "AT_AT_NATUR_HYDSP_WATERCOURSES_2000"
    TYPE LINE
    UNITS METERS
    SIZEUNITS PIXELS
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    METADATA
      "wms_title"    "Gewaesser_Noe"
      "DESCRIPTION"    "Wasser"
      "WMS_SRS"    "EPSG:31287 EPSG:4326 EPSG:31466 EPSG:31467"
    END
    CLASS
      NAME "gewaesser_noe"
      STYLE
        SYMBOL 0
        COLOR 199 195 240
        OUTLINECOLOR 106 105 199
        SIZE 1
        MINSIZE 1
        MAXSIZE 100
      END
      STYLE
        SYMBOL 0
        COLOR 0 0 255
        BACKGROUNDCOLOR 251 148 112
        SIZE 1
        MINSIZE 1
        MAXSIZE 100
      END
    END
  END
  LAYER
    NAME "flora_fauna_habitat"
    STATUS ON
    DATA "AT_NO_LEGAL_NATUR_NATURA2000FFH_2003"
    TYPE POLYGON
    UNITS METERS
    SIZEUNITS PIXELS
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    METADATA
      "wms_title"    "Flora_Fauna_Habitat"
      "DESCRIPTION"    "Natura_2000_Gebiete"
      "WMS_SRS"    "EPSG:31287 EPSG:4326 EPSG:31466 EPSG:31467"
    END
    CLASS
      NAME "flora_fauna_habitat"
      STYLE
        SYMBOL 0
        COLOR 0 209 0
        BACKGROUNDCOLOR 251 148 112
        SIZE 1
        MINSIZE 1
        MAXSIZE 100
      END
    END
  END



More information about the mapserver-users mailing list