Septima.Search.Geoserver.WfsSearcher
Extends Septima.Search.Searcher
BETA BETA Søger features i geoserver BETA BETA
Options
Name | Type | Mandatory | Default value | Description |
---|---|---|---|---|
service | string | Yes | a Septima.Search.Geoserver.Service | |
source | string | service.source | Results will set to this source (overrides service.source) | |
featureType | Object | Yes | the featuretype beeing sought | |
featureType.name | string | Yes | name of the featuretype beeing sought | |
featureType.singular | string | Yes | singular denomination of type | |
featureType.plural | string | Yes | plural denomination of type | |
idField | Object | id information (overrides service.defaultIdField) | ||
idField.name | string | the name of the field containing a feature's id | ||
idField.type | string | the type of the field containing a feature's id | ||
fields | Object | information on other important field names (overrides service.defaultFields) | ||
fields.geometry | string | Yes | the name of the field containing the geometry | |
fields.title | string | the name of the field to be used as title | ||
fields.description | string | the name of the field to be used as description | ||
details | Object | Atteaches 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"}