Septima.Search.Geoserver.Service
BETA BEATA Represents a geoserver wfs BETA BETA
Options
Name | Type | Mandatory | Default value | Description |
---|---|---|---|---|
endpoint | string | Yes | service-url eg: "https://b0902-udv-dist-app.azurewebsites.net/geoserver/wfs" | |
source | string | Yes | Results will set to this source | |
defaultIdField | Object | id information | ||
defaultIdField.name | string | the name of the field containing a feature's id | ||
defaultIdField.type | string | the type of the field containing a feature's id | ||
defaultFields | Object | information on other important field names | ||
defaultFields.geometry | string | Yes | the name of the field containing the geometry | |
defaultFields.title | string | the name of the field to be used as title | ||
defaultFields.description | string | the 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"}