Septima.Search.Geoserver.Service

BETA BEATA Represents a geoserver wfs BETA BETA

Options

NameTypeMandatoryDefault valueDescription
endpointstringYesservice-url eg: "https://b0902-udv-dist-app.azurewebsites.net/geoserver/wfs"
sourcestringYesResults will set to this source
defaultIdFieldObjectid information
defaultIdField.namestringthe name of the field containing a feature's id
defaultIdField.typestringthe type of the field containing a feature's id
defaultFieldsObjectinformation on other important field names
defaultFields.geometrystringYesthe name of the field containing the geometry
defaultFields.titlestringthe name of the field to be used as title
defaultFields.descriptionstringthe name of the field to be used as description

Examples

Usage

YAML Declaration


mysearchers:
  daiservice:
    _type: Septima.Search.Geoserver.Service
    _options:
      endpoint: https://b0902-udv-dist-app.azurewebsites.net/geoserver/wfs
      source: dai
      defaultIdField: {name: "Objekt_id", type: "string"}
      defaultFields: {geometry: "Shape"} 
  dai:bes_vandloeb:
    _type: Septima.Search.Geoserver.Searcher
    _options:
      service:
        _ref: $.mysearchers.daiservice
      featureType: {name: "dai:bes_vandloeb", singular: "Beskyttet vandløb", plural: "Beskyttede vandløb"}