This document is a walkthrough of a full installation of Onedoor Server
Get the latest onedoor release package here
Install LTS version of nodeJS here
Also install development tools
npm login --registry=https://packages.septima.dk/repository/npm-hosted/ --scope=@septima
- Download NSSM
- create run.bat file with content "node ."
- In a command prompt: nssm.exe install [servicename]
- in NSSM GUI point to run.bat
Tested on Windows Server 2022 Datacenter and IIS 10 but should likely work on other versions.
- Make sure IIS is added to the server roles
- Install Node.js https://nodejs.org/
- Install IIS ARR https://www.iis.net/downloads/microsoft/application-request-routing
- Install IIS URL Rewrite https://www.iis.net/downloads/microsoft/url-rewrite
- Install IIS iisnode https://github.com/Azure/iisnode
To make a web site hosted by iisnode and OneDoor server two things are needed:
- Place folder onedoor-server with application content in an IIS web site directory
- Create a special purpose web.config in the web site directory Example:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<iisnode
nodeProcessCommandLine="C:\Program Files\nodejs\node.exe"
loggingEnabled="true"
promoteServerVars="LOGON_USER"
/>
<handlers>
<add name="iisnode" path="onedoor-server/index.cjs" verb="*" modules="iisnode" />
</handlers>
<rewrite>
<rules>
<rule name="onedoor-server">
<match url="/*" />
<action type="Rewrite" url="onedoor-server/index.cjs" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
NOTE: To allow handlers section it might be needed to unlock configuration section system.webServer/handlers in IIS configuration editor at server level.
configuration folder
config.json
Global configuration file (Optional)
organisations/
septima/
configurations/
simple/
config.yml
Configuration file
complex/
config.yml
Configuration file
disney/
configurations/
search/
config.yml
Configuration file
In the example above septima has two configurations, simple, and complex, whereas disney has a single configuration search
Global configuration file (Optional)
config.json in the root of the directory is optional
All properties are optional. These are the default values:
{
"servername": "Septima Search Server", : The name presented in the ui
"port": 3000, : The port responding to http requests
"frontpage": "tree", : Default page "tree", "download", or "configuration"
"logLevel": "error" : Set to "info" or "debug" for more verbose logging
}
Om YAML:
https://www.cloudbees.com/blog/yaml-tutorial-everything-you-need-get-started
metadata:
displayname: Demo configuration
description: Demonstrates config.yml structure
homepage: http://septima.dk/search
controller:
_type: Septima.Search.Controller
_options:
blankBehavior: search
searchers:
- _type: Septima.Search.DawaSearcher
- _type: Septima.Search.GeoSearch
https://www.cloudbees.com/blog/yaml-tutorial-everything-you-need-get-started
controller:
_type: Septima.Search.Controller
_options:
blankBehavior: search
searchers:
- _type: Septima.Search.DawaSearcher
- _type: Septima.Search.GeoSearch
metadata:
displayname: Demo configuration
description: Demonstrates config.yml structure
homepage: http://septima.dk/search
import:
sections:
- name: core
dir: $.env.configDir
- name: datafordeler
dir: $.env.configDir
- name: ejerservice
dir: $.env.configDir
- name: tinglysning
dir: $.env.configDir
controller:
_type: Septima.Search.Controller
_options:
blankBehavior: search
searchers:
- _ref: $.searchers.dawa
- _ref: $.searchers.geosearcher
searchers:
dawa:
_type: Septima.Search.DawaSearcher
_options:
minimumShowCount: 3
geosearcher:
_type: Septima.Search.GeoSearch
_options:
targets:
- matrikelnumre
metadata:
displayname: Demo configuration
description: Demonstrates config.yml structure
homepage: http://septima.dk/search
import:
sections:
- name: core
dir: $.env.configDir
- name: datafordeler
dir: $.env.configDir
- name: ejerservice
dir: $.env.configDir
- name: tinglysning
dir: $.env.configDir
controller:
_type: Septima.Search.Controller
_options:
blankBehavior: search
searchers:
- _ref: $.searchers.dawa
- _ref: $.searchers.geosearcher
searchers:
dawa:
_type: Septima.Search.DawaSearcher
_options:
minimumShowCount: 3
geosearcher:
_type: Septima.Search.GeoSearch
_options:
targets:
- matrikelnumre
Flere registre fra Datafordeleren kræver at der er installeret et certifikat. Følg nedenstående vejledning i at skaffe og installere et certifikat
Vejledning i Adgang til Datafordeleren (Åbner i nyt vindue)
Extends Septima.Search.Searcher
Searches an arcGIS service.
Supports GET
No sq support
Name | Type | Mandatory | Default value | Description |
source | string | | ArcGis | The source of results. |
catalogUrl | string | Yes | | catalog-url eg: "http://kortservice.vejle.dk/gis/rest/services" |
serviceName | string | Yes | | [folder/]service eg: "GISWEB2/FamilieSocial" |
layers | string | | * | "*" or "layer1Name[, layer2Name]" |
_type: Septima.Search.ArcGisSearcher
_options:
source: "Gentofte ArcGIS"
catalogUrl: "http://gis.gentofte.dk/ekstern/rest/services"
serviceName: "NetGIS/NG_Kultur_og_Fritid"
layers: "Andet grønt område"
arcGisSearcherOptions = {
// Specific options
catalogUrl : http:// <catalog-url>" eg: "http://kortservice.vejle.dk/gis/rest/services",
serviceName: "[folder/]service" eg: "GISWEB2/FamilieSocial",
layers : "*" or ["layer1Name", "layer2Name"],
// General options
onSelect : function(result) {
log('<b>'+ ArcGIS objekt + ':</b> '+ result.title + '<br/>');
},
matchesPhrase: "Begynder med ",
searchDelay: 200
}
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
controller.addSearcher(new Septima.Search.ArcGisSearcher(arcGisSearcherOptions))
import ArcGisSearcher from './searchers/ArcGisSearcher.js'
controller.addSearcher(new ArcGisSearcher(arcGisSearcherOptions))
Extends Septima.Search.Searcher
Enables a client to add a custom searcher to Septima Search
Name | Type | Mandatory | Default value | Description |
singular | string | Yes | | The singular form of the object type returned by the searcher, eg "Photo" |
plural | string | Yes | | The plural form of the object type returned by the searcher, eg "Photos" |
provider | Object | Yes | | searcher The provider or the global name of the provider object (provider = window[provider]) Must implement query(query, limit) |
//Create a provider object, which MUST have a query method (see signature) and MAY have a get method. If results have an id attribute the get method MUST be implemented
// provider.query(query, limit) must return
// {
// status: "ok|error",
// hits: nnn,
// results: results
// }, where
// results is an array of
// {
// title: "title ",
// description: "description",
// geometry: null|geojsonobject
// }
// or a promise of such
var provider = {
"query": function(query, limit){
var results = [];
for (var i = 0;i<limit;i++){
results.push({
title: "title " + i,
description: "description " + i,
geometry: null
});
}
var result = {status: "ok", hits: 9999, results: results};
return result;
},
// The select method is optional. The controller will NOT emit SELECT in SS if defined
"select": function(result){
//Do something with result
}
};
// Create a clientSearcher
var clientSearcher = new Septima.Search.ClientSearcher({
singular: "objekt",
plural: "objekter",
provider: provider
});
// Add the searcher to septima search
controller.addSearcher(clientSearcher);
Extends Septima.Search.Searcher
Searches a {module:js/searchers/local/SearchableData}
Name | Type | Mandatory | Default value | Description |
searchableData | module:js/searchers/local/SearchableData | Yes | | |
persons:
personSearcher:
_type: Septima.Search.DataSearcher
_options:
searchableData:
_ref: "$.persons.searchablepersons"
iconURI: data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE4LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDM1MCAzNTAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM1MCAzNTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGQ9Ik0xNzUsMTcxLjE3M2MzOC45MTQsMCw3MC40NjMtMzguMzE4LDcwLjQ2My04NS41ODZDMjQ1LjQ2MywzOC4zMTgsMjM1LjEwNSwwLDE3NSwwcy03MC40NjUsMzguMzE4LTcwLjQ2NSw4NS41ODcNCgkJQzEwNC41MzUsMTMyLjg1NSwxMzYuMDg0LDE3MS4xNzMsMTc1LDE3MS4xNzN6Ii8+DQoJPHBhdGggZD0iTTQxLjkwOSwzMDEuODUzQzQxLjg5NywyOTguOTcxLDQxLjg4NSwzMDEuMDQxLDQxLjkwOSwzMDEuODUzTDQxLjkwOSwzMDEuODUzeiIvPg0KCTxwYXRoIGQ9Ik0zMDguMDg1LDMwNC4xMDRDMzA4LjEyMywzMDMuMzE1LDMwOC4wOTgsMjk4LjYzLDMwOC4wODUsMzA0LjEwNEwzMDguMDg1LDMwNC4xMDR6Ii8+DQoJPHBhdGggZD0iTTMwNy45MzUsMjk4LjM5N2MtMS4zMDUtODIuMzQyLTEyLjA1OS0xMDUuODA1LTk0LjM1Mi0xMjAuNjU3YzAsMC0xMS41ODQsMTQuNzYxLTM4LjU4NCwxNC43NjENCgkJcy0zOC41ODYtMTQuNzYxLTM4LjU4Ni0xNC43NjFjLTgxLjM5NSwxNC42OS05Mi44MDMsMzcuODA1LTk0LjMwMywxMTcuOTgyYy0wLjEyMyw2LjU0Ny0wLjE4LDYuODkxLTAuMjAyLDYuMTMxDQoJCWMwLjAwNSwxLjQyNCwwLjAxMSw0LjA1OCwwLjAxMSw4LjY1MWMwLDAsMTkuNTkyLDM5LjQ5NiwxMzMuMDgsMzkuNDk2YzExMy40ODYsMCwxMzMuMDgtMzkuNDk2LDEzMy4wOC0zOS40OTYNCgkJYzAtMi45NTEsMC4wMDItNS4wMDMsMC4wMDUtNi4zOTlDMzA4LjA2MiwzMDQuNTc1LDMwOC4wMTgsMzAzLjY2NCwzMDcuOTM1LDI5OC4zOTd6Ii8+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8L3N2Zz4NCg==
searchablepersons:
_type: Septima.Search.SearchableData
_options:
singular: Person
plural: Persons
searchProperties:
- name
- hobby
displaynameProperty: name
descriptionProperty: hobby
idProperty: number
data:
_ref: "$.persons.persons"
persons:
- number: 1
name: Adam
age: 15
hobby: Chess
- number: 3
name: Christine
age: 17
hobby: Math
- number: 2
name: Bob
age: 16
hobby: Soccer
- number: 4
name: Jenny
age: 18
hobby: Geography
persons = [
{number: 1, name: "Adam", age: 15, hobby: "Chess"},
{number: 3, name: "Christine", age: 17, hobby: "Math"},
{number: 2, name: "Bob", age: 16, hobby: "Soccer"},
{number: 4, name: "Jenny", age: 18, hobby: "Geography"},
]
searchAbleDataOptions = {
singular: "Person",
plural: "Personer",
searchProperties: ["name", "hobby"],
displaynameProperty: "name",
descriptionProperty: "age",
idProperty: "number",
data: persons
}
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
var searchAbleData = new Septima.Search.SearchableData(searchAbleDataOptions)
controller.addSearcher(new Septima.Search.DataSearcher(searchAbleData))
import DataSearcher from './searchers/DataSearcher.js'
import SearchableData from './searchers/local/SearchableData.js'
let searchAbleData = new SearchableData(searchAbleDataOptions)
controller.addSearcher(new DataSearcher(searchAbleData))
Extends Septima.Search.Searcher
Searches Dawa (http://dawa.aws.dk/)
Name | Type | Mandatory | Default value | Description |
kommunekode | string | | '*' | "*" Search all municipalities (Default)</br>Search specific municipalities eg. "101" or "101 |
showOneStreet | boolean | | false | |
source | string | | 'Dawa' | |
goal | string | | 'adgangsadresse' | DEPRECATED May be 'adgangsadresse', adgangellerenhedsadresse, or "enhedsadresse" |
targets | Array.<string> | | ['adgangsadresse'] | May include 'vej', 'adgangsadresse', and "enhedsadresse" |
_type: Septima.Search.DawaSearcher
_options:
kommunekode: 151
dawaSearchOptions = {
kommunekode: "151",
searchDelay: 200
};
<!-- Include septima Search -->
<!-- Include septima Search -->
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
controller.addSearcher(new Septima.Search.DawaSearcher(dawaSearchOptions))
import DawaSearcher from './searchers/DawaSearcher'
controller.addSearcher(new DawaSearcher(dawaSearchOptions))
Extends Septima.Search.Searcher
Searches Dawa stednavne endpoint
Name | Type | Mandatory | Default value | Description |
kommunekode | String | | * | "*" Search all municipalities (Default)</br>Search specific municipalities eg. "101" or "101 |
visUOfficiel | String | | false | Search and show unofficial names of places |
types | Array.<Object> | | | User defined type - one of either hoved- or undertype MUST be given |
types[].name | String | Yes | | The name of the user defined type as it will be shown in result list |
types[].hovedtype | String | | | One or more of hovedtype or |
types[].undertype | String | | | One or more of undertype |
types[].iconuri | String | | | |
_type: Septima.Search.DawaStednavnSearcher
_options:
kommunekode: 151
options = {
types: [{
name: 'Bebyggelse',
hovedtype: 'Bebyggelse|Bygning'
},{
name: 'Motor og motocrossbane',
undertype: 'motorbane|motocrossbane',
iconuri: 'data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMzc5LjgyODEyNSAwaC0yMTcuNjU2MjVjLTcyLjg3NSAwLTEzMi4xNzE4NzUgNTkuMjk2ODc1LTEzMi4xNzE4NzUgMTMyLjE3MTg3NXY3OC44MjgxMjVoLTMwdjMwaDEyMHYtMzBoLTMwdi03OC44MjgxMjVjMC0zOS44MDA3ODEgMzIuMzcxMDk0LTcyLjE3MTg3NSA3Mi4xNzE4NzUtNzIuMTcxODc1aDIxNy42NTYyNWMzOS44MDA3ODEgMCA3Mi4xNzE4NzUgMzIuMzcxMDk0IDcyLjE3MTg3NSA3Mi4xNzE4NzV2NjFjMCAzMS4xMTMyODEtMTkuODM1OTM4IDU4LjYyNS00OS4zNTE1NjIgNjguNDY4NzVsLTYwLjc4OTA2MyAyMC4yNTc4MTNjLTQxLjc3NzM0NCAxMy45NDUzMTItNjkuODU5Mzc1IDUzLjg5NDUzMS02OS44NTkzNzUgOTcuOTI5Njg3IDAgMzkuODAwNzgxLTMzLjM3MTA5NCA3Mi4xNzE4NzUtNzMuMTcxODc1IDcyLjE3MTg3NWgtMzYuNjU2MjVjLTM5LjgwMDc4MSAwLTcyLjE3MTg3NS0zMi4zNzEwOTQtNzIuMTcxODc1LTcyLjE3MTg3NXYtNzguODI4MTI1aDMwdi0zMGgtMTIwdjMwaDMwdjc4LjgyODEyNWMwIDcyLjg3NSA1OS4yOTY4NzUgMTMyLjE3MTg3NSAxMzIuMTcxODc1IDEzMi4xNzE4NzVoMzYuNjU2MjVjNzIuODc1IDAgMTMzLjE3MTg3NS01OS4yOTY4NzUgMTMzLjE3MTg3NS0xMzIuMTcxODc1IDAtMTguMTc5Njg3IDExLjU4NTkzOC0zNS4yNSAyOC44NDM3NS00MS4wMDc4MTNsNjAuNzg5MDYyLTIwLjI2OTUzMWM1NC4wNTQ2ODgtMTguMDE5NTMxIDkwLjM2NzE4OC02OC40MTAxNTYgOTAuMzY3MTg4LTEyNS4zNzg5MDZ2LTYxYzAtNzIuODc1LTU5LjI5Njg3NS0xMzIuMTcxODc1LTEzMi4xNzE4NzUtMTMyLjE3MTg3NXptMCAwIi8+PC9zdmc+'
}]
}
<!-- Include septimaSearch -->
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
searchers.push(new Septima.Search.DawaStednavnSearcher(options))
import DawaStednavnSearcher from './searchers/DawaStednavnSearcher.js'
controller.addSearcher(new DawaStednavnSearcher(options))
Base class for all searchers - these options are available on all searchers
Name | Type | Mandatory | Default value | Description |
blankBehavior | string | | "search" | "none" |
queryBehaviour | string | | "auto" | "auto |
minimumShowCount | string | | 0 | Instead of collapsing results show at least some |
showMinimumOnBlank | string | | false | Show minimum count even on blank search |
resultTypes | Object | | {} | Use this options to override singular, plural, and iconURI of results (See example) |
searchDelay | int | | 0 | Delay in ms before executing the search |
iconURI | boolean | | | Default icon for results if not set by searcher. Prefer to use options.resultTypes.[type].iconURI if possible |
onSelect | function | | | Function to call when a result is selected by the user. Alternatively use the controller.addOnSelectHandler(callback) |
usesGeoFunctions | boolean | | false | [Internal use] Does the implementation need the geo functions |
logger | Object | | | [Internal use] |
logLevel | string | | | [Internal use] |
defaultCrs | string | | | [Internal use] Sets crs of createQueryResult, sets crs of translateWktToGeoJsonObject |
_type: Septima.Search.DawaSearcher
_options:
goal: adgangellerenhedsadresse
minimumShowCount: 3
showMinimumOnBlank: true
resultTypes:
adresse:
singular: Adresse
plural: Adresser
iconURI: data:image/svg+xml;base64,.........
Extends Septima.Search.Searcher
Searches Septima DAR service
Name | Type | Mandatory | Default value | Description |
kommunekode | string | | '*' | "*": all municipalities. Specific municipalities: "101" or "101 |
targets | Array.<string> | | ['husnummer'] | May include 'navngivenvejpostnummer', 'husnummer', and "adresse" |
endpoint | string | Yes | | DAR service endpoint |
_type: Septima.Search.DarSearcher
_options:
kommunekode: "151"
endpoint: https://xx.xx.xx/darsearch
darSearchOptions = {
kommunekode: "*",
endpoint: "https://xx.xx.xx/darsearch",
targets: ["navngivenvejpostnummer", "husnummer"]
};
<!-- Include septima search -->
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
controller.addSearcher(new Septima.Search.DarSearcher(darSearchOptions))
import DarSearcher from "@septima/septima-search/ss/searchers/darsearch/DarSearcher.js"
controller.addSearcher(new DarSearcher(darSearchOptions))
Extends Septima.Search.Searcher
Searches gst geoservice (https://docs.dataforsyningen.dk/#gsearch-dokumentation)
Name | Type | Mandatory | Default value | Description |
kommunekode | String | | * | "*" Search all municipalities (Default)<br/> Search specific municipalities eg. "101" or "101 256" |
targets | Array.<string> | Yes | | List of targets to search<br/> The full list is ['kommuner', 'matrikelnumre', 'opstillingskredse', 'politikredse', 'postdistrikter', 'regioner', 'retskredse', 'sogne', 'matrikelnumre_udgaaet']<br/> ['*'] is short hand for ['kommuner', 'matrikelnumre', 'opstillingskredse', 'politikredse', 'postdistrikter', 'regioner', 'retskredse', 'sogne'] |
authParamsKortforsyningen | Object | Yes | | Either {token: 'ttttt'}, where t is a ticket issued by kortforsyningen or {login: 'llll', password: 'pppp'} |
authParamsDatafordeleren | Object | Yes | | Tjenestebruger til Datafordeleren {username: 'uuuu', password: 'pppp'} |
_type: Septima.Search.GeoSearch
_options:
targets:
- matrikelnumre
- sogne
authParamsKortforsyningen:
token: xxxx
authParamsDatafordeleren:
username: xxxx
password: xxxx
kommunekode: '101 157'
geoSearchOptions = {
"targets": ['matrikelnumre', 'sogne'],
"authParamsKortforsyningen": {
"token": 'xxxxx'
},
"authParamsDatafordeleren": {
"username": 'xxxxx',
"password": 'xxxx'
},
kommunekode: '157 101'
};
<!-- Include septimaSearch -->
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
controller.addSearcher(new Septima.Search.GeoSearch(geoSearchOptions))
import GeoSearch from './searchers/GeoSearch.js'
controller.addSearcher(new GeoSearch(geoSearchOptions))
Extends Septima.Search.Searcher
Searches gst geoservice for stednavne (https://docs.dataforsyningen.dk/#gsearch-dokumentation)
Name | Type | Mandatory | Default value | Description |
kommunekode | String | | * | "*" Search all municipalities (Default)</br>Search specific municipalities eg. "101" or "101 |
authParams | Object | | | Either {ticket: 'ttttt'}, where t is a ticket issued by kortforsyningen or {login: 'lll', password: 'pppp'} |
_type: Septima.Search.GeoStednavnSearch
_options:
authParams:
login: xxxx
password: xxxx
kommunekode: '101 157'
geoStednavnSearchOptions = {
authParams: {
login: 'xxxx',
password: 'xxxxxx'
}
};
<!-- Include septimaSearch -->
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
controller.addSearcher(new Septima.Search.GeoStednavnSearch(geoStednavnSearchOptions))
import GeoStednavnSearch from './searchers/GeoStednavnSearch.js'
controller.addSearcher(new GeoStednavnSearch(geoStednavnSearchOptions))
Extends Septima.Search.Searcher
Searches a Spatial Suite index. An S4 index must have been created and populated on the host. See https://github.com/Septima/spatialsuite-s4#5-configure-your-search-index
Name | Type | Mandatory | Default value | Description |
host | string | Yes | | "Service endpoint (SpatialSuite Url) eg.: [http:]//sps-demo.septima.dk[:80]. Protocol and port are optional" |
datasources | string | | "*" | Comma separated list of indexed data sources to search. Default: "*" |
source | string | | "WebGis" | The source property of results. Type property |
_type: Septima.Search.S4IndexSearcher
_options:
host: "http://sps.test.septima.dk"
datasources: "*"
s4IndexSearcherOptions = {
host : "http://sps.test.septima.dk/",
datasources : "*"
};
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
controller.addSearcher(new Septima.Search.S4IndexSearcher(s4IndexSearcherOptions))
import S4IndexSearcher from './searchers/S4IndexSearcher.js'
controller.addSearcher(new S4IndexSearcher(s4IndexSearcherOptions))
Extends Septima.Search.DetailsHandlerDef
Decorates a result with results that spatially overlap. Does so by querying the sq method of underlying searchers
Name | Type | Mandatory | Default value | Description |
outputType | Object | | "result" | May be "result" or "labelvalue" Option to generate either a list of result items or a list of label/value items |
headerListItem | Object | | | A detailsItem which will be shown before the lists of results |
footerListItem | Object | | | A detailsItem which will be shown after the lists of results |
noResultsListItem | Object | | | A detailsItem which will be shown if no results are found |
proxySearcher | Object | | | A searcher will be queried with sq, the results of this is then used in the sq against the target |
showProxy | Boolean | | false | if proxySearcher is used - show the proxy? |
proxyOutputType | Boolean | | "result" | Show the proxy as result or labelvalue |
searchers | Object | | [] | |
allow_touches | Object | | true | api |
mydetailhandlers:
sqPlanerDetailsHandler:
_type: Septima.Search.SqDetailsHandler
_options:
buttonText: "Planer"
searchers:
- _ref: "$.mysearchers.planSystemSearcher"
_type: Septima.Search.DawaSearcher
_options:
kommunekode: "*"
detailhandlers:
- _ref: "$.mydetailhandlers.sqPlanerDetailsHandler"
Extends Septima.Search.DetailsHandlerDef
Samler flere detailhandlere i ét output
Name | Type | Mandatory | Default value | Description |
id | Object | | ComposedDetailsHandler_xxx | |
detailhandlers | Object | | | Array of detailhandlers |
buttonText | Object | | "result.title" | The display title of the handler. Any string allowed, "result.title", "result.typename" have special meanings |
_type: Septima.Search.DawaSearcher
detailhandlers:
- _type: Septima.Search.ComposedDetailsHandler
_options:
id: "OmHusnummer"
more: true
buttonText: 'Om husnummeret'
detailhandlers:
- _type: Septima.Search.HusnummerInfoProvider
_options:
geosearcher:
_ref: "$.mysearchers.geosearcher"
- _type: Septima.Search.AdresserForHusnummerProvider
Extends Septima.Search.DetailsHandlerDef
Generic details handler - formats properties of result.data to detailitems
Name | Type | Mandatory | Default value | Description |
details | Object | Yes | | detail items. Fields containing "$." are replaced with result.data property values |
asList | string | | true | |
more | string | | true | |
meta | string | | | detailItem, som repræsenterer metadata |
dawa:
_type: Septima.Search.DawaSearcher
_options:
resultTypes:
adresse:
singular: Adresse
plural: Adresser
detailhandlers:
- _type: Septima.Search.Details
_options:
buttonText: Info vha. Septima.Search.Details
details:
- type: labelvalue
label: id
value: $.properties.id
- type: labelvalue
label: ligger i postnr
value: {$.properties.postnummer.nr["Ikke angivet"]} {$.properties.postnummer.navn[""]}
- type: link
linkTitle: JSON fra DAWA
link: https://api.dataforsyningen.dk/adgangsadresser/{$.properties.id}
- type: "result"
label: "Administrator"
result:
searcher:
_ref: $.searchers.dataapi.cvr
type: virksomhed
id: $.properties.CVR_kode
Decorates a result
Name | Type | Mandatory | Default value | Description |
proxy | Object | | | Indites whether a proxy for the result should be used |
proxy.item | Object | | | Describes how to present the found proxy |
proxy.item.label | Object | | | |
proxy.item.type | Object | | result | result |
proxy.item.show | Object | | true | should the found proxy be shown |
proxy.result | Object | Yes | | Describes how to find the proxyResult |
proxy.result.searcher | Object | Yes | | which searcher to use |
proxy.result.typeId | Object | Yes | | which type of result |
proxy.result.id | Object | Yes | | [mainresult.type->] id of proxy result. "$." is replaced with result.data property values (see examples) |
more | boolean | | true | Indicates whether the details provided should be considered an extension of the result rather than related information (Layouts may show "more" handlers at the top without specific heading) |
targets | boolean | | [{source: '', typeId: ''} | Arrayof Combinations of source/typeIds that are supported by the handler |
buttonText | string | | "" | Title of the handler (Layouts may show the title as tab caption) |
buttonImage | string | | icons.infoGrey | Url to icon of the handler (Layouts may show the image as part of the tab caption) |
meta | string | | | Description (e.g metadata of output) of the handler (A Detail Itens) |
logger | Object | | | |
logLevel | string | | | |
id | string | | random unique string | |
isApplicableFunction | function | | check against options.targets | function, (result)=>, return boolean indicating whether the result is handled |
handler | function | Yes | | function, (result)=>, return detail items |
meta | function | Yes | | detailItem, som repræsenterer metadata |
dawa:
_type: Septima.Search.DawaSearcher
_options:
minimumShowCount: 3
resultTypes:
adresse:
singular: Adresse
plural: Adresser
iconURI: data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTQsOUgxOS41TDE0LDMuNVY5TTcsMkgxNUwyMSw4VjIwQTIsMiAwIDAsMSAxOSwyMkg3QzUuODksMjIgNSwyMS4xIDUsMjBWNEEyLDIgMCAwLDEgNywyTTExLjkzLDEyLjQ0QzEyLjM0LDEzLjM0IDEyLjg2LDE0LjA4IDEzLjQ2LDE0LjU5TDEzLjg3LDE0LjkxQzEzLDE1LjA3IDExLjgsMTUuMzUgMTAuNTMsMTUuODRWMTUuODRMMTAuNDIsMTUuODhMMTAuOTIsMTQuODRDMTEuMzcsMTMuOTcgMTEuNywxMy4xOCAxMS45MywxMi40NE0xOC40MSwxNi4yNUMxOC41OSwxNi4wNyAxOC42OCwxNS44NCAxOC42OSwxNS41OUMxOC43MiwxNS4zOSAxOC42NywxNS4yIDE4LjU3LDE1LjA0QzE4LjI4LDE0LjU3IDE3LjUzLDE0LjM1IDE2LjI5LDE0LjM1TDE1LDE0LjQyTDE0LjEzLDEzLjg0QzEzLjUsMTMuMzIgMTIuOTMsMTIuNDEgMTIuNTMsMTEuMjhMMTIuNTcsMTEuMTRDMTIuOSw5LjgxIDEzLjIxLDguMiAxMi41NSw3LjU0QzEyLjM5LDcuMzggMTIuMTcsNy4zIDExLjk0LDcuM0gxMS43QzExLjMzLDcuMyAxMSw3LjY5IDEwLjkxLDguMDdDMTAuNTQsOS40IDEwLjc2LDEwLjEzIDExLjEzLDExLjM0VjExLjM1QzEwLjg4LDEyLjIzIDEwLjU2LDEzLjI1IDEwLjA1LDE0LjI4TDkuMDksMTYuMDhMOC4yLDE2LjU3QzcsMTcuMzIgNi40MywxOC4xNiA2LjMyLDE4LjY5QzYuMjgsMTguODggNi4zLDE5LjA1IDYuMzcsMTkuMjNMNi40LDE5LjI4TDYuODgsMTkuNTlMNy4zMiwxOS43QzguMTMsMTkuNyA5LjA1LDE4Ljc1IDEwLjI5LDE2LjYzTDEwLjQ3LDE2LjU2QzExLjUsMTYuMjMgMTIuNzgsMTYgMTQuNSwxNS44MUMxNS41MywxNi4zMiAxNi43NCwxNi41NSAxNy41LDE2LjU1QzE3Ljk0LDE2LjU1IDE4LjI0LDE2LjQ0IDE4LjQxLDE2LjI1TTE4LDE1LjU0TDE4LjA5LDE1LjY1QzE4LjA4LDE1Ljc1IDE4LjA1LDE1Ljc2IDE4LDE1Ljc4SDE3Ljk2TDE3Ljc3LDE1LjhDMTcuMzEsMTUuOCAxNi42LDE1LjYxIDE1Ljg3LDE1LjI5QzE1Ljk2LDE1LjE5IDE2LDE1LjE5IDE2LjEsMTUuMTlDMTcuNSwxNS4xOSAxNy45LDE1LjQ0IDE4LDE1LjU0TTguODMsMTdDOC4xOCwxOC4xOSA3LjU5LDE4Ljg1IDcuMTQsMTlDNy4xOSwxOC42MiA3LjY0LDE3Ljk2IDguMzUsMTcuMzFMOC44MywxN00xMS44NSwxMC4wOUMxMS42Miw5LjE5IDExLjYxLDguNDYgMTEuNzgsOC4wNEwxMS44NSw3LjkyTDEyLDcuOTdDMTIuMTcsOC4yMSAxMi4xOSw4LjUzIDEyLjA5LDkuMDdMMTIuMDYsOS4yM0wxMS45LDEwLjA1TDExLjg1LDEwLjA5WiIgLz48L3N2Zz4=
detailhandlers:
- _type: Septima.Search.InfoForSognProvider
_options:
more: false
buttonText: Ligger i sogn
proxy:
item:
type: result
label: Ligger i sogn
show: true
result:
searcher:
_ref: $.mysearchers.geosearcher
typeId: sogne
id: $.properties.sogn.kode
cvr:
_type: Septima.Search.DataApi.CvrSearcher
_options:
fetcher:
_type: Septima.Search.DataApi.Fetcher
detailhandlers:
- _type: Septima.Search.SqDetailsHandler
_options:
buttonText: Planer for ejende virksomhed
proxy:
item:
type: result
label: Ejende virksomhed
show: true
result:
searcher:
_ref: $.mysearchers.cvr
typeId: virksomhed
id: produktionsenhed->$.cvrnummer
searchers:
- _ref: "$.mysearchers.planSystemSearcher"
Extends Septima.Search.DetailsHandlerDef
Returnerer et resultat fra et andet resultat - Overvej at bruge Septima.Search.Details i stedet
Name | Type | Mandatory | Default value | Description |
output | string | | result | "result" |
label | string | | | |
searcher | Object | Yes | | Searcher, som returnerer nye rersultat |
typeId | string | Yes | | typen af det nye resultat |
idExpression | string | Yes | | udtryk til at finde id på det nye resultat fra result.data |
_type: Septima.Search.DawaSearcher
detailhandlers:
- _type: Septima.Search.LinkedResultHandler
_options:
idExpression: $.properties.sogn.kode
searcher:
_ref: $.mysearchers.geosearcher
typeId: sogne
label: Sogn
Extends Septima.Search.DetailsHandlerDef
Viser adresser for et husnummer (enhedsadresser for en dawa-adresse)
Name | Type | Mandatory | Default value | Description |
mode | Object | | resultlist | "resultlist" for list of results / "list" for labelvalue list / "count" for number of results |
dawa:
_type: Septima.Search.DawaSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.AdresserForHusnummerProvider
_options:
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
dawaSearcher.addDetailHandlerDef(new Septima.Search.AdresserForHusnummerProvider())
import CvrVirksomhederForAdresseProvider from './searchers/detailhandlers/CvrVirksomhederForAdresseProvider.js'
dawaSearcher.addDetailHandlerDef(new AdresserForHusnummerProvider())
Extends Septima.Search.DetailsHandlerDef
Viser attributer for et arcGis Server resultat
Name | Type | Mandatory | Default value | Description |
_type: Septima.Search.ArcGisFeatureInfoProvider
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
new Septima.Search.AdresserForHusnummerProvider()
import ArcGisFeatureInfoProvider from './searchers/detailhandlers/ArcGisFeatureInfoProvider.js'
new AdresserForHusnummerProvider()
Extends Septima.Search.DetailsHandlerDef
Viser DAGI info for resultater med geometri
Name | Type | Mandatory | Default value | Description |
_type: Septima.Search.DagiInfoProvider
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
new Septima.Search.DagiInfoProvider()
import DagiInfoProvider from './searchers/detailhandlers/DagiInfoProvider.js'
new DagiInfoProvider()
Extends Septima.Search.DetailsHandlerDef
Decorates any result with examples of all types of details
Name | Type | Mandatory | Default value | Description |
_type: Septima.Search.CVR_enhedSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.DemoDetailsHandler
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
cvr_enhedSearcher.addDetailHandlerDef(new Septima.Search.DemoDetailsHandler())
import DemoDetailsHandler from './searchers/detailhandlers/DemoDetailsHandler.js'
dawaSearcher.addDetailHandlerDef(new DemoDetailsHandler())
Extends Septima.Search.DetailsHandlerDef
Viser links til plandokument på plansystem,dk, Odeum og/eller DKPlan
Name | Type | Mandatory | Default value | Description |
more | boolean | | true | |
odeumClientName | string | | | |
dkplanName | string | | | |
_type: Septima.Search.PlanSystemSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.DokLinksForLokalplan
_options:
odeumClientName: Horsens
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
planSystemSearcher.addDetailHandlerDef(new Septima.Search.DokLinksForLokalplan({odeumClientName: "Horsens"}))
import DokLinksForLokalplan from './searchers/detailhandlers/DokLinksForLokalplan.js'
planSystemSearcher.addDetailHandlerDef(new DokLinksForLokalplan({odeumClientName: "Horsens"}))
Extends Septima.Search.DetailsHandlerDef
Decorates any result with simple text
Name | Type | Mandatory | Default value | Description |
_type: Septima.Search.DummyMoreHandler
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
cvr_enhedSearcher.addDetailHandlerDef(new Septima.Search.DummyMoreHandler())
import DemoDetailsHandler from './searchers/detailhandlers/DummyMoreHandler.js'
dawaSearcher.addDetailHandlerDef(new DummyMoreHandler())
Extends Septima.Search.DetailsHandlerDef
Viser søgelink til JO FilArkivet for for Dawa.adresse og Kortforsyningen.matrikelnumre resultater
Name | Type | Mandatory | Default value | Description |
more | boolean | | true | |
kommunenavn | string | Yes | | kommunenavn som aftalt med JO |
kommunekode | string | Yes | | tre-cifret kommunekode |
_type: Septima.Search.DawaSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.FilarkivLinkForAdresseMatrikelHandler
_options:
kommunenavn: Horsens
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
dawaSearcher.addDetailHandlerDef(new Septima.Search.FilarkivLinkForAdresseMatrikelHandler({kommunenavn: "Horsens"}))
import FilarkivLinkForAdresseMatrikelHandler from './searchers/detailhandlers/FilarkivLinkForAdresseMatrikelHandler.js'
dawaSearcher.addDetailHandlerDef(new FilarkivLinkForAdresseMatrikelHandler({kommunenavn: "Horsens"}))
Extends Septima.Search.DetailsHandlerDef
Viser info for FKG objekter
Name | Type | Mandatory | Default value | Description |
fields | Object | | | Felter, der skal medtages i den viste info |
fields.t_5710_born_skole_dis_t | Array.<string> | | ["temanavn","cvr_navn","cvr_kode","starttrin","slutttrin"] | For skoledistrikter. BEMÆRK slutttrin har et t for meget |
plansystemsearcher:
_type: Septima.Search.FkgSearcher
_options:
minimumShowCount: 3
targets:
- t_5710_born_skole_dis_t
detailhandlers:
- _type: "Septima.Search.FkgInfoProvider"
_options:
fields:
t_5710_born_skole_dis_t: ['temanavn','udd_distrikt_navn']
options = {
fields: {
t_5710_born_skole_dis_t: [temanavn','udd_distrikt_navn','cvr_navn','cvr_kode','starttrin','slutttrin']
}
};
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
planSystemSearcher.addDetailHandlerDef(new Septima.Search.FkgInfoProvider(options))
import PlanInfoProvider from './searchers/detailhandlers/FkgInfoProvider.js'
planSystemSearcher.addDetailHandlerDef(new FkgInfoProvider(options))
Extends Septima.Search.DetailsHandlerDef
viser husnummeret for en adresse
Name | Type | Mandatory | Default value | Description |
fields | Object | | | Felter, der skal medtages i den viste info |
fields.t_5710_born_skole_dis_t | Array.<string> | | ["temanavn","cvr_navn","cvr_kode","starttrin","slutttrin"] | For skoledistrikter. BEMÆRK slutttrin har et t for meget |
Extends Septima.Search.DetailsHandlerDef
Viser basal info samt DAGI info for adresser
Name | Type | Mandatory | Default value | Description |
fields | Array.<String> | | ['postadresse', 'matrikelnr'] | Felter, der skal medtages i den viste info. Mulighederne er ["vejnavn", "husnummer", "postdistrikt", 'postadresse', 'id', 'kode', 'antaladdresser', 'matrikelnr'] |
dawa:
_type: Septima.Search.DawaSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.HusnummerInfoProvider
_options:
fields: ["vejnavn", "husnummer"]
options = {
fields: ["vejnavn", "husnummer"]
};
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
dawaSearcher.addDetailHandlerDef(new Septima.Search.HusnummerInfoProvider(options))
import HusnummerInfoProvider from './searchers/detailhandlers/HusnummerInfoProvider.js'
dawaSearcher.addDetailHandlerDef(new HusnummerInfoProvider(options))
Extends Septima.Search.DetailsHandlerDef
Viser info for eet stednavn fra GeoStednavnSearcher
Name | Type | Mandatory | Default value | Description |
fields | Object | | ["hovedtype","undertype", "primærtnavn","primærnavnestatus","indbyggerantal","bebyggelseskode","ændret","geo_ændret","geo_version","visueltcenter_x","visueltcenter_y","brofast" | Felter, der skal medtages i info |
_type: Septima.Search.GeoStednavnSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.InfoForGeoStednavnProvider
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
GeoStednavnSearcher.addDetailHandlerDef(new Septima.Search.InfoForGeoStednavnProvider())
import InfoForGeoStednavnProvider from './searchers/detailhandlers/InfoForGeoStednavnProvider.js'
GeoStednavnSearcher.addDetailHandlerDef(new InfoForGeoStednavnProvider())
Extends Septima.Search.DetailsHandlerDef
Viser info for en opstillingskreds fra GeoSearch
Name | Type | Mandatory | Default value | Description |
fields | Object | | ["presentationString","id", "name" | Felter, der skal medtages i info |
_type: Septima.Search.GeoSearch
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.InfoForOpstillingsKredsProvider
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
geoSearcher.addDetailHandlerDef(new Septima.Search.InfoForOpstillingsKredsProvider())
import InfoForOpstillingsKredsProvider from './searchers/detailhandlers/InfoForOpstillingsKredsProvider.js'
geoSearcher.addDetailHandlerDef(new InfoForOpstillingsKredsProvider())
Extends Septima.Search.DetailsHandlerDef
Viser info for en politikreds fra GeoSearch
Name | Type | Mandatory | Default value | Description |
fields | Object | | ["presentationString","id", "name" | Felter, der skal medtages i info |
_type: Septima.Search.GeoSearch
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.InfoForPolitidistriktProvider
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
geoSearcher.addDetailHandlerDef(new Septima.Search.InfoForPolitidistriktProvider())
import InfoForPolitidistriktProvider from './searchers/detailhandlers/InfoForPolitidistriktProvider.js'
geoSearcher.addDetailHandlerDef(new InfoForPolitidistriktProvider())
Extends Septima.Search.DetailsHandlerDef
Viser info for et postdistrikt fra GeoSearch
Name | Type | Mandatory | Default value | Description |
fields | Object | | ["presentationString","id", "name" | Felter, der skal medtages i info |
_type: Septima.Search.GeoSearch
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.InfoForPostdistriktProvider
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
geoSearcher.addDetailHandlerDef(new Septima.Search.InfoForPostdistriktProvider())
import InfoForPostdistriktProvider from './searchers/detailhandlers/InfoForPostdistriktProvider.js'
geoSearcher.addDetailHandlerDef(new InfoForPostdistriktProvider())
Extends Septima.Search.DetailsHandlerDef
Viser info for en retskreds fra GeoSearch
Name | Type | Mandatory | Default value | Description |
fields | Object | | ["presentationString","id", "name" | Felter, der skal medtages i info |
_type: Septima.Search.GeoSearch
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.InfoForRetskredsProvider
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
geoSearcher.addDetailHandlerDef(new Septima.Search.InfoForRetskredsProvider())
import InfoForRetskredsProvider from './searchers/detailhandlers/InfoForRetskredsProvider.js'
geoSearcher.addDetailHandlerDef(new InfoForRetskredsProvider())
Extends Septima.Search.DetailsHandlerDef
Viser info for en sogn fra GeoSearch
Name | Type | Mandatory | Default value | Description |
fields | Object | | ["presentationString","id", "name" | Felter, der skal medtages i info |
_type: Septima.Search.GeoSearch
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.InfoForSognProvider
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
geoSearcher.addDetailHandlerDef(new Septima.Search.InfoForSognProvider())
import InfoForSognProvider from './searchers/detailhandlers/InfoForSognProvider.js'
geoSearcher.addDetailHandlerDef(new InfoForSognProvider())
Extends Septima.Search.DetailsHandlerDef
Viser info for et matrikelnummer fra GeoSearch
Name | Type | Mandatory | Default value | Description |
fields | Object | | | Felter, der skal medtages i info. Mulige felter er "presentationString","elavsnavn", "elavskode", "sfe_nummer", 'matrnr', 'centroid_x', 'centroid_y', 'retskreds_result','opstillingskreds_result','politikreds_result','kommune_result','postdistrikt_result', 'arealer' |
ejdSearcher | Object | Yes | | datafordeler.ejdSearcher |
_type: Septima.Search.GeoSearch
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.JordStykkeInfoProvider
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
geoSearcher.addDetailHandlerDef(new Septima.Search.JordStykkeInfoProvider())
import JordStykkeInfoProvider from './searchers/detailhandlers/JordStykkeInfoProvider.js'
geoSearcher.addDetailHandlerDef(new JordStykkeInfoProvider())
Extends Septima.Search.DetailsHandlerDef
Viser links til LIFA WebOIS og tl- og ejdExplorer for for Dawa.adresse og Kortforsyningen.matrikelnumre resultater
Name | Type | Mandatory | Default value | Description |
more | boolean | | true | |
brugernavn | string | | | brugernavn som aftalt med LIFA |
passord | string | | | passord som aftalt med LIFA |
_type: Septima.Search.DawaSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.LifaLinks
_options:
brugernavn: xxx
passord: xxx
links: ["ois","tlexplorer"]
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
dawaSearcher.addDetailHandlerDef(new Septima.Search.LifaLinks({brugernavn: "xxx", passord: "xxx", links: ["ois","tlexplorer","ejdexplorer"]}))
import LifaLinkForAdresseMatrikelHandler from './searchers/detailhandlers/LifaLinks.js'
dawaSearcher.addDetailHandlerDef(new LifaLinks({brugernavn: "xxx", passord: "xxx", links: ["ois","tlexplorer","ejdexplorer"]}))
Extends Septima.Search.DetailsHandlerDef
Viser link til relevante offentlige hjemmesider for enten en adresse eller an matrikel
Name | Type | Mandatory | Default value | Description |
links | Object | | ["jfa","bbrmeddelelse","bbrejendom","boligejer.dk","vurdering","bbkort","ois", "skraafoto_dataforsyningen"] | Hvilke links skal vises. |
Muligheder: "jfa","bbrmeddelelse","bbrejendom","boligejer.dk","vurdering","bbkort","ois", "geokoder", "retbbr", "skraafoto", "skraafoto_js", "skraafoto_dataforsyningen", "sdfekort", "plankort" | | | | |
visEsrNummer | Object | | true | |
_type: Septima.Search.DawaSearcher
_options:
kommunekode: '101'
allowDetails: true
detailhandlers:
- _type: Septima.Search.OffentligeLinksForAdresseMatrikel
_options:
links: ["jfa","bbrmeddelelse","ejendomsinfo.dk","boligejer.dk","vurdering","bbkort","ois"]
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
dawaSearcher.addDetailHandlerDef(new Septima.Search.OffentligeLinksForAdresseMatrikel({more: true}))
import OffentligeLinksForAdresseMatrikel from './searchers/detailhandlers/OffentligeLinksForAdresseMatrikel.js'
dawaSearcher.addDetailHandlerDef(new OffentligeLinksForAdresseMatrikel({more: false}))
Extends Septima.Search.DetailsHandlerDef
Viser link til relevante offentlige hjemmesider for en geometri (for et punkt på flade/linie)
Name | Type | Mandatory | Default value | Description |
links | Object | | ["jfa","bbrmeddelelse","bbrejendom","boligejer.dk","vurdering","bbkort","ois", "skraafoto_dataforsyningen"] | Hvilke links skal vises. |
Muligheder: "jfa","bbrmeddelelse","bbrejendom","boligejer.dk","vurdering","bbkort","ois", "geokoder", "retbbr", "skraafoto_dataforsyningen", "sdfekort", "plankort" | | | | |
_type: Septima.Search.DawaSearcher
_options:
kommunekode: '101'
allowDetails: true
detailhandlers:
- _type: Septima.Search.OffentligeLinksProvider
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
dawaSearcher.addDetailHandlerDef(new Septima.Search.OffentligeLinksForAdresseMatrikel({more: true}))
import OffentligeLinksForAdresseMatrikel from './searchers/detailhandlers/OffentligeLinksForAdresseMatrikel.js'
dawaSearcher.addDetailHandlerDef(new OffentligeLinksForAdresseMatrikel({more: false}))
Extends Septima.Search.DetailsHandlerDef
Viser info for Vedtagne lokalplaner, byggefelter, delområder, kommuneplanrammer og regionplaner
Name | Type | Mandatory | Default value | Description |
fields | Object | | | Felter, der skal medtages i den viste info |
fields.lp | Array.<string> | | ["doklink","anvendelsegenerel","ianvreg", "plannr", "zone","izonereg","distrikt","datoforsl", "datovedt", "datoikraft","sforhold","iomfangreg","bebygpct","bebygpctaf","bebygpctar","eareal","earealh","m3_m2","m3_m2h","maxetager","maxmiljo","minmiljo","megawatt","iudstykreg","udsbefor","maxbygnhjd","minuds","abestem1","abestem2","bevarbest","kompleks","byggefelter_result", "delomraader_result"] | For lokalplaner |
fields.lpf | Array.<string> | | ["doklink","anvendelsegenerel","ianvreg", "plannr", "zone","izonereg","distrikt","datoforsl", "datovedt", "datoikraft","sforhold","iomfangreg","bebygpct","bebygpctaf","bebygpctar","eareal","earealh","m3_m2","m3_m2h","maxetager","maxmiljo","minmiljo","megawatt","iudstykreg","udsbefor","maxbygnhjd","minuds","abestem1","abestem2","bevarbest","kompleks","byggefelter_result", "delomraader_result"] | For lokalplaner |
fields.kpl | Array.<string> | | ["planid","plannavn","objektkode","komplan_id","anvendelsegenerel","fzone","zone", "plannr","distrikt", "anvspec", "sforhold", "notomranv","notanvgen","notbebygom", "notmiljo","notinfras", "notzone","notlokalp","notat","minuds","bebygpct","bebygpctaf","eareal","m3_m2","m3_m2h","maxbygnhjd","maxetager","bebygpctar","iomfangreg","iudstykreg","udstykforbud","datoforsl", "datovedt","datoaflyst","datoikraft","datostart","datoslut","saflysdato","datooprt","datoopdt","planstatus","komnr","doklink","minmiljo","maxmiljo","kommuneplan_anvendelse","kommuneplan_bebyggelse","kommuneplan_trafik_parkering","kommuneplan_zonebestemmelser","kommuneplan_miljoe","kommuneplan_andreforhold"] | For kommuneplanrammer |
fields.kpt | Array.<string> | | ["planid","plannavn","objektkode","komtil_id","anvendelsegenerel","fzone","zone", "plannr","distrikt", "anvspec", "sforhold", "notomranv","notanvgen","notbebygom", "notmiljo","notinfras", "notzone","notlokalp","notat","minuds","bebygpct","bebygpctaf","eareal","m3_m2","m3_m2h","maxbygnhjd","maxetager","bebygpctar","iomfangreg","iudstykreg","udstykforbud","datoforsl", "datovedt","datoaflyst","datoikraft","datostart","datoslut","saflysdato","datooprt","datoopdt","planstatus","komnr","doklink","minmiljo","maxmiljo","kommuneplan_anvendelse","kommuneplan_bebyggelse","kommuneplan_trafik_parkering","kommuneplan_zonebestemmelser","kommuneplan_miljoe","kommuneplan_andreforhold"] | For kommuneplantillæg |
fields.bf | Array.<string> | | ["delnr", "doklink", "planid", "lp_plannavn", "lp_plannr", "lokplan_id", "anvspec", "datoikraft", "datoforsl", "datovedt"] | For byggefelter |
fields.do | Array.<string> | | ["delnr", "planid", "lp_plannavn", "lp_plannr", "lokplan_id", "anvspec", "datoikraft", "datoforsl", "datovedt"] | For delområder |
fields.ko | Array.<string> | Yes | | = ["objekt_id", "cvrname", "bruger_id", "navn1201","vaerd1201a","vaerd1201b,"""staar1201","sluaar1201", "datoforsl", "datovedt", "datoikraft"]] For kloakoplande |
fields.kou | Array.<string> | | ["objekt_id", "cvrname", "bruger_id", "navn1201","vaerdi1206"] | For Mulighed for udtræden kloakoplande |
fields.zs | Array.<string> | | ["planid", "kommunenavn", "zonestatus"] | For zonestatus |
fields.knz | Array.<string> | | ["gml_id", "navn", "region","cpr_noegle"] | For kystnærhedszone |
fields.lzt | Array.<string> | | ["id", "planid", "komnr","kommunenavn","lztnavn","lztnr","datoikraft","datoudloeb","doklink","aktuel","aenanvbyg","aenanvarea","tekanlaeg","andet","planstatus","matrbetegn"] | For landzonetilladelse |
fields.tpk | Array.<string> | | ["id", "hovedstruk", "navn_gen","navn_spec","kode","kortbilag","dato_ret"] | For transportkorridor |
fields.rp | Array.<string> | | ["amt", "doklink"] | For regionplaner |
plansystemsearcher:
_type: Septima.Search.PlanSystemSearcher
_options:
minimumShowCount: 3
targets:
- vedtagetlokalplan
- kommuneplanramme
- kommuneplantillaeg
- regionplan
- byggefelt
- delområde
searchindexToken: septimaSEARCHDEMO-A7OLGHG2J4
detailhandlers:
- _type: "Septima.Search.PlanInfoProvider"
_options:
fields:
lp: [plannr', 'plannavn', 'anvendelsegenerel', 'doklink', 'anvspec', 'datovedt', 'datoforsl']
kpl: ['planid','plannavn','objektkode','komplan_id','anvendelsegenerel','fzone','zone', 'plannr','distrikt', 'anvspec', 'sforhold', 'notomranv','notanvgen','notbebygom', 'notmiljo','notinfras', 'notzone','notlokalp','notat','minuds','bebygpct','bebygpctaf','eareal','m3_m2','m3_m2h','maxbygnhjd','maxetager','bebygpctar','iomfangreg','iudstykreg','udstykforbud','datoforsl', 'datovedt','datoaflyst','datoikraft','datostart','datoslut','saflysdato','datooprt','datoopdt','planstatus','komnr','doklink','minmiljo','maxmiljo','kommuneplan_anvendelse','kommuneplan_bebyggelse','kommuneplan_trafik_parkering','kommuneplan_zonebestemmelser','kommuneplan_miljoe','kommuneplan_andreforhold']
kpt: ['planid','plannavn','objektkode','komtil_id','anvendelsegenerel','fzone','zone', 'plannr','distrikt', 'anvspec', 'sforhold', 'notomranv','notanvgen','notbebygom', 'notmiljo','notinfras', 'notzone','notlokalp','notat','minuds','bebygpct','bebygpctaf','eareal','m3_m2','m3_m2h','maxbygnhjd','maxetager','bebygpctar','iomfangreg','iudstykreg','udstykforbud','datoforsl', 'datovedt','datoaflyst','datoikraft','datostart','datoslut','saflysdato','datooprt','datoopdt','planstatus','komnr','doklink','minmiljo','maxmiljo','kommuneplan_anvendelse','kommuneplan_bebyggelse','kommuneplan_trafik_parkering','kommuneplan_zonebestemmelser','kommuneplan_miljoe','kommuneplan_andreforhold']
options = {
fields: {
lp: [plannr', 'plannavn', 'anvendelsegenerel', 'doklink', 'anvspec', 'datovedt', 'datoforsl']
kpl: ['planid','plannavn','objektkode','komplan_id','anvendelsegenerel','fzone','zone', 'plannr','distrikt', 'anvspec', 'sforhold', 'notomranv','notanvgen','notbebygom', 'notmiljo','notinfras', 'notzone','notlokalp','notat','minuds','bebygpct','bebygpctaf','eareal','m3_m2','m3_m2h','maxbygnhjd','maxetager','bebygpctar','iomfangreg','iudstykreg','udstykforbud','datoforsl', 'datovedt','datoaflyst','datoikraft','datostart','datoslut','saflysdato','datooprt','datoopdt','planstatus','komnr','doklink','minmiljo','maxmiljo','kommuneplan_anvendelse','kommuneplan_bebyggelse','kommuneplan_trafik_parkering','kommuneplan_zonebestemmelser','kommuneplan_miljoe','kommuneplan_andreforhold']
kpt: ['planid','plannavn','objektkode','komtil_id','anvendelsegenerel','fzone','zone', 'plannr','distrikt', 'anvspec', 'sforhold', 'notomranv','notanvgen','notbebygom', 'notmiljo','notinfras', 'notzone','notlokalp','notat','minuds','bebygpct','bebygpctaf','eareal','m3_m2','m3_m2h','maxbygnhjd','maxetager','bebygpctar','iomfangreg','iudstykreg','udstykforbud','datoforsl', 'datovedt','datoaflyst','datoikraft','datostart','datoslut','saflysdato','datooprt','datoopdt','planstatus','komnr','doklink','minmiljo','maxmiljo','kommuneplan_anvendelse','kommuneplan_bebyggelse','kommuneplan_trafik_parkering','kommuneplan_zonebestemmelser','kommuneplan_miljoe','kommuneplan_andreforhold']
}
};
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
planSystemSearcher.addDetailHandlerDef(new Septima.Search.PlanInfoProvider(options))
import PlanInfoProvider from './searchers/detailhandlers/PlanInfoProvider.js'
planSystemSearcher.addDetailHandlerDef(new PlanInfoProvider(options))
Extends Septima.Search.DetailsHandlerDef
Viser link til datacvr.virk.dk for cvr.produktionsenhed resultater
Name | Type | Mandatory | Default value | Description |
more | boolean | | true | |
_type: Septima.Search.CVR_enhedSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.RegnskaberForCvrNummerHandler
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
cvr_enhedSearcher.addDetailHandlerDef(new Septima.Search.RegnskaberForCvrNummerHandler({more: false}))
import CvrLinkHandler from './searchers/detailhandlers/CvrLinkHandler.js'
dawaSearcher.addDetailHandlerDef(new RegnskaberForCvrNummerHandler({more: false}))
Extends Septima.Search.DetailsHandlerDef
Shows extra fields from S4IndexSearcher (Columns from presentations of index datasources in Spatial Suite)
Name | Type | Mandatory | Default value | Description |
more | boolean | | true | |
_type: Septima.Search.S4IndexSearcher
_options:
host: "http://sps.test.septima.dk"
datasources: "*"
#allowDetails: true
detailhandlers:
- _type: Septima.Search.S4InfoHandler
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
s4Searcher.addDetailHandlerDef(new Septima.Search.S4InfoHandler())
import S4InfoHandler from './searchers/detailhandlers/S4InfoHandler.js'
s4Searcher.addDetailHandlerDef(new S4InfoHandler())
Extends Septima.Search.DetailsHandlerDef
Viser skråfotos fra SDFE
Name | Type | Mandatory | Default value | Description |
token | string | Yes | | Please contact Septima to obtain a valid token for skråfoto api usage |
dawa:
_type: Septima.Search.DawaSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.SkraafotoProvider
_options:
buttonText: Skraafotos
header: SDFE skråfotos
token: "mytoken"
options = {
token: mytoken
};
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
dawaSearcher.addDetailHandlerDef(new Septima.Search.SkraafotoProvider(options))
import SkraafotoProvider from './searchers/detailhandlers/SkraafotoProvider.js'
dawaSearcher.addDetailHandlerDef(new SkraafotoProvider(options))
Extends Septima.Search.DetailsHandlerDef
Decorates any result with examples of all types of details
Name | Type | Mandatory | Default value | Description |
_type: Septima.Search.CVR_enhedSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.DemoDetailsHandler
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
cvr_enhedSearcher.addDetailHandlerDef(new Septima.Search.DemoDetailsHandler())
import DemoDetailsHandler from './searchers/detailhandlers/DemoDetailsHandler.js'
dawaSearcher.addDetailHandlerDef(new DemoDetailsHandler())
Extends Septima.Search.DetailsHandlerDef
Viser link til jordforureningsattest på jordrapport.miljoeportal.dk for Dawa.adresse og Kortforsyningen.matrikelnumre resultater
Name | Type | Mandatory | Default value | Description |
more | boolean | | true | |
_type: Septima.Search.DawaSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.JordForureningsattestLinkHandler
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
dawaSearcher.addDetailHandlerDef(new Septima.Search.JordForureningsattestLinkHandler())
import JordForureningsattestLinkHandler from './searchers/detailhandlers/JordForureningsattestLinkHandler.js'
dawaSearcher.addDetailHandlerDef(new JordForureningsattestLinkHandler())
Viser de husnumre, der ligger på en vej
Name | Type | Mandatory | Default value | Description |
Viser ruten mellem et resultat og et andet resultat
Name | Type | Mandatory | Default value | Description |
Viser de tre nærmeste resulktater fra et S4Index
Name | Type | Mandatory | Default value | Description |
datasources | boolean | | "*" | |
Viser virksomheder med bestemt(e) branchekode(r) inden for en radius af en adresse
Name | Type | Mandatory | Default value | Description |
cvr_enhedSearcher | Object | Yes | | An instance of a Septima.Search.CVR_enhedSearcher |
codes | Object | Yes | | An array of cvr codes |
distance | object | Yes | | Radius |
Makes a geojson featurecollection searchable
Name | Type | Mandatory | Default value | Description |
data | object | Yes | | Array of features, or a function that returns a GeoJSON object, or a string URL returning a GeoJSON object |
searchProperties | Array.<string> | Yes | | Array of property names search in. If not added, all properties will be used |
displaynameProperty | string | Yes | | The name of the property in the GeoJSON object that should be used as displayname |
descriptionProperty | string | Yes | | The name of the property in the GeoJSON object that should be used as description |
useAND | boolean | Yes | | Use AND and not OR when multiple terms is added by the user. Default true |
singular | string | Yes | | Singular phrase, eg.: "feature" |
plural | string | Yes | | Plural phrase, eg.: "features" |
cacheTTL | int | | 60 | Applicable to urls and functions (see options.data) How long should data be cached in seconds(0->no cache) |
srid | string | | | Read geometry as in EPSG:srid projection (Else use projection from data) * @api |
<!-- Include septimaSearch -->
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
var schools = {
"type": "FeatureCollection",
"features": [{
"id": 1,
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [724837.68, 6175474.03]
},
"properties": {
"navn": "Den Classenske Legatskole",
"ogc_fid": 1,
"omraade": "Indre By",
"antalborn": "481",
"skoleledernavn": "Lone Reichstein Laursen",
"hjemmesideadresse": "http://www.dcl.kk.dk"
}
}, {
"id": 2,
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [725231.21, 6177008.34]
},
"properties": {
"navn": "Sølvgades Skole",
"ogc_fid": 2,
"omraade": "Indre By",
"antalborn": "452",
"skoleledernavn": "Ulla-Britt Sabroe",
"hjemmesideadresse": "http://www.soel.kk.dk"
}
}, {
"id": 3,
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [725396.37, 6177471.75]
},
"properties": {
"navn": "Nyboder Skole",
"ogc_fid": 3,
"omraade": "Indre By",
"antalborn": "550",
"skoleledernavn": "Anders Mikkelsen",
"hjemmesideadresse": "http://www.nyboderskole.kk.dk"
}
}, {
"id": 4,
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [724839.83, 6177665.12]
},
"properties": {
"navn": "Øster Farimagsgades Skole",
"ogc_fid": 4,
"omraade": "Indre By",
"antalborn": "606",
"skoleledernavn": "Axel Bech",
"hjemmesideadresse": "http://www.oef.kk.dk"
}
}]
}
var searchableGeoJSOn = new Septima.Search.SearchableGeoJson({
singular: "School",
plural: "Schools",
data: schools,
searchProperties: ["navn", "omraade"],
displaynameProperty: "navn",
descriptionProperty: "omraade",
idProperty: "ogc_fid"
})
var schoolSearcher = new Septima.Search.DataSearcher({
searchableData: searchableGeoJSOn
})
controller.addSearcher (schoolSearcher)
Extends Septima.Search.Searcher
CVR-søgning mod DataApi-postgrest
Name | Type | Mandatory | Default value | Description |
fetcher | Object | Yes | | Septima.Search.DataApi.Fetcher instance |
er_aktiv | boolean | | true | Hvilke skal medtages? Muligheder true, false, "*" |
kommunekode | string | | '*' | "*" Search all municipalities (Default)</br>Search specific municipalities eg. "0101" or "0101 0256" |
hovedafdelingkode | string | | '*' | CVR hovedafdelingkode. Codes from bottom in hierarchy are used. If branchekode is present and not "*" it is used even if hovedafdelingkode is present (https://www.dst.dk/da/Statistik/dokumentation/nomenklaturer/db07) |
hovedgruppekode | string | | '*' | CVR hovedgruppekode |
gruppekode | string | | '*' | CVR gruppekode |
undergruppekode | string | | '*' | CVR undergruppekode |
branchekode | string | | '*' | CVR branchekode |
cvrnummer | string | | '*' | CVR numre f.eks.: '26259495 34900841' (bliver kun brugt i søgning på p-enheder) |
goal | string | | "*" | virksomhed, produktionsenhed, * What to search for |
_type: Septima.Search.DataApi.CvrSearcher
_options:
fetcher:
_type: Septima.Search.DataApi.Fetcher
_options:
token: tttttttttttttt
token: tttttttttttttt
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
var redataFetcher = new Septima.Search.DataApi.Fetcher({
token: "...."
})
var cvrSearcher = new Septima.Search.DataAPi.CvrSearcher({
fetcher: redataFetcher,
goal: "*",
kommunekode: "0101"
});
controller.addSearcher(cvrSearcher);
Extends Septima.Search.DetailsHandlerDef
Viser info for cvr.produktionsenhed eller cvr.virksomhed resultater
Name | Type | Mandatory | Default value | Description |
fields_produktionsenhed | Array.<String> | | ["pnummer","navn", "adresse", "adresse_result", "email", "tlf", "branchekode", "cvrlink","virksomhed_navn", "virksomhed_result", "virksomhed_cvrlink", "virksomhed_enhedsliste","hovedafdelingkode", "hovedgruppekode", "gruppekode", "undergruppekode", "antalansatte"] | |
fields_virksomhed | Array.<String> | | ["cvrnummer", "navn", "virksomhedstype", "formaal", "virkningsdato", "adresse", "adresse_result", "email", "tlf", "hovedbranche", "hovedafdelingkode", "hovedgruppekode", "gruppekode", "undergruppekode", "branchekode", "antalansatte","virksomhed_cvrlink", "enhedsliste"] | |
virksomhed_enhedsliste_komnumre | Array.<String> | | | Kommunenumre i hvilke produktionsenheder for cvr-nummer skal fremsøges. Mellemrums-separereret (157 101) |
_type: Septima.Search.DataApi.CvrSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.DataApi.CvrInfoProvider
_options:
fields_virksomhed: ["cvrnummer", "navn", "virksomhedstype", "formaal", "virkningsdato", "adresse", "adresse_result", "email", "tlf", "hovedbranche", "hovedafdelingkode", "hovedgruppekode", "gruppekode", "undergruppekode", "branchekode", "antalansatte","virksomhed_cvrlink", "enhedsliste"]
fields_produktionsenhed: ["pnummer","navn", "adresse", "adresse_result", "email", "tlf", "branchekode", "cvrlink","virksomhed_navn", "virksomhed_result", "virksomhed_cvrlink", "virksomhed_enhedsliste","hovedafdelingkode", "hovedgruppekode", "gruppekode", "undergruppekode", "antalansatte"]
virksomhed_enhedsliste_komnumre: 101 147
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
cvr_enhedSearcher.addDetailHandlerDef(new Septima.Search.CvrInfoProvider({more: false}))
import CvrLinkHandler from './searchers/detailhandlers/CvrInfoProvider.js'
dawaSearcher.addDetailHandlerDef(new CvrInfoProvider({more: false}))
Extends Septima.Search.DetailsHandlerDef
Viser CVR-registreringer for et husnummer
Name | Type | Mandatory | Default value | Description |
searcher | Object | Yes | | Septima.Search.DataApi.CvrSearcher instance |
er_aktiv | Object | Yes | | aktive/inaktive eller begge typer |
_type: Septima.Search.DataApi.CvrRegistreringerForHusnummer
_options:
searcher:
_type: Septima.Search.DataApi.CvrSearcher
_options:
er_aktiv:
- false
- true
fetcher:
_type: Septima.Search.DataApi.Fetcher
_options:
token: tttttttttttttt
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
var DataApiFetcher = new Septima.Search.DataApi.Fetcher({
token: "...."
})
var cvrSearcher = new Septima.Search.DataApi.CvrSearcher({
fetcher: DataApiFetcher,
goal: "*",
kommunekode: "0101",
er_aktiv: [true,false]
});
var dawaSearcher = new Septima.Search.DawaSearcher({
minimumShowCount: 3,
kommunekode: kommunekode
});
dawaSearcher.addDetailHandlerDef(new Septima.Search.DataApi.CvrRegistreringerForHusnummer({cvrSearcher: cvrSearcher}))
Forbinder til septima data-api / PostGrest
Name | Type | Mandatory | Default value | Description |
token | string | Yes | | token til data-api |
er_aktiv | Array | Yes | | skal medtage aktive ell er inaktive eller begge |
endpoint | string | | https://data-api.septima.dk | |
_type: Septima.Search.DataApi.Fetcher
_options:
token: tttttttttttttt
er_aktiv:
- false
- true
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
var fetcher = new Septima.Search.DataApi.Fetcher({token: "......"})
Extends Septima.Search.Searcher
Søger bbr-sager datafordeleren.bbr
Name | Type | Mandatory | Default value | Description |
fetcher | Object | Yes | | Septima.Search.Datafordeler.Fetcher instance |
geosearcher | Object | Yes | | Septima.Search.GeoSearcher instance |
_type: Septima.Search.Datafordeler.BbrSagSearcher
_options:
fetcher:
_type: Septima.Search.Datafordeler.Fetcher
_options:
...
Extends Septima.Search.Searcher
Søger bygninger i datafordeleren.bbr
Name | Type | Mandatory | Default value | Description |
fetcher | string | Yes | | |
kommunekode | string | | '*' | "*" Search all municipalities (Default)</br>Search specific municipalities eg. "101" or "101 |
_type: Septima.Search.Datafordeler.EjendomsSearcher
_options:
fetcher:
_type: Septima.Search.Datafordeler.Fetcher
_options:
...
Extends Septima.Search.Searcher
Søger bbr-enheder i datafordeleren.bbr
Name | Type | Mandatory | Default value | Description |
fetcher | Object | Yes | | Septima.Search.Datafordeler.Fetcher instance |
_type: Septima.Search.Datafordeler.EnhedsSearcher
_options:
fetcher:
_type: Septima.Search.Datafordeler.Fetcher
_options:
...
Extends Septima.Search.Searcher
Søger bygninger i datafordeleren.bbr
Name | Type | Mandatory | Default value | Description |
fetcher | Object | Yes | | datafordeler.Fetcher |
_type: Septima.Search.Datafordeler.BygningsSearcher
_options:
fetcher:
_type: Septima.Search.Datafordeler.Fetcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
Viser BbrEnhedInfo for ejerlejlighed(daf.ejl), husnummer/adresse og bbr enhed (daf.bbr_enhed)
Name | Type | Mandatory | Default value | Description |
fetcher | Object | | | Septima.Search.Datafordeler.Fetcher |
bbrSearcher | Object | | | Septima.Search.Datafordeler.BbrSearcher |
ejendomsSearcher | Object | | | Septima.Search.Datafordeler.EjendomsSearcher |
_type: Septima.Search.Datafordeler.BbrEnhedInfo
_options:
fetcher:
_type: Septima.Search.Datafordeler.Fetcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
Viser boliger for et husnummer
Name | Type | Mandatory | Default value | Description |
buttonText | Object | | Boliger på husnummeret | Titel |
fetcher | Object | Yes | | Septima.Search.Datafordeler.Fetcher instance |
_type: Septima.Search.Datafordeler.BoligerForHusnummerProvider
_options:
fetcher:
_type: Septima.Search.Datafordeler.Fetcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
Viser bygninger på jordstykke og husnummer/adresse
Name | Type | Mandatory | Default value | Description |
buttonText | Object | | Bygninger | Titel |
searcher | Object | Yes | | Septima.Search.Datafordeler.BbrSearcher |
_type: datafordeler.Bygninger
_options:
bygningssearcher:
_type: Septima.Search.Datafordeler.BygningsSearcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
Viser ejendom for jordstykke og husnummer/adresse
Name | Type | Mandatory | Default value | Description |
_type: Septima.Search.Datafordeler.EjendomForJordstykkeDawa
_options:
searcher:
_type: Septima.Search.Datafordeler.EjendomsSearcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
Viser info for ejendom
Name | Type | Mandatory | Default value | Description |
sections | Array.<String> | | ["bfe_beskrivelse", "bfe_ejere", "bfe_vurdering", "bfe_forsyning", "bfe_bygninger", "bfe_boliger_virksomheder", "sfe_arealer", "ejl_hovedejendom", "energimaerke", "bfg_gremmedgrund","sfe_bfg"] | |
exclude | Array.<String> | | [] | |
dataApiFetcher | Array.<String> | | | |
ejerAnon | Array.<String> | | false | |
showHistory | Array.<String> | | false | |
showBeskyttelse | Array.<String> | | false | |
dawaSearcher | Array.<String> | | | |
bygningsSearcher | Array.<String> | | | |
_type: Septima.Search.Datafordeler.EjendomsInfoProvider
Extends Septima.Search.DetailsHandlerDef
Viser husnumre for et jordstykke
Name | Type | Mandatory | Default value | Description |
fetcher | Object | Yes | | Septima.Search.Datafordeler.Fetcher instance |
_type: Septima.Search.Datafordeler.HusnumreForJordstykke
_options:
fetcher:
_type: Septima.Search.Datafordeler.Fetcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
Viser jordstykker for en ejendom
Name | Type | Mandatory | Default value | Description |
geosearcher | Object | Yes | | Septima.Search.GeoSearch |
_type: Septima.Search.Datafordeler.HusnumreForJordstykke
_options:
fetcher:
_type: Septima.Search.Datafordeler.Fetcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
Viser offentlige links for en ejendom
Name | Type | Mandatory | Default value | Description |
links | Object | | ["jfa","bbrmeddelelse","bbrejendom","boligejer.dk","vurdering","bbkort","ois", "skraafoto_dataforsyningen"] | Hvilke links skal vises. |
Muligheder: "jfa","bbrmeddelelse","bbrejendom","boligejer.dk","vurdering","bbkort","ois", "geokoder", "retbbr", "skraafoto_dataforsyningen", "sdfekort", "plankort" | | | | |
_type: Septima.Search.Datafordeler.OffentligeLinks
Extends Septima.Search.DetailsHandlerDef
Viser sagsoplysninger for jordstykker
Name | Type | Mandatory | Default value | Description |
fetcher | Object | Yes | | Septima.Search.Datafordeler.Fetcher instance |
_type: Septima.Search.Datafordeler.SagsoplysningerForJordstykkeProvider
Extends Septima.Search.DetailsHandlerDef
Viser vurderingsinfo for ejendom
Name | Type | Mandatory | Default value | Description |
showVurderingForSamvurdering | Object | | false | Vis vurdering selvom ejendommen er samvurderet |
showSamvurderedeEjendomme | Object | | false | Vis de samvurderede ejendomme |
_type: datafordeler.VurderingsHandler
_options:
showVurderingForSamvurdering: true
showSamvurderedeEjendomme: true
Extends Septima.Search.DetailsHandlerDef
Viser diverse arealer for et jordstykke
Name | Type | Mandatory | Default value | Description |
buttonText | Object | | Arealer | Titel |
fetcher | Object | Yes | | datafordeler.Fetcher instance |
_type: datafordeler.ArealerForJordstykkeProvider
_options:
fetcher:
_type: datafordeler.Fetcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
Viser bygninger på samlet fast ejendom (daf.sfe)
Name | Type | Mandatory | Default value | Description |
buttonText | Object | | Bygninger | Titel |
bygningssearcher | Object | Yes | | datafordeler.bygningssearcher |
_type: datafordeler.BygningerForEjendom
_options:
bygningssearcher:
_type: datafordeler.BygningsSearcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
Viser bygninger på jordstykke og husnummer/adresse
Name | Type | Mandatory | Default value | Description |
buttonText | Object | | Bygninger | Titel |
bygningssearcher | Object | Yes | | datafordeler.bygningssearcher |
_type: datafordeler.BygningerForHusnummerJordstykke
_options:
bygningssearcher:
_type: datafordeler.BygningsSearcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
Viser info for geoFA objekter
Name | Type | Mandatory | Default value | Description |
fields | Object | | | Felter, der skal medtages i den viste info |
fields | Array.<string> | | ["temanavn","cvr_navn","cvr_kode","cvrlink","starttrin","slutttrin","statuskode"] | For skoledistrikter. BEMÆRK slutttrin har et t for meget |
plansystemsearcher:
_type: Septima.Search.geoFa.T5710InfoProvider
_options:
targets:
- t_5710_born_skole_dis_t
detailhandlers:
- _type: "Septima.Search.geoFa.T5710InfoProvider"
_options:
fields: ["temanavn","cvr_navn","cvr_kode","cvrlink","starttrin","slutttrin","statuskode"]
options = {
fields: [temanavn','udd_distrikt_navn','cvr_navn','cvr_kode','starttrin','slutttrin','statuskode']
}
};
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
planSystemSearcher.addDetailHandlerDef(new Septima.Search.T5710InfoProvider(options))
import T5710InfoProvider from './searchers/geoFa/detailhandlers/T5710InfoProvider.js'
planSystemSearcher.addDetailHandlerDef(new T5710InfoProvider(options))
Extends Septima.Search.Searcher
BETA BETA Søger features i geoserver BETA BETA
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 |
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"}
BETA BEATA Represents a geoserver wfs BETA BETA
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 |
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"}
Extends Septima.Search.Searcher
person_soeg_virksomhedsfokus til Redata
Name | Type | Mandatory | Default value | Description |
fetcher | Object | Yes | | Septima.Search.Redata.Fetcher instance |
_type: Septima.Search.Redata.PersonSearcher
_options:
fetcher:
_type: Septima.Search.Redata.Fetcher
_options:
token: tttttttttttttt
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
var fetcher = new Septima.Search.Redata.Fetcher({token: "......"})
var personSearcher = new Septima.Search.Redata.PersonSearcher({
fetcher: fetcher
});
controller.addSearcher(personSearcher);
Septima.Search.Redata
Extends Septima.Search.DetailsHandlerDef
Viser tagflader for ejendom og bygning
Name | Type | Mandatory | Default value | Description |
_type: Septima.Search.Solpotentiale.TagFlader
_options:
bygningssearcher:
_type: Septima.Search.Datafordeler.BygningsSearcher
_options:
...
Extends Septima.Search.DetailsHandlerDef
ForbrugsHandler til Cognito
Name | Type | Mandatory | Default value | Description |
buttonText | Object | | Energiforbrug | Titel |
fetcher | Object | Yes | | cognito.Fetcher instance |
_type: cognito.DawaSearcher
_options:
...
detailhandlers:
- _type: cognito.ForbrugsHandler
Extends Septima.Search.DetailsHandlerDef
TinglysningsHandler til Cognito
Name | Type | Mandatory | Default value | Description |
buttonText | Object | | Energiforbrug | Titel |
fetcher | Object | Yes | | cognito.Fetcher instance |
_type: datafordeler.EjendomsSearcher
_options:
...
...
detailhandlers:
- _type: cognito.TinglysningsHandler
Forbinder til Cognito
Name | Type | Mandatory | Default value | Description |
db | Object | Yes | | databaseinformation |
db.server | string | Yes | | host navn, database server |
db.user | string | Yes | | brugernavn |
db.password | string | Yes | | passord |
db.oisdatabase | string | Yes | | ois databasenavn |
db.tlydatabase | string | Yes | | tly databasenavn |
_type: cognito.Fetcher
_options:
db:
user: 'uuu'
password: 'ppp'
server: 'sss'
oisdatabase: 'OisData_0710'
tlydatabase: 'TLYData_0710'
Searchere | |
date.Searcher | Returns a septima.search date on exact match |
Extends Septima.Search.Searcher
Returns a septima.search date on exact match
Name | Type | Mandatory | Default value | Description |
presentationFormat | string | | "YYYY-MM-DD" | e.g. "D/M-YYYY" |
parseFormats | Array.<string> | | locale specific | e.g. ["D/M-YYYY"] |
parseFormat | string | | locale specific | e.g. "D/M-YYYY" |
todayString | string | | locale specific | e.g. "Today" |
iconURI | string | | | e.g. Url of icon |
todayInTitle | boolean | | false | Show todayString in title if result is current data |
{
_type: "date.DateSearcher"
},
import DateSearcher from './searchers/DateSearcher.js'
controller.addSearcher(new DateSearcher())
Detailhandlere | |
filarkiv.filarkivforProvider | Viser søgelink til JO FilArkivet for for Dawa.adresse og Kortforsyningen.matrikelnumre resultater |
Extends Septima.Search.DetailsHandlerDef
Viser søgelink til JO FilArkivet for for Dawa.adresse og Kortforsyningen.matrikelnumre resultater
Name | Type | Mandatory | Default value | Description |
more | boolean | | true | |
kommunenavn | string | Yes | | kommunenavn som aftalt med JO |
usePublicSite | string | Yes | | will use https://public.filarkiv.dk/ |
showList: | string | Yes | | true PublicSite will use https://public.filarkiv.dk/ |
_type: Septima.Search.DawaSearcher
_options:
kommunekode: '101'
detailhandlers:
- _type: Septima.Search.FilarkivLinkForAdresseMatrikelHandler
_options:
kommunenavn: Horsens
usePublicSite: false,
showList: false,
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
dawaSearcher.addDetailHandlerDef(new Septima.Search.FilarkivLinkForAdresseMatrikelHandler({kommunenavn: "Horsens"}))
import FilarkivLinkForAdresseMatrikelHandler from './searchers/detailhandlers/FilarkivLinkForAdresseMatrikelHandler.js'
dawaSearcher.addDetailHandlerDef(new FilarkivLinkForAdresseMatrikelHandler({kommunenavn: "Horsens"}))
Extends Septima.Search.Searcher
dd
Name | Type | Mandatory | Default value | Description |
kortinfosearcher:
_type: Septima.Search.KortInfoSearcher
_options:
host: https://kortinfotest.hofor.dk/Feature.aspx?Site=HOFOR&Page=HOFOR_DK_Generelt&UserName=hofor_dk&Password=XX&LoginType=KortInfo
minimumShowCount: 3
targets:
- layer: TL22220
singular: Ledning
plural: Ledninger
featuretype: TL22220
UID: ID
title: ID
description: EJERNAVN
- layer: TL22218
singular: Projekt
plural: Projekter
featuretype: TL22218
UID: AD_ID_KOMBINERET
title: Projektnavn
description: Projektnavn
detailhandlers:
- _type: Septima.Search.KortInfoProvider
_options:
fields:
TL22220:
- name: MATERIALE
displayname: Materiale
- name: TRYKTYPE
displayname: Tryktype
- name: STATUS
displayname: Status
TL22218:
- name: "Projektnr."
displayname: Projektnr
- name: "Status"
displayname: "STATUS"
options = {
};
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
controller.addSearcher(new Septima.Search.KortInfoSearcher(options))
import KortInfoSearcher from './searchers/KortInfoSearcher.js'
controller.addSearcher(new KortInfoSearcher(options))
Extends Septima.Search.DetailsHandlerDef
Viser info for Kortinfo objekter
Name | Type | Mandatory | Default value | Description |
fields | Object | | | Felter, der skal medtages i den viste info |
fields.t_5710_born_skole_dis_t | Array.<string> | | ["temanavn","cvr_navn","cvr_kode","starttrin","slutttrin"] | |
kortinfosearcher:
_type: Septima.Search.KortInfoSearcher
_options:
host: https://kortinfotest.hofor.dk/Feature.aspx?Site=HOFOR&Page=HOFOR_DK_Generelt&UserName=hofor_dk&Password=XX&LoginType=KortInfo
minimumShowCount: 3
targets:
- layer: TL22220
singular: Ledning
plural: Ledninger
featuretype: TL22220
UID: ID
title: ID
description: EJERNAVN
- layer: TL22218
singular: Projekt
plural: Projekter
featuretype: TL22218
UID: AD_ID_KOMBINERET
title: Projektnavn
description: Projektnavn
detailhandlers:
- _type: Septima.Search.KortInfoProvider
_options:
fields:
TL22220:
- name: MATERIALE
displayname: Materiale
- name: TRYKTYPE
displayname: Tryktype
- name: STATUS
displayname: Status
TL22218:
- name: "Projektnr."
displayname: Projektnr
- name: "Status"
displayname: "STATUS"
options = {
fields: {
t_5710_born_skole_dis_t: [temanavn','udd_distrikt_navn','cvr_navn','cvr_kode','starttrin','slutttrin']
}
};
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
planSearcher.addDetailHandlerDef(new Septima.Search.KortInfofoProvider(options))
import KortInfofoProvider from './searchers/detailhandlers/KortInfofoProvider.js'
planSearcher.addDetailHandlerDef(new KortInfofoProvider(options))
Deprecated - use Septima.Search.Details
Name | Type | Mandatory | Default value | Description |
Detailhandlere | |
s3.SqDetailsHandler | [Experimental] Implementerer SqDetailsHandler med et filter, der eksekveres til sidst for at filtrere uønskede geomtrier fra |
Extends Septima.Search.DetailsHandlerDef
[Experimental] Implementerer SqDetailsHandler med et filter, der eksekveres til sidst for at filtrere uønskede geomtrier fra
Name | Type | Mandatory | Default value | Description |
polygonIntersectsBuffer | Object | | 0 | Buffer in m to apply to check geometry when filtering for overlap after sq |
queryGeometryBuffer | Object | | 0 | Buffer in m to apply to queryGeometry before sq |
_type: s3.SqDetailsHandler
_options:
buttonText: Planer
noResultsListItem:
type: labelvalue
label: Der er ikke fundet nogen adresser
Extends Septima.Search.DetailsHandlerDef
Tinglysnings oplysninger for bfe-nummer
Name | Type | Mandatory | Default value | Description |
buttonText | string | | Tingbog | Titel |
doksAsList | boolean | | false | Skal dokumenterne (attest og akt) vises som liste? |
tinglysningDkFetcher | Object | Yes | | tinglysning.TinglysningDkFetcher instance |
geoPartnerFetcher | Object | | | tinglysning.GeoPartnerFetcher instance Hvis angivet så vises servitutområder, samt links til attest og akt |
ejendomssearcher:
_ref: $.datafordeler.ejendomssearcher
detailhandlers:
- _ref: $.tinglysning.tinglysningerForBfe
# Section, som definerer tinglysnings klasser
tinglysning:
tinglysningerForBfe:
_type: tinglysning.TinglysningerForBfe
_options:
doksAsList: true
tinglysningDkFetcher:
_ref: "$.tinglysning.tinglysningDkFetcher"
# geoPartnerFetcher (optionel)
geoPartnerFetcher:
_ref: "$.tinglysning.geoPartnerFetcher"
tinglysningDkFetcher:
_type: tinglysning.TinglysningDkFetcher
_options:
passphrase: xxx
certificateDir:
_ref: $.env.configDir
certificateFilename: "SEPTIMA PS - Domstolsstyrelsen.p12"
geoPartnerFetcher:
_type: tinglysning.GeoPartnerFetcher
_options:
userName: xxx
passWord: xxx
method: byDokIds # byDokIds (default), byGeometry, byDokIdsAndGeometry (only use this for dev and debug)
geoPartnerSearcher:
_type: tinglysning.GeoPartnerSearcher
_options:
fetcher:
_ref: $.tinglysning.geoPartnerFetcher
Henter servitut- og dokumentinformation fra GeoPartner. Kræver aftale med GeoPartner
Name | Type | Mandatory | Default value | Description |
userName | string | Yes | | Brugernavn oplyst af GeoPartner |
passWord | string | Yes | | Passord oplyst af GeoPartner |
# Section, som definerer tinglysnings klasser
tinglysning:
geoPartnerFetcher:
_type: tinglysning.GeoPartnerFetcher
_options:
userName: xxx
passWord: xxx
Viser servitut-information fra GeoPartner. Kræver aftale med GeoPartner
Name | Type | Mandatory | Default value | Description |
fetcher | Object | Yes | | tinglysning.GeoPartnerFetcher instans |
controller:
_type: Septima.Search.Controller
searchers:
- _ref: $.tinglysning.geoPartnerSearcher
# Section, som definerer tinglysnings klasser
tinglysning:
geoPartnerSearcher:
_type: tinglysning.GeoPartnerSearcher
_options:
fetcher:
_ref: $.tinglysning.geoPartnerFetcher
Henter info fra domstolsstyrelsen (www.tinglysning.dk). Certifikatet bruges kun til id så et almindeligt virksomhedscertifikat er fint
Name | Type | Mandatory | Default value | Description |
certificateDir | string | | | |
certificateDir | string | | | |
certificateFullPath | Object | | | |
passphrase | Object | Yes | | certifikatets passphrase |
# Section, som definerer tinglysnings klasser
tinglysning:
tinglysningDkFetcher:
_type: tinglysning.TinglysningDkFetcher
_options:
passphrase: xxx
certificateDir:
_ref: $.env.configDir
certificateFilename: "SEPTIMA PS - Domstolsstyrelsen.p12"