/geonetwork-dutch-skin

Dutch styles GeoNetwork

Primary LanguageCSS

A custom view for GeoNetwork: 'Dutch Government Skin'

This project contains a skin for the GeoNetwork Opensource project at https://github.com/geonetwork. A skin generally consists of a number of overrides for templates (html), styles (less) and scripts (js). The skin can be added to a GeoNetwork core sources as a git submodule or as a zipfile to a pre-build war.

Features:

  • Design slightly follows dutch rijkshuisstijl
  • RD-new projection is made available
  • PDOK background layers as map backgrounds
  • PDOK locationserver as gazeteer

This work has been started by Kadaster Netherlands and is further maintained by the GeoNetwork Usergroup Netherlands. If you find any issues, use the github issue tracker here https://github.com/osgeonl/geonetwork-dutch-skin/issues.

A preconfigured skin is available as docker image at https://hub.docker.com/r/geocat/geonetwork-nl/

The license of the project is GPLv2.

Installation instructions

If at build time (mvn install)

  • Initialise the skin as a git submodule in /web-ui/src/main/resources/catalog/views

git submodule add https://github.com/osgeonl/geonetwork-dutch-skin.git web-ui/src/main/resources/catalog/views/dutch 3.4.x git submodule init

If at run time (war)

Then

Some additional settings on the main project

  • In /catalog/js/gnLocale.js, reference the skin language override file /catalog/views/dutch/locales/nl-core.json (line 90)

options.locales.push('/../../catalog/views/dutch/locales/{{lang}}-core.json');

Finally

  • (re)start the service
  • Verify the view by browsing to catalog.search?view=dutch.
  • If ok, then alter the setting "view" to "dutch" in admin > settings