Septima.Search.Geoserver.WfsSearcher

Extends Septima.Search.Searcher
BETA BETA Søger features i geoserver BETA BETA

Options

NameTypeMandatoryDefault valueDescription
servicestringYesa Septima.Search.Geoserver.Service
sourcestringservice.sourceResults will set to this source (overrides service.source)
featureTypeObjectYesthe featuretype beeing sought
featureType.namestringYesname of the featuretype beeing sought
featureType.singularstringYessingular denomination of type
featureType.pluralstringYesplural denomination of type
idFieldObjectid information (overrides service.defaultIdField)
idField.namestringthe name of the field containing a feature's id
idField.typestringthe type of the field containing a feature's id
fieldsObjectinformation on other important field names (overrides service.defaultFields)
fields.geometrystringYesthe name of the field containing the geometry
fields.titlestringthe name of the field to be used as title
fields.descriptionstringthe name of the field to be used as description
detailsObjectAtteaches a Septima.Search.Details handler to the searcher - this options is the same as Septima.Search.Details -> options.details

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"}
  dai:soe_bes_linjer:
    _type: Septima.Search.Geoserver.Searcher
    _options:
      service:
        _ref: $.mysearchers.daiservice
      featureType: {name: "dai:soe_bes_linjer", singular: "Søbeskyttelseslinie", plural: "Søbeskyttelseslinier"}