Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This keyword allows for arbitrary data to be stored as name value pairs. This is used with OGC WMS to define things such as layer title. It can also allow more flexibility in creating templates, as anything you put in here will be accessible via template tags.

For full details of the MapServer LAYER Object please see the MapServer MAP Documentation.

...

In order to be able to use the Search function on a Layer in iShare it must include the following METADATA section.

Code Block
titleLAYER Object
    LAYER
        CONNECTION "Overlays\Schools\Secondary.tab"
        CONNECTIONTYPE OGR
        METADATA
            "qstring_validation_pattern"  "."
        END
        NAME "SchoolsSecond"
        STATUS OFF
        TYPE POINT
        UNITS METERS
        CLASS
            STYLE
                SYMBOL "Secondary"
                SIZE 20
            END
        END
    END

...