Skip to content

Dutch view

Dutch view is a view plugin for GeoNetwork Enterprise. A view generally consists of a number of overrides for templates (html), styles (less) and scripts (js).

Features:

  • Design slightly follows dutch rijkshuisstijl
  • Introduces PDOK background layers as map backgrounds
  • Introduces PDOK locationserver as gazetteer

To install the plugin, follow the generic installation instructions for view plugins.

Select the view

In order to use the Dutch view you first have to go to AdminSettingsUser interface configuration.

Note

Start typing interface in the filter settings

Change the view to dutch (lowercase).

image

image

Configure the view

To configure the view, go to AdminSettingsUser Interface. Click the button Create a default UI configuration, to create a default user interface configuration.

image

Once created select the option All current configuration to display all the user interface options:

image

In the following sections are described the options to configure use the Dutch view. Once the changes are applied, click the button Save settings.

image

Application layout

To use a fixed width layout for the application:

  1. In the Top toolbar section, disable the option Fluid container for Header and Top menu.
  2. In the Home page section, disable the option Fluid container for Home and Search

Search results layout

To display the search results with the proper layout, in the Search application section find the option Default template used for search results and set the value to ../../catalog/views/dutch/templates/list.html.

image

Adding facets on top of the search results

To add facets-display, navigate to AdminSettingsUser InterfaceDisplay filter tags in the search results and select the corresponding option.

Map configuration

To use a Dutch map and Dutch coordinates, in the section Map application follow these steps:

  1. In Viewer Map Configuration, Search Map Configuration and Editor Maps Configuration set Path to the context file (XML) to ../../catalog/views/dutch/config-nl-viewer.xml.

    image

  2. In Map projection and List of map projections to display bounding box coordinates in add EPSG:28992:

    image

  3. In Projections to display maps into add the EPSG:28992 configuration:

    Definition:

    +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725 +units=m +no_defs
    
    Default extension: -285401, 22598, 595401, 903401
    Maximum extension: -2, 49, 12, 55
    

    image

Dutch search terms

To search using a Dutch gazetteer, set the thesaurus used by the location-search (homepage), download file from Nationaal Georegister and upload it in AdminClassificationFrom local file. It replaces the default regions thesaurus.

image

Add Dump Fields

Dutch schema's use a number of extra lucene fields, which need to be configured to be included as part of a search result. Open /web-inf/config-lucene.xml and add within the section the following xml

<!-- extra dump fields for dutch view -->
<field name="license" tagName="license"/>
<field name="licenseLink" tagName="licenseLink"/>
<field name="payment" tagName="payment"/>
<field name="protocol" tagName="protocol"/>
<field name="specificationTitle" tagName="specificationTitle"/>
<field name="specificationDate" tagName="specificationDate"/>
<field name="specificationExplanation" tagName="specificationExplanation"/>
<field name="degree" tagName="degree"/>
<field name="conditionApplyingToAccessAndUse" tagName="conditionApplyingToAccessAndUse"/>
<field name="useLimitation" tagName="useLimitation"/>
<field name="standardVersion" tagName="standardVersion"/>
<field name="_national" tagName="national"/>

Export/Import settings

If you want to export your current settings locally (for archiving or port to another instance), go to the end of the page JSON Configuration, copy the JSON and paste it in a text editor and save the file.

image