WFS - Configuration

From MapbenderWiki

Jump to: navigation, search

Configuring WFS

Configure the WFS with the module 'WFS CONF' for further processing in different modules. Select a WFS for configuration from the dropdown-menu. All layers are chooseable, which are defined in Geoserver as FeatureTypes. After activating a layer/FeatureType the following settings are possible:

  • Abstract: Choose a unique name for further identification of the WFS.
  • Label: Title of the gazetteer.
  • Label_id: Unique ID for the declaration of a stylesheet-class in the field 'style' (see below).
  • Button: Labeling of the button for sending the WFS-request.
  • Button_id: Unique ID for the declaration of a stylesheet-class in the field 'style' (see below).
  • Style: Definition of stylesheets (design).
  • Buffer: Declaration of a buffer to zoom to an object (map units).
  • ResultStyle: Declaration of the layout (stylesheet) of the resultset (classes even/uneven)
  • WZ-Graphics: Selection of clientsided rendering of geometries (within the browser)
  • Settings for single attributes:
Configuration Attribute
Enlarge
Configuration Attribute
    • geom: Definition of the geometry field.
    • gid: Definition of a unique ID (for transanction).
    • search: Attribute shall be offered for a alphanumeric search (textfield).
    • pos: Position of the textfields. This is important for the order of the fields (use with tabulators > accessibility).
    • style_id: Definition of a stylesheet-class, which can be set in the field 'style' (layout).
    • upper: If values within the underlaying table are uppercase, entries in the client will also be changed to uppercase, so a caseinsensitive search can be conducted.
    • label: Labeling of the textfield.
    • label_id: Definition of a stylesheet-class, which can be set in the field 'style' (layout).
    • show: Values of an attribute column will be shown in the resultset.
    • position: Position of the displayed field in the resultset.

Important for a WFS-T is the definition of an abstract and the setting for the geometry column by activating the radiobutton. Furthermore a unique GID is important. If there is no OID column, it is possible to use the geometry column for this purpose. Finally don't forget to save your configuration with the button SAVE.

To change your configuration, see the link editWFSConfiguration. Choose an existing WFS from the dropdown-menu and change your settings.

Personal tools